Important: This website does not attempt to establish a standard for how assistive technologies must behave. Read the FAQ for more information. Additionally, this is a work in progress. Please submit feedback or suggestions.

datalist element (html)

Screen Reader support level: partial (19/22)

Voice Control support level: supported with 2 unknown results

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 3 years ago to 5 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

What are expectations?

Screen Reader support by expectation

ExpectationJAWSNarratorNVDAOrcaTalkBackVoiceOver (iOS)VoiceOver (macOS)
ChromeEdgeFirefoxEdgeChromeEdgeFirefoxFirefoxChromeSafariSafari
MUST convey its rolesupportedsupportedsupportedsupportedsupportedsupportedsupportedpartialsupportedsupportednone
MUST convey the boundaries of the elementsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportednone
SHOULD convey that changes in suggestions were madenonenonenonesupportednonenonenonenonesupportednonenone

Voice Control support by expectation

ExpectationDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech RecognitionWindows Voice Access
ChromeChromeSafariSafariEdgeChromeEdgeChrome
MUST convey its rolesupportednot applicablenot applicablenot applicablenot applicablenot applicableunknownunknown

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)
ChromeEdgeFirefoxEdgeChromeEdgeFirefoxFirefoxChromeSafariSafari
HTML input with datalist testsupportedsupportedsupportedsupportedsupportedsupportedsupportedpartialsupportedsupportednone
Voice Control support for 'MUST convey its role'
TestDragon Naturally SpeakingVoice Access (Android)Voice Control (iOS)Voice Control (MacOS)Windows Speech RecognitionWindows Voice Access
ChromeChromeSafariSafariEdgeChromeEdgeChrome
HTML input with datalist testsupportednot applicablenot applicablenot applicablenot applicablenot applicableunknownunknown

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)
ChromeEdgeFirefoxEdgeChromeEdgeFirefoxFirefoxChromeSafariSafari
HTML input with datalist testsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportedsupportednone

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)
ChromeEdgeFirefoxEdgeChromeEdgeFirefoxFirefoxChromeSafariSafari
HTML input with datalist testnonenonenonesupportednonenonenonenonesupportednonenone

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 RecognitionWindows Voice AccessWindowsMaciOSAndroid Keyboard
unknownsupported with 1 unknown resultsupported with 1 unknown resultsupported with 1 unknown resultno known supportsupported with 1 unknown resultunknownunknownunknownsupported with 1 unknown resultsupported with 1 unknown resultunknownunknownunknownunknownunknownunknown

option element (html)

DragonJAWSNarratorNVDAOrcaTalkBackVoice AccessVC iOSVC MacOSVoiceOver (iOS)VoiceOver (macOS)Speech RecognitionWindows Voice AccessWindowsMaciOSAndroid Keyboard
partial (1/6)supported with 1 unknown resultpartial (4/6)partial (14/16)partial (3/6)supported with 1 unknown resultsupported with 1 unknown resultno known supportpartial (2/6)partial (4/6)partial (2/6)partial (4/10)unknownunknownunknownunknownunknown

We are missing data on some combinations.

optgroup element (html)

DragonJAWSNarratorNVDAOrcaTalkBackVoice AccessVC iOSVC MacOSVoiceOver (iOS)VoiceOver (macOS)Speech RecognitionWindows Voice AccessWindowsMaciOSAndroid Keyboard
unknownno known supportno known supportpartial (3/10)no known supportpartial (1/4)unknownunknownunknownpartial (2/4)partial (1/4)unknownunknownunknownunknownunknownunknown