Test: HTML option[lang] element
Screen Reader support level: partial (1/11)
Voice Control support level: unknown
On this page
- About this test
- Age of results
- Test HTML
- Dates and Versions of tested combinations
- Summary of screen reader support by expectation
- Summary of voice control support by expectation
- Detailed support tables
- History
- Related features
- Contribute and Feedback
About this test
This test ensures that option
elements with a lang
attribute are announced correctly.
Age of results
Results in this test range from 6 years ago to 6 years ago. See detailed information about test dates and versions for more information.
Caution
Failing or partial results may be out of date. The oldest result is from 6 years ago. Consider running this test and contributing results.
Test HTML
Open the test case HTML file<!DOCTYPE html>
<html lang="en">
<head>
<title>HTML option element with lang attribute</title>
</head>
<body>
<p>Use the screen reader to announce the target element.</p>
<label for="language-picker">
Select language with lang set
<select id="language-picker">
<option lang="en">English</option>
<option lang="fr">Français</option>
<option id="target" lang="zh">中文 (简体)</option>
</select>
</label>
</body>
</html>
Summary of Screen Reader support by expectation
Expectation | JAWS | Narrator | NVDA | Orca | TalkBack | VoiceOver (iOS) | VoiceOver (macOS) | ||||
---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Edge | Chrome | Edge | Firefox | Firefox | Chrome | Safari | Safari | |
MUST switch to the specified language if it is valid applied to: option element | unknown | unknown | unknown | unknown | unknown | unknown | supported | unknown | unknown | unknown | none |
* means that some support is hidden behind settings
Summary of Voice Control support by expectation
Expectation | Dragon Naturally Speaking | Voice Access (Android) | Voice Control (iOS) | Voice Control (MacOS) | Windows Speech Recognition | Windows Voice Access | ||
---|---|---|---|---|---|---|---|---|
Chrome | Chrome | Safari | Safari | Edge | Chrome | Edge | Chrome | |
Not applicable |
* means that some support is hidden behind settings
Summary of Keyboard support by expectation
Expectation | Windows Keyboard | Mac Keyboard | iOS Keyboard | Android Keyboard | |||
---|---|---|---|---|---|---|---|
Chrome | Firefox | Edge | Chrome | Safari | Safari | Chrome | |
Not applicable |
* means that some support is hidden behind settings
Detailed support results by expectation
Expectation for the lang attribute: switch to the specified language if it is valid - applied to the option element
This expectation is applied to the option element. Expectations and results might differ when the the feature is applied to different roles.
This expectation is from the lang attribute feature.
Strength of this expectation for different types of assistive technologies:
- Screen Readers: MUST
- Voice Control: NA
Grading method:
Just one of the listed commands must pass for the expectation to pass.
AT | Browser | Has Support | Output |
---|---|---|---|
Dragon Naturally Speaking | Chrome | not applicable | - |
JAWS | Chrome | unknown | - |
JAWS | Edge | unknown | - |
JAWS | Firefox | unknown | - |
Narrator | Edge | unknown | - |
NVDA | Chrome | unknown | - |
NVDA | Edge | unknown | - |
NVDA | Firefox | yes |
|
Orca | Firefox | unknown | - |
TalkBack | Chrome | unknown | - |
Voice Access (Android) | Chrome | not applicable | - |
Voice Control (iOS) | Safari | not applicable | - |
Voice Control (MacOS) | Safari | not applicable | - |
VoiceOver (iOS) | Safari | unknown | - |
VoiceOver (macOS) | Safari | none |
|
Windows Speech Recognition | Edge | not applicable | - |
Windows Speech Recognition | Chrome | not applicable | - |
Windows Voice Access | Edge | not applicable | - |
Windows Voice Access | Chrome | not applicable | - |
Windows Keyboard | Chrome | not applicable | - |
Windows Keyboard | Firefox | not applicable | - |
Windows Keyboard | Edge | not applicable | - |
Mac Keyboard | Chrome | not applicable | - |
Mac Keyboard | Safari | not applicable | - |
iOS Keyboard | Safari | not applicable | - |
Android Keyboard | Chrome | not applicable | - |
Extended Support for: lang attribute: switch to the specified language if it is valid
These are less common combinations
AT | Browser | Has Support | Output |
---|---|---|---|
Dragon Naturally Speaking | IE | not applicable | - |
Dragon Naturally Speaking | Firefox | not applicable | - |
JAWS | IE | unknown | - |
Narrator | Firefox | unknown | - |
Narrator | Chrome | unknown | - |
Narrator | IE | unknown | - |
NVDA | IE | unknown | - |
TalkBack | Firefox | unknown | - |
Voice Access (Android) | Firefox | not applicable | - |
VoiceOver (iOS) | Chrome | unknown | - |
VoiceOver (macOS) | Chrome | unknown | - |
VoiceOver (macOS) | Firefox | unknown | - |
Orca | Chrome | unknown | - |
Voice Control (MacOS) | Chrome | not applicable | - |
Voice Control (MacOS) | Firefox | not applicable | - |
Mac Keyboard | Firefox | not applicable | - |
Android Keyboard | Firefox | not applicable | - |
Dates and Versions of tested combinations
AT | AT Version | Browser | Browser version | OS version | Date tested |
---|---|---|---|---|---|
NVDA | 2018.3.2 | Firefox | 62 | Windows 10 version 1809 | 2018-10-19 |
VoiceOver (macOS) | 10.14 | Safari | 12 | 10.14 | 2018-10-19 |
History
- 2018-10-19 Test created