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

aria-modal attribute (aria)

Screen reader support level: partial (5/10)

Voice Control support level: not applicable

On this page

Indicates whether an element is modal when displayed. For more robust support, consider making the rest of the document inert when an element has aria-modal=true.

Expectations

What are expectations?

Screen Reader support by expectation

ExpectationJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
MUST convey the presence of aria-model=truesupportednonesupportedpartialnonepartialpartial
SHOULD limit reading to children of aria-modal=truesupportednonesupportedpartialnonepartialsupported
SHOULD remove outside content from navigational shortcuts when aria-modal=truepartialnonesupportedpartialnonesupportednone

Voice Control support by expectation

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

Expectation: convey the presence of aria-model=true

Rationale: Users need to be aware that other content is obscured by the modal.

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA
Screen Reader support for 'MUST convey the presence of aria-model=true'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
APG 1.1 modal dialog examplesupportedsupportedsupportednonesupportedsupportedpartialnonepartialpartial

Expectation: limit reading to children of aria-modal=true

Rationale: Users should not be able to access content outside of the modal. However, AT are not required to implement this functionality per the ARIA spec, and authors may implement this on their own.

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: SHOULD
  • Voice Control: NA
Screen Reader support for 'SHOULD limit reading to children of aria-modal=true'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
APG 1.1 modal dialog examplesupportedsupportedsupportednonesupportedsupportedpartialnonepartialsupported

Expectation: remove outside content from navigational shortcuts when aria-modal=true

Rationale: Users should not be able to access content outside of the modal. However, AT are not required to implement this functionality per the ARIA spec, and authors may implement this on their own.

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: SHOULD
  • Voice Control: NA
Screen Reader support for 'SHOULD remove outside content from navigational shortcuts when aria-modal=true'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
APG 1.1 modal dialog examplepartialpartialpartialnonesupportedsupportedpartialnonesupportednone

Expectation: convey the aria-modal attribute or limit navigation when aria-modal=false

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: MUST NOT
  • Voice Control: NA

No tests reference this expectation yet.