Visa Accessibility - Lang Attribute (PAG-004)
VGAR Page Requirements
Lang Attribute (PAG-WEB-004)
Include correct language attribute for the page
A proper language attribute notifies the browser of the correct language to render for text content and allows assistive technologies like screen readers to present the text in the correct pronunciation and style. If a site offers user defined language selection, the page's language attribute should update when a new language is selected.
Requirements
Lang Attribute (PAG-WEB-004-01)
The applicable language MUST be defined on every page, inside the html tag. Mobile users should be able to select language from device settings and app should support this choice.
Test Procedures
FAE > Navigation > Language Changes (PAG-WEB-004-01-T)
- Inspect the HTML DOM and confirm that a
attribute is present - Confirm that the
attribute is correct for the language of the page content