Level AASince WCAG 2.0

3.1.2 Language of Parts

Guideline 3.1: Readable – Language is declared and text is understandable.

What does the rule require?

Passages in a different language are also marked in code.

How to get it right

Mark foreign-language passages: <span lang="de">Barrierefreiheit</span>.

Who benefits most?

Official wording

This page explains the rule in simple words. Only the original W3C text is normative.