Page Title: Situs Judi Bola Online Resmi Terpercaya Indonesia - EBOLA88
July 26, 2021 22:00

Identify language changes

Actions

Severity Action
Manual Check Review the page for any text content that is different than the principal language of the page. If such content is found, use the lang attribute on the appropriate container element to identify the language change.

Details

Rule ID Language 2
Definition Elements with text content in a different language from the principal language of the page must use the lang attribute with a valid IANA language code to identify the change.
Purpose
  • Assistive technologies like screen readers and other speech output technologies need to know the language of the characters of an element to speak the text content correctly.
WCAG Success Criteria

3.1.2 Language of Parts (Level AA, Primary Success Criterion)

Rule Category Styling/Content
Scope Page
Target Resources Elements with text content that is in a different language than the principal language of the page
  • [lang]
Techniques
  • Use the lang attribute to define the IANA language of the text content of the element.
  • Use the IANA codes to identify the language of the text in the element (e.g. en, fr, ...).
Manual Checks
  • Review the page for any text content in languages that are different than the principal language of the page.
  • If any changes in language are found, use the lang attribute to identify them.
Informational Links

Element Results

Element Identifier Result Element Position Message

Column Definitions

Element Identifier
Information about the element associated with the result.
The information typically includes the tag name, accessible name or other information related to the rule requirements.
"Page" means that the result applied to the page. For example, the rule "One main landmark on the page" is a page level rule.
Element Position
The element position is based on the DOM order of elements in the page.
The element position maybe useful in helping to locate a specific element on the page evaluated (e.g smaller numbers are typically toward the beginning of a page and larger numbers typically toward the end of a page).
Element position 1 is the first element.
The highest element position is the last element.
Element position values for most rule/page results will not be consecutive since a rule only applies to a sub set of elements found on a page.