• Success Criterion 3.1.2
  • Conformance level AA

Language Attribute Copy-Pasted Onto the Wrong Piece of Text

3.1.2 — Language of Parts

Scenario

Setting

A survey tool's question builder

What’s wrong

Wrong part-level lang values inherited from copy-paste.

Example

During an audit of a survey tool's question builder: wrong part-level lang values inherited from copy-paste.

Why it matters

Screen-reader users hearing mixed-language content with the wrong voice rules. The practical effect on a survey tool's question builder: they hear the wrong pronunciation throughout.

How to test

Inspect a lang attribute that appears to be copy-pasted or inherited incorrectly at the part level: verify it matches the actual language of that specific text.

How to fix

The passage in another language must carry its own correct lang attribute.

Outcome

That one change on a survey tool's question builder means they hear the correct pronunciation.

Who is affected

Screen-reader users hearing mixed-language content with the wrong voice rules.

Learn more