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

summary element (html)

Screen reader support level: partial (29/32)

Voice Control support level: partial (5/9)

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 a year ago to a year 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 a year 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 its namesupportednot applicablesupportednot applicablesupportedsupportedsupportedsupportedsupportedsupported
MUST convey its rolesupportednot applicablesupportednot applicablesupportedsupportedsupportedsupportednonesupported
MUST convey the expanded statesupportednot applicablesupportednot applicablesupportedsupportedsupportedsupportedsupportedsupported
MUST convey when the expanded state is changedsupportednot applicablesupportednot applicablepartialsupportedsupportedsupportedsupportednone
SHOULD provide shortcuts to jump to this rolesupportednot applicablesupportednot applicablesupportedsupportedsupportedsupportednonenone

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 applicablesupportednot applicablesupportedsupportedsupportedsupportedsupportedsupported
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 applicablesupportednot applicablesupportedsupportedsupportedsupportednonesupported
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 applicablesupportednot applicablesupportedsupportedsupportedsupportedsupportedsupported

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 applicablesupportednot applicablepartialsupportedsupportedsupportedsupportednone

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 applicablesupportednot applicablesupportedsupportedsupportedsupportednonenone

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
not applicablesupportedsupportedsupportedsupportedsupportednot applicablenot applicablenot applicablesupportedsupportednot applicable