A11y Check

KWCAG 2.2 · 7.1.1

How to test Language of page

How to evaluate the KWCAG 2.2 checkpoint “Language of page”. Automation can decide this checkpoint on its own.

Which standards this maps to

Korean standard (KWCAG 2.2)
7.1.1 Language of page
Understandable
International standard (WCAG 2.2)
3.1.1 Language of Page (A)

How to test it

Check that the <html> element has a lang attribute matching the page's primary language (e.g., lang="ko" for Korean). Automated checks verify presence and format, but whether the value matches the actual content language needs human review — screen readers pick their speech engine from this value.

What automation covers

4 automated rules judge this checkpoint. Each comes with remediation guidance.

  • html element must have a lang attribute html-has-lang

    Declare the page language on the html element.

  • html lang attribute must be valid html-lang-valid

    Use a valid BCP 47 language code (e.g., ko, en).

  • lang and xml:lang must match html-xml-lang-mismatch

    Make lang and xml:lang identical.

  • lang attribute values must be valid valid-lang

    Ensure lang values on inline elements are valid codes.

See how your own site does

Enter a URL and we will check this checkpoint along with the other 32. One page can be audited without signing in.

Run a free check