disabled attribute (html)
Screen Reader support level: partial (30/33)
Voice Control support level: unknown
On this page
About this feature
The HTML disabled
attribute lets authors disable form controls. Note, adding the disabled attribute to form controls will generally cause them to not be focusable.
Age of results
Results across all tests for this feature range from a year ago to 6 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 5 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 disabled state | supported | supported | supported | partial (1/3) | supported | supported | supported | supported | supported | partial (2/3) | supported |
Voice Control support by expectation
Expectation | Dragon Naturally Speaking | Voice Access (Android) | Voice Control (iOS) | Voice Control (MacOS) | Windows Speech Recognition | Windows Voice Access | ||
---|---|---|---|---|---|---|---|---|
Chrome | Chrome | Safari | Safari | Edge | Chrome | Edge | Chrome | |
MAY convey the disabled state | no known support | supported with 1 unknown result | unknown | supported with 1 unknown result | unknown | unknown | unknown | unknown |
Expectation: convey the disabled state
Strength of this expectation for different types of assistive technologies:
- Screen Readers: MUST
- Voice Control: MAY
Examples:
- Screen readers might convey the disabled state by announcing "disabled", "unavailable", or "dimmed"
- Screen readers might convey the disabled state of certain embedded controls, such as the option element, by skipping it when navigating embedded controls
- Voice control software might not include the element in operations, for example it might not flag the element with a number or respond to name commands
Test | JAWS | Narrator | NVDA | Orca | TalkBack | VoiceOver (iOS) | VoiceOver (macOS) | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Edge | Chrome | Edge | Firefox | Firefox | Chrome | Safari | Safari | |
HTML button[type="button" disabled] applied to: button element | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported |
HTML select element test applied to: option element | supported | supported | supported | partial | supported | supported | supported | supported | supported | supported | supported |
HTML select element test applied to: optgroup element | supported | supported | supported | none | supported | supported | supported | supported | supported | none | supported |
Test | Dragon Naturally Speaking | Voice Access (Android) | Voice Control (iOS) | Voice Control (MacOS) | Windows Speech Recognition | Windows Voice Access | ||
---|---|---|---|---|---|---|---|---|
Chrome | Chrome | Safari | Safari | Edge | Chrome | Edge | Chrome | |
HTML button[type="button" disabled] applied to: button element | unknown | unknown | unknown | unknown | unknown | unknown | unknown | unknown |
HTML select element test applied to: option element | none | supported | unknown | supported | unknown | unknown | unknown | unknown |
HTML select element test applied to: optgroup element | none | supported | unknown | supported | unknown | unknown | unknown | unknown |