Hi, @nvaccess @jcsteh! I found a very strange issue while I tried to define a menubar using ARIA. I followed the authoring practices example, but my menus are not descendant of the main menubar, so I set aria-owns in my first level li elements to include them in the a11y tree.
I expected that it treats my menus as direct descendants and everything works fine. However, when I use NVDA to navigate over the menubar, the items that has menus are detected "outside" it. They are read as element 1/1, and they are substracted from the total items for the rest.
I inspected it with the Mozilla accessibility inspector and I found that a new node with role text container was introduced. It matches with the <li> element where I set the aria-owns attribute.
Do you have any idea why it happens? Any suggestion to solve it? Thanks for helping.
You can follow @FJEsLite.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: