aria-pressed attribute (aria)
Screen Reader support level: partial (42/55)
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 3 years ago to 4 years ago. Detailed dates and version information can be found in associated tests.
Caution
Failing or partial results may be out of date. The oldest result is from 4 years ago. Consider running the associated tests and contributing results.
Expectations
Screen Reader support by expectation
Expectation | JAWS | Narrator | NVDA | Orca | TalkBack | VoiceOver (iOS) | VoiceOver (macOS) | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Edge | Chrome | Edge | Firefox | Firefox | Chrome | Safari | Safari | |
MUST convey the "false" value | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported |
MUST convey the "true" value | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported |
MUST convey the "mixed" value | supported | supported | supported | none | none | none | none | none | none | none | supported |
MUST convey the "undefined" value | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported |
MUST convey changes in state | supported | supported | supported | none | partial | partial | partial | supported | supported | partial | partial |
Expectation: convey the "false" value
Strength of this expectation for different types of assistive technologies:
- Screen Readers: MUST
- Voice Control: NA
Examples:
- A screen reader will announce something like "<role> not pressed"
Test | JAWS | Narrator | NVDA | Orca | TalkBack | VoiceOver (iOS) | VoiceOver (macOS) | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Edge | Chrome | Edge | Firefox | Firefox | Chrome | Safari | Safari | |
aria-pressed attribute test applied to: button element | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported |
Expectation: convey the "true" value
Strength of this expectation for different types of assistive technologies:
- Screen Readers: MUST
- Voice Control: NA
Examples:
- A screen reader will announce something like "<role> pressed"
Test | JAWS | Narrator | NVDA | Orca | TalkBack | VoiceOver (iOS) | VoiceOver (macOS) | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Edge | Chrome | Edge | Firefox | Firefox | Chrome | Safari | Safari | |
aria-pressed attribute test applied to: button element | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported |
Expectation: convey the "mixed" value
Strength of this expectation for different types of assistive technologies:
- Screen Readers: MUST
- Voice Control: NA
Examples:
- A screen reader will announce something like "<role> partially pressed"
Test | JAWS | Narrator | NVDA | Orca | TalkBack | VoiceOver (iOS) | VoiceOver (macOS) | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Edge | Chrome | Edge | Firefox | Firefox | Chrome | Safari | Safari | |
aria-pressed attribute test applied to: button element | supported | supported | supported | none | none | none | none | none | none | none | supported |
Expectation: convey the "undefined" value
Strength of this expectation for different types of assistive technologies:
- Screen Readers: MUST
- Voice Control: NA
Examples:
- A screen reader will not announce the aria-pressed attribute at all when the value is undefined.
Test | JAWS | Narrator | NVDA | Orca | TalkBack | VoiceOver (iOS) | VoiceOver (macOS) | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Edge | Chrome | Edge | Firefox | Firefox | Chrome | Safari | Safari | |
aria-pressed attribute test applied to: button element | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported |
Expectation: convey changes in state
Rationale:
The user needs to know that the state was successfully changed.
Strength of this expectation for different types of assistive technologies:
- Screen Readers: MUST
- Voice Control: NA
Test | JAWS | Narrator | NVDA | Orca | TalkBack | VoiceOver (iOS) | VoiceOver (macOS) | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Edge | Chrome | Edge | Firefox | Firefox | Chrome | Safari | Safari | |
aria-pressed attribute test applied to: button element | supported | supported | supported | none | partial | partial | partial | supported | supported | partial | partial |