35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
[Back to 3 Understandable index](index.md)
|
|
|
|
# 3.1.1 Language of Page
|
|
|
|
- Level: A
|
|
- Guideline: 3.1 Readable
|
|
- Principle: 3 Understandable
|
|
|
|
## What it is
|
|
|
|
The default human language of each web page can be programmatically determined.
|
|
|
|
## How to test
|
|
|
|
- Check: The default human language of each web page can be programmatically determined.
|
|
- Use the sufficient techniques below as acceptable methods when applicable.
|
|
|
|
## Sufficient techniques (W3C)
|
|
|
|
- H57: Using the language attribute on the HTML element
|
|
- PDF16: Setting the default language using the /Lang entry in the document catalog of a PDF document
|
|
- PDF19: Specifying the language for a passage or phrase with the Lang entry in PDF documents
|
|
|
|
## Advisory techniques (W3C)
|
|
|
|
- SVR5: Specifying the default language in the HTTP header
|
|
|
|
## Resources
|
|
|
|
- WCAG 2.2 SC: https://www.w3.org/TR/WCAG22/#language-of-page
|
|
- Understanding: https://www.w3.org/WAI/WCAG22/Understanding/language-of-page.html
|
|
- Quick reference: https://www.w3.org/WAI/WCAG22/quickref/?versions=2.2#language-of-page
|
|
|
|
[Back to 3 Understandable index](index.md)
|