Language
Last updated
Was this helpful?
Last updated
Was this helpful?
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
Language of Parts
Language of Parts: Inline language changes MUST be identified with a valid lang
attribute.
Required
Language Code
Two-character language code: The language code SHOULD be designated with a standard two-character 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