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

lang attribute (html)

Screen reader support level: partial (3/20)

Voice Control support level: not applicable

On this page

The HTML lang attributes lets authors change the language for content on a page.

Expectations

What are expectations?

Screen Reader support by expectation

ExpectationJAWSNarratorNVDAOrcaTalkBackVoiceOver for iOSVoiceOver for macOS
MUST switch to the specified language if it is validunknownunknownsupported with 2 unknown resultsunknownunknownunknownpartial (1/2)

Voice Control support by expectation

ExpectationDragon Naturally SpeakingVoice Access for AndroidVoice Control for iOSVoice Control for MacOS
Not applicable

Expectation: switch to the specified language if it is valid

Strength of these expectations for different types of assistive technologies:

  • Screen Readers: MUST
  • Voice Control: NA
ATBrowserHas Support
Dragon Naturally SpeakingGoogle Chromenot applicable
JAWSGoogle Chromeunknown
JAWSInternet Explorerunknown
JAWSFirefox (desktop)unknown
NarratorMicrosoft Edgeunknown
NVDAGoogle Chromeunknown
NVDAFirefox (desktop)supported
OrcaFirefox (desktop)unknown
TalkBackGoogle Chrome (android)unknown
Voice Access for AndroidGoogle Chrome (android)not applicable
Voice Control for iOSSafari (iOS)not applicable
Voice Control for MacOSSafari (macOS)not applicable
VoiceOver for iOSSafari (iOS)unknown
VoiceOver for macOSSafari (macOS)partial (1/2)

This expectation is referenced by 2 tests.

Tests that reference this expectation
Test nameScreen Reader supportVoice Control support
HTML option[lang] elementpartial (1/10)not applicable
HTML p[lang] elementsupported with 8 unknown resultsnot applicable