WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Relationship between WCAG and the ARIA in HTML specification

for

From: Birkir R. Gunnarsson
Date: Aug 8, 2023 6:04AM


I did a very rudimentary test and saw that Firefox and Chrome treat
links with a nested button differently.
* Firefox does not expose a link at all
* Chrome half-exposes a link (Jaws announces the link in browse mode
but not when you open a list of links)
Neither browser exposed the presence of a link nested in a button.
I'll do more comprehensive testing when I have time and throw the
example code up on CodePen or similar.

On 8/8/23, Steve Green < <EMAIL REMOVED> > wrote:
> I will assume that's a comprehensive list of error conditions - it's
> certainly a long list. However, it doesn't say anything about the
> accessibility tree. Is there a specification for how it is constructed? If
> there is, I can't find it.
>
> Is it possible that different browsers could generate different
> accessibility trees from the same DOM if the HTML is well formed, but
> contains invalid nesting? Or does the accessibility tree not take account of
> an element's nesting?
>
> Steve
>
>
>