• Success Criterion 4.1.2
  • Conformance level A

Iframe Embedded With No Title Describing Its Content

4.1.2 — Name, Role, Value

Scenario

Setting

A customer-support live-chat widget

What’s wrong

Iframes without title (embedded functional content unnamed).

Example

<div class="checkbox" onclick="toggle()"></div>

Why it matters

Screen-reader and voice-control users who can operate only what the accessibility tree exposes.

How to test

Inspect every iframe in DevTools: each needs a title attribute describing its content — missing fails.

How to fix

Add a title attribute to every iframe describing its content.

<input type="checkbox" id="opt-1">
<label for="opt-1">Email notifications</label>

A native input exposes its role and checked state automatically; a styled div exposes none of that without a lot of manual ARIA.

Outcome

On a customer-support live-chat widget, this barrier is gone for screen-reader and voice-control users who can operate only what the accessibility tree exposes — they no longer have to work around this.

Who is affected

Screen-reader and voice-control users who can operate only what the accessibility tree exposes.

Learn more