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

aria-pressed attribute (aria)

Screen reader support level: partial (38/50)

Voice Control support level: not applicable

On this page

About this feature

Indicates the current "pressed" state of toggle buttons. See related aria-checked and aria-selected.

Age of results

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

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

Expectations

What are expectations?

Screen Reader support by expectation

ExpectationJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
MUST convey the "false" valuesupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported
MUST convey the "true" valuesupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported
MUST convey the "mixed" valuesupportednonesupportednonenonenonenonenonenonesupported
MUST convey the "undefined" valuesupportednonesupportednonesupportedsupportedsupportedsupportedsupportedsupported
MUST convey changes in statesupportedsupportedsupportedsupportedpartialpartialsupportedsupportedsupportedpartial

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 these expectations for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA

Examples of assistive technologies support this expectation:

  • A screen reader will announce something like "<role> not pressed"
Screen Reader support for 'MUST convey the "false" value'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
aria-pressed attribute testsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported

Expectation: convey the "true" value

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA

Examples of assistive technologies support this expectation:

  • A screen reader will announce something like "<role> pressed"
Screen Reader support for 'MUST convey the "true" value'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
aria-pressed attribute testsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported

Expectation: convey the "mixed" value

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA

Examples of assistive technologies support this expectation:

  • A screen reader will announce something like "<role> partially pressed"
Screen Reader support for 'MUST convey the "mixed" value'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
aria-pressed attribute testsupportednonesupportednonenonenonenonenonenonesupported

Expectation: convey the "undefined" value

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA

Examples of assistive technologies support this expectation:

  • A screen reader will not announce the aria-pressed attribute at all when the value is undefined.
Screen Reader support for 'MUST convey the "undefined" value'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
aria-pressed attribute testsupportednonesupportednonesupportedsupportedsupportedsupportedsupportedsupported

Expectation: convey changes in state

Rationale: The user needs to know that the state was successfully changed.

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA
Screen Reader support for 'MUST convey changes in state'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
aria-pressed attribute testsupportedsupportedsupportedsupportedpartialpartialsupportedsupportedsupportedpartial