Re: Obscure images as labels

On 14/06/2024 14:49, Steve Green wrote:

> However, the second case is addressed in technique G167, which says 
> “When a button invokes a function on an input field, _has a clear text 
> label_, and is rendered adjacent to the input field, the button also 
> acts as a label for the input field.”

It's only a technique, so take it with a pinch of salt.

I personally don't read too much into "text label" there, as otherwise 
the myriad of cases where we have something like just a magnifying glass 
icon button next to a search field would all be failing WCAG...

> The intention is clearly that the text on the button provides a visual 
> label for the input field, and that an image is not considered to be 
> sufficient.

I think that is over-interpreting what is there, to be honest.

P
-- 
Patrick H. Lauke

* https://www.splintered.co.uk/
* https://github.com/patrickhlauke
* https://flickr.com/photos/redux/
* https://mastodon.social/@patrick_h_lauke

Received on Friday, 14 June 2024 14:52:44 UTC