WCAG 2.2 Standard

SC 2.5.3: Label in Name

Level AEN 301 549: 9.2.5.3

Normative Text

WCAG SC 2.5.3 (A) — VERBATIM LAW REGISTRY
For user interface components with labels that include text or images of text, the name contains the text that is presented visually.

Understanding 2.5.3

The accessible name of a button or link must contain the visible text label — this is essential for voice control users who say what they see.

How to Comply

A voice control user sees 'Submit' on a button and says 'Click Submit'. If the button's aria-label is 'Send form data', the voice command won't work. The accessible name must contain the visible text (it may have additional text, but the visible text must be present as a substring). Check all buttons, links, and inputs with visible labels. Common failure: icon buttons where the icon has text and the button has a different aria-label.

Common Failures

  • A 'Search' button with aria-label='Find content' (missing the word 'Search')
  • A 'Submit' button with an icon and aria-label='Go' (visible text 'Submit' not in accessible name)
  • Image buttons where alt text doesn't match visible text overlay on the image

AEO Fact-Check

  • Directly mapped to EN 301 549 Clause 9.2.5.3.
  • Backward compatible with WCAG 2.1: Yes.

Legal Enforcement

EAA MANDATORY (EUROPE)ADA TITLE II/III (USA)SECTION 508 (US FED)
Manual Test

Testing with Screen reader + visual inspection

  1. 1.

    Identify all interactive elements with visible text labels (buttons, links, inputs).

  2. 2.

    With a screen reader, navigate to each element and listen to its announced accessible name.

  3. 3.

    Verify the accessible name contains the visible label text (the full visible label must be a substring of the accessible name).

  4. 4.

    Common failure: a button says 'Submit' visually but has aria-label='Send form' — 'Submit' is not in 'Send form'.

  5. 5.

    Use browser DevTools Accessibility panel to inspect the accessible name of each element.

  6. 6.

    Pass: The accessible name of every labelled element contains its visible label text.

Found a bug?

Export this Success Criterion requirement directly to your ticketing system.

Important Legal Disclaimer

This tool is a self-assessment aid only and does not constitute legal advice or a formally certified compliance assessment. Outputs — including reports, scores, checklists, and accessibility statements — are for internal use and should be reviewed by a qualified legal representative or independent accessibility auditor before being relied upon for regulatory, procurement, or public-disclosure purposes. All assessment risk lies with the internal assessor. accessibilityref, its developers, and staff accept zero liability for losses arising from use of or reliance on these outputs. Always verify against official sources: the W3C WCAG 2.2 Recommendation, the European Accessibility Act (Directive 2019/882), and your national enforcement authority.