WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: WCAG 2.1 2.5.3 Label in name

for

From: glen walker
Date: Oct 1, 2019 10:22PM


All good advice so far, Jon. I think the confusion comes in because you're
looking at it "backwards". Anything that is visible (in your case, "learn
more") must exist in the "accessible name". So when you look at the title
of the success criteria, "label in name", "label" is what you visually see
on the screen and "name" is the "accessible name", which is what the screen
reader says.

So if you display "learn more" and your accessible name is "*learn more *about
(subject)", then your label *is* contained in the name so you're good.

I would like to learn more about sausages, though.