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

About this feature

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.

Age of results

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

Failing and partial results are between 8 months ago and 8 months ago.

Expectations

What are expectations?

Screen Reader support by expectation

ExpectationJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
MUST convey the presence of aria-modal=truesupportedsupportedsupportednonesupportedsupportedpartialnonepartialpartial
SHOULD limit reading to children of aria-modal=truesupportedsupportedsupportednonesupportedsupportedpartialnonepartialsupported
SHOULD remove outside content from navigational shortcuts when aria-modal=truepartialpartialpartialnonesupportedsupportedpartialnonesupportednone

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 presence of aria-modal=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

Examples of assistive technologies support this expectation:

  • Screen readers might convey the modal state when entering the modal
  • Screen readers might imply the modal state by restricting reading and navigation to the modal content
Screen Reader support for 'MUST convey the presence of aria-modal=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

Examples of assistive technologies support this expectation:

  • Screen readers must not allow allow users to jump to the next element type if that element is outside of the modal
  • Screen readers must not include outside content in the list of elements
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.