Label in Name
For UI components with labels that include text, the accessible name (the name announced by assistive technology) must contain the visible text.
What it requires
WCAG 2.5.3 prevents the "voice command mismatch" failure — a user telling Siri "click Add to Cart" must succeed because the button's accessible name contains "Add to Cart". A button labeled visually "Add to Cart" but with `aria-label="Buy this item"` fails because voice control cannot match.
The fix: the visible label text must appear at the start of the accessible name. `aria-label` should match or extend the visible text, not replace it.
Common Shopify failure
Theme button visible text "Add to Cart" but `aria-label="Add this item to your shopping bag"`. Voice-control users cannot trigger it by saying "Add to Cart".
How to fix it
AccessComply detects mismatches between visible button text and the accessible name + rewrites aria-label to start with the visible text.
Primary source: W3C — WCAG 2.1 Understanding 2.5.3