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

datalist element (html)

Screen reader support level: partial (15/20)

Voice Control support level: supported

On this page

About this feature

The datalist element represents a set of option elements that represent predefined options for other controls. It is attached to an input via the list attribute.

Age of results

Results across all tests for this feature range from 9 months ago to 10 months 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 9 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 its rolesupportednonesupportedsupportedsupportedsupportedpartialsupportedsupportednone
MUST convey the boundaries of the elementsupportednonesupportedsupportedsupportedsupportedsupportedsupportedsupportednone
SHOULD convey that changes in suggestions were madenonenonenonesupportednonenonenonesupportednonenone

Voice Control support by expectation

ExpectationDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech Recognition
ChromeChromeSafariSafariChrome
MUST convey its rolesupportednot applicablenot applicablenot applicablenot applicable

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 the "datalist", "listbox" role when entering the datalist. Note that it should not be conveyed as a menu per the AAM mappings.
  • A screen reader might not announce the datalist role because it is implied by the presence of suggestions or auto complete functionality via the list attribute.
  • Voice control software might let the user say something like "show choices" to open the datalist.
Screen Reader support for 'MUST convey its role'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
HTML input with datalist testsupportednonesupportedsupportedsupportedsupportedpartialsupportedsupportednone
Voice Control support for 'MUST convey its role'
TestDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech Recognition
ChromeChromeSafariSafariChrome
HTML input with datalist testsupportednot applicablenot applicablenot applicablenot applicable

Expectation: convey the boundaries of the element

Rationale:

A user needs to know when they enter and exit an element

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA

Examples:

  • A screen reader might announce the role of the element when entering and say something like "leaving" when exiting.
  • A screen reader might not explicitly announce entering and existing the element, but instead imply that the is in the containing object by conveying the roles of required children (options in a listbox for example).
  • A screen reader might announce position in set information such as "1 of 6".
  • A screen reader might not convey boundaries if the content fits on a single line
Screen Reader support for 'MUST convey the boundaries of the element'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
HTML input with datalist testsupportednonesupportedsupportedsupportedsupportedsupportedsupportedsupportednone

Expectation: convey that changes in suggestions were made

Rationale:

The user needs to know that the list of suggestions changed

Strength of this expectation for different types of assistive technologies:

  • Screen Readers: SHOULD
  • Voice Control: NA

Examples:

  • A screen reader might announce the word "suggestions" whenever the list of suggestions changes.
  • A screen reader might announce the value of every suggestion when the list of suggestions changes.
Screen Reader support for 'SHOULD convey that changes in suggestions were made'
TestJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeIEFirefoxEdgeChromeFirefoxFirefoxChromeSafariSafari
HTML input with datalist testnonenonenonesupportednonenonenonesupportednonenone

Related features

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

list attribute (html)

DragonJAWSNarratorNVDAOrcaTalkBackVoice AccessVC iOSVC MacOSVoiceOver (iOS)VoiceOver (macOS)Speech Recognition
not applicablepartial (2/3)supportedsupportednonesupportednot applicablenot applicablenot applicablesupportedsupportednot applicable

option element (html)

DragonJAWSNarratorNVDAOrcaTalkBackVoice AccessVC iOSVC MacOSVoiceOver (iOS)VoiceOver (macOS)Speech Recognition
partial (1/5)partial (12/15)partial (4/5)partial (9/10)partial (3/5)supportedsupportednonepartial (2/5)partial (4/5)partial (2/5)none

optgroup element (html)

DragonJAWSNarratorNVDAOrcaTalkBackVoice AccessVC iOSVC MacOSVoiceOver (iOS)VoiceOver (macOS)Speech Recognition
not applicablepartial (3/9)partial (1/3)partial (3/6)nonepartial (1/3)not applicablenot applicablenot applicablepartial (1/3)partial (1/3)not applicable

We are missing data on some combinations.