Language

Topic

Technique

WCAG AA Requirement

Page Language

Page Language: The primary language of the page MUST be identified accurately, using a standard language code, on the <html> element (e.g. <html lang="en"> or <html lang="fr">).

Required WCAG 3.1.1

Language of Parts

Language of Parts: Inline language changes MUST be identified with a valid lang attribute.

Required WCAG 3.1.2

Language Code

Two-character language code: The language code SHOULD be designated with a standard two-character ISO 639-1 code (e.g. lang="en") to achieve maximum support across screen readers and browsers, though other codes (e.g. lang="en-us") are technically allowable.

best practice

Last updated

Was this helpful?