WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Relationship between WCAG and the ARIA in HTML specification

for

From: Patrick H. Lauke
Date: Aug 7, 2023 1:49PM


On 07/08/2023 20:42, Birkir R. Gunnarsson wrote:
> I also wonder, if we keep going down this path, whether we still need
> to report labels that are not connected to inputs under 4.1.2 or
> 1.3.1, if one or two screen reader browser combinations guess them
> right.

They may guess them right, but this one can be checked very easily in
the underlying API: does the browser expose an accessible name for the
input, yes or no? If no (but then the specific AT manages to guess it),
it's still a failure of 4.1.2. That one is quite unambiguous, because
you can't guarantee that all ATs will have the same heuristics.

In the case of misnested/invalid markup, you can guarantee that browsers
all error-correct that markup the same way, since that has been defined
explicitly in the HTML (5/living standard) spec, so not up to heuristics
in browsers anymore, as used to be the case.

P
--
Patrick H. Lauke

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