WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Programmatic relationship between form controls and labels

for

From: Birkir R. Gunnarsson
Date: Nov 11, 2024 6:43AM


If visible and programmatic labels are in a different language, then we
definitely have a failure of "label in name".
The search input meets the visible label because it is visually labeled by
its adjacent button (g167):
https://www.w3.org/WAI/WCAG22/Techniques/general/G167.html
So I don't really see any fails with the original scenario.
Not ideal, no, but passing WCAG, yeah.

On Mon, Nov 11, 2024 at 8:13 AM Steve Green < <EMAIL REMOVED> >
wrote:

> In that case it would fail SC 2.5.3 because it doesn't match the visible
> label.
>