scope attribute (html)
Screen Reader support level: partial (21/22)
On this page
About this feature
The HTML scope
attributes lets authors define the scope of a table header (row or column).
Age of results
Results across all tests for this feature range from 3 years 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 header according to context if scope is set to "auto" | supported | supported | supported | supported | supported | supported | supported | supported | supported | partial | supported |
MUST convey the header as a row header if the scope is set to "row" | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported |
Expectation: convey the header according to context if scope is set to "auto"
Rationale:
The user needs to be able to determine what headers a cell belongs to.
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 | |
Example 1: Table with header cells in the top row only applied to: th element | supported | supported | supported | supported | supported | supported | supported | supported | supported | partial | supported |
Expectation: convey the header as a column header if the scope is set to "column"
Rationale:
The user needs to be able to determine what headers a cell belongs to.
Strength of this expectation for different types of assistive technologies:
- Screen Readers: MUST
- Voice Control: NA
No tests reference this expectation yet.
Expectation: convey the header as a row header if the scope is set to "row"
Rationale:
The user needs to be able to determine what headers a cell belongs to.
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 | |
HTML td element with a row header (th[scope="row"]) applied to: th element | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported | supported |