Notice: This is a work in progress. Please submit feedback or suggestions.

Test: aria-errormessage attribute with aria-invalid="true"

Current support: no known support

Tests the aria-errormessage attribute with aria-invalid="true". The error message must be conveyed.

Run this test and and submit your results

On this page

Test HTML

open the test page in a new tab
<!DOCTYPE html>
<html lang="en">
<head>
    <title>aria-errormessage examples</title>
</head>
<body>
<h1>aria-errormessage Examples</h1>

<!-- Initial valid state -->
<label for="invalid-false">Input with aria-invalid="false"</label>
<input id="invalid-false" type="text" aria-errormessage="invalid-false-msg" value="" aria-invalid="false">
<div id="invalid-false-msg" style="visibility:hidden">example error text</div>

<!-- User has input an invalid value -->
<label for="invalid-true">Input with aria-invalid="true"</label>
<input id="invalid-true" type="text" aria-errormessage="invalid-true-msg" aria-invalid="true" value="" >
<div id="invalid-true-msg">example error text</div>

</body>
</html>

Support tables

Expectations are conditions that must be met for the feature to be considered as "supported". Only "MUST" expectations need to be met for minimal "support". "SHOULD" and "MAY" expectations indicates support that goes above and beyond. Note that there is not an explicit standard that dictates these expectations, and as such, they are likely opinionated. As such, a feature might not meet all "MUST" expectations but still be usable (potentially frustratingly so). Additionally, the assistive technology may provide many different commands to read, navigate, or otherwise interact with a feature. Only one command is required to pass for the expectation to be minimally supported.

Summary of support by expectation type

MUSTSHOULDMAY
no known support

Summary of support by expectation and assistive technology

ExpectationDragon Naturally SpeakingJAWSNarratorNVDATalkBackVoiceOver for iOSVoiceOver for macOS
aria-errormessage attribute
MUST convey the accessible name of the referenced ID(s)not applicablenonenonenoneunknownnonenone

* means that some support is hidden behind settings

Detailed support results by expectation

aria-errormessage attribute: The screen reader MUST convey the accessible name of the referenced ID(s)

Grading method: Just one of the listed commands must pass for the expectation to pass.

This expectation is from the aria-errormessage attribute feature.

ATBrowserHas SupportOutputAction
Dragon Naturally SpeakingGoogle Chromenot applicable-More information
JAWSGoogle Chromenone
  • Result: (fail)
    • command: Tab (Read next focusable item)
    • Output: (error message not conveyed)
More information
JAWSInternet Explorernone
  • Result: (fail)
    • command: Tab (Read next focusable item)
    • Output: (error message not conveyed)
More information
JAWSFirefox (desktop)none
  • Result: (fail)
    • command: Tab (Read next focusable item)
    • Output: (error message not conveyed)
More information
NarratorMicrosoft Edgenone
  • Result: (fail)
    • command: Tab (Read next focusable item)
    • Output: (error message not conveyed)
More information
NVDAGoogle Chromenone
  • Result: (fail)
    • command: Tab (Read next focusable item)
    • Output: (error message not conveyed)
More information
NVDAFirefox (desktop)none
  • Result: (fail)
    • command: Tab (Read next focusable item)
    • Output: (error message not conveyed)
More information
TalkBackGoogle Chrome (android)unknown-More information
VoiceOver for iOSSafari (iOS)none
  • Result: (fail)
    • command: Swipe Right (Next item)
    • Output: (error message not conveyed)
More information
VoiceOver for macOSSafari (macOS)none
  • Result: (fail)
    • command: Tab (Read next focusable item)
    • Output: (error message not conveyed)
More information

Extended Support for: aria-errormessage attribute: The screen reader MUST convey the accessible name of the referenced ID(s)

These are less common combinations

ATBrowserHas SupportOutputAction
Dragon Naturally SpeakingInternet Explorernot applicable-More information
Dragon Naturally SpeakingFirefox (desktop)not applicable-More information
JAWS 2018.1811.2Microsoft Edge 44none
  • Result: (fail)
    • command: Tab (Read next focusable item)
    • Output: (error message not conveyed)
More information
NarratorFirefox (desktop)unknown-More information
NarratorGoogle Chromeunknown-More information
NarratorInternet Explorerunknown-More information
NVDA 2019.0.1Internet Explorer 11none
  • Result: (fail)
    • command: Tab (Read next focusable item)
    • Output: (error message not conveyed)
More information
NVDA 2019.0.1Microsoft Edge 44.17763none
  • Result: (fail)
    • command: Tab (Read next focusable item)
    • Output: (error message not conveyed)
More information
TalkBackFirefox (Android)unknown-More information
VoiceOver for iOSGoogle Chrome (ios)unknown-More information
VoiceOver for macOSGoogle Chromeunknown-More information
VoiceOver for macOSFirefox (desktop)unknown-More information
Back to top

Dates and Versions

ATAT VersionBrowserBrowser versionOS versionDate tested
JAWS2018.1811.2Google Chrome7318092019-04-02
JAWS2018.1811.2Internet Explorer1118092019-04-02
JAWS2018.1811.2Firefox (desktop)6618092019-04-02
Narrator1809Microsoft Edge44.1776318092019-04-02
NVDA2019.0.1Google Chrome7318092019-04-02
NVDA2019.0.1Firefox (desktop)6618092019-04-02
VoiceOver for iOS12.2Safari (iOS)12.212.22019-04-02
VoiceOver for macOS10.14.4Safari (macOS)12.110.14.42019-04-02

History

  • 2019-04-09 Test created