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

aria-invalid attribute (aria)

Screen reader support level: partial (63/79)

Voice Control support level: unknown

On this page

About this feature

Indicates the entered value does not conform to the format expected by the application. See related aria-errormessage.

Age of results

Results across all tests for this feature range from 2 months ago to a year ago. Detailed dates and version information can be found in associated tests.

Failing and partial results are between a year ago and a year ago.

Expectations

What are expectations?

Screen Reader support by expectation

ExpectationJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeEdgeFirefoxEdgeChromeEdgeFirefoxFirefoxChromeSafariSafari
MUST convey the "false" valuesupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported
MUST convey the "true" valuesupportedsupportedsupportedsupportedsupportedsupportedsupportedpartial (1/2)partial (1/2)partial (1/2)supported
MUST NOT convey the "grammar" valuesupportedsupportedpartialpartialpartialpartialpartialsupportedsupportedsupportedsupported
MUST NOT convey the "spelling" valuesupportedsupportedsupportedpartialpartialpartialpartialsupportedpartialsupportedsupported

Voice Control support by expectation

ExpectationDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech Recognition
ChromeChromeSafariSafariChrome
Not applicable

Expectation: convey the "false" value

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA

Examples:

  • The "false" value indicates that the input does not have an error.
  • Screen readers may imply this by not conveying the presence of the attribute at all. Most screen readers do not explicitly indicate that the input is valid.

Expectation: convey the "true" value

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA

Examples:

  • The "true" value indicates that the input is invalid.

Expectation: convey the "grammar" value

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST NOT
  • Voice Control: NA

Examples:

  • The "grammar" value indicates that the input has a grammar error.
Screen Reader support for 'MUST NOT convey the "grammar" value'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeEdgeFirefoxEdgeChromeEdgeFirefoxFirefoxChromeSafariSafari
aria-invalid test suite applied to: input[type="text"] elementsupportedsupportedpartialpartialpartialpartialpartialsupportedsupportedsupportedsupported

Expectation: convey the "spelling" value

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST NOT
  • Voice Control: NA

Examples:

  • The "spelling" value indicates that the input has a spelling error.
Screen Reader support for 'MUST NOT convey the "spelling" value'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeEdgeFirefoxEdgeChromeEdgeFirefoxFirefoxChromeSafariSafari
aria-invalid test suite applied to: input[type="text"] elementsupportedsupportedsupportedpartialpartialpartialpartialsupportedpartialsupportedsupported