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

scope attribute (html)

Screen reader support level: partial (19/20)

Voice Control support level: not applicable

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 10 months ago to 2 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 10 months ago. Consider running the associated tests and contributing results.

Expectations

What are expectations?

Screen Reader support by expectation

ExpectationJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
MUST convey the header according to context if scope is set to "auto"supportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedpartialsupported
MUST convey the header as a row header if the scope is set to "row"supportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported

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 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
Screen Reader support for 'MUST convey the header according to context if scope is set to "auto"'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
Example 1: Table with header cells in the top row only applied to: th elementsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedpartialsupported

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
Screen Reader support for 'MUST convey the header as a row header if the scope is set to "row"'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
HTML td element with a row header (th[scope="row"]) applied to: th elementsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported