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

summary element (html)

Screen reader support level: partial (35/37)

Voice Control support level: partial (5/10)

On this page

About this feature

The details element represents a disclosure widget from which the user can obtain additional information or controls. Note that per the HTML5 spec, headings are allowed in the summary element.

Age of results

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

Failing and partial results are between 21 days ago and 21 days ago.

Expectations

What are expectations?

Screen Reader support by expectation

ExpectationJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
MUST convey its namesupportednot applicablesupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported
MUST convey its rolesupportednot applicablesupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported
MUST convey the expanded statesupportednot applicablesupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported
MUST convey when the expanded state is changedsupportednot applicablesupportedsupportednonesupportedsupportedsupportedsupportedsupported
SHOULD provide shortcuts to jump to this rolesupportednot applicablesupportedsupportedsupportedsupportedsupportedsupportednonenone

Voice Control support by expectation

ExpectationDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech Recognition
ChromeChromeSafariSafariChrome
MUST convey its namenonesupportedsupportednonesupported
MUST convey its rolenonesupportednot applicablenonesupported

Expectation: convey its name

Rationale:

A screen reader user needs to know what to enter.

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: MUST

Examples:

  • A screen reader might announce something like "<role>, <name>"
  • Voice control software might allow the user to say something like "click <name>"
Screen Reader support for 'MUST convey its name'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
HTML basic details/summary test with a heading in the summarysupportednot applicablesupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported
Voice Control support for 'MUST convey its name'
TestDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech Recognition
ChromeChromeSafariSafariChrome
HTML basic details/summary test with a heading in the summarynonesupportedsupportednonesupported

Expectation: convey its role

Rationale:

A screen reader user needs to know how they can interact with the element. Voice control software might use the role to help users activate controls that do not have a visible name.

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: MUST

Examples:

  • A screen reader might announce something like "button", "details", or "summary"
  • Voice control software might allow the user to say something like "click button"
Screen Reader support for 'MUST convey its role'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
HTML basic details/summary test with a heading in the summarysupportednot applicablesupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported
Voice Control support for 'MUST convey its role'
TestDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech Recognition
ChromeChromeSafariSafariChrome
HTML basic details/summary test with a heading in the summarynonesupportednot applicablenonesupported

Expectation: convey the expanded state

Rationale:

A user needs to know when they enter and exist the details.

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA

Examples:

  • A screen reader might announce either "expanded" or "collapsed"
Screen Reader support for 'MUST convey the expanded state'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
HTML basic details/summary test with a heading in the summarysupportednot applicablesupportedsupportedsupportedsupportedsupportedsupportedsupportedsupported

Expectation: convey when the expanded state is changed

Rationale:

A user needs to know when the state changes and that their action was successful.

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA

Examples:

  • A screen reader might announce the new new state value, either "expanded" or "collapsed"
Screen Reader support for 'MUST convey when the expanded state is changed'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
HTML basic details/summary test with a heading in the summarysupportednot applicablesupportedsupportednonesupportedsupportedsupportedsupportedsupported

Expectation: provide shortcuts to jump to this role

Rationale:

Screen reader users might want to quickly navigate to elements of this type.

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: SHOULD
  • Voice Control: NA
Screen Reader support for 'SHOULD provide shortcuts to jump to this role'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
HTML basic details/summary test with a heading in the summarysupportednot applicablesupportedsupportedsupportedsupportedsupportedsupportednonenone

Related features

These are features that are usually used in combination with this feature.

details element (html)

DragonJAWSNarratorNVDAOrcaTalkBackVoice AccessVC iOSVC MacOSVoiceOver (iOS)VoiceOver (macOS)Speech Recognition
unknownsupported with 1 unknown resultsupported with 1 unknown resultsupported with 1 unknown resultsupported with 1 unknown resultsupported with 1 unknown resultunknownunknownunknownsupported with 1 unknown resultsupported with 1 unknown resultunknown

We are missing data on some combinations.