krautzource / aria-tree-walker

A lightweight walker for labeled ARIA trees
https://krautzource.github.io/aria-tree-walker/
Apache License 2.0
2 stars 0 forks source link

highlighting in "proper" aria-owns situations #21

Closed pkra closed 3 years ago

pkra commented 3 years ago

The examples in the doc highlight using .is-activedescendant. Hower, in a "proper" aria-owns situaton (i.e., when one of the aria-owns IDs is not a descendant), then rules based on that selector cannot touch the non-descending aria-owns "child".

We could add a class to all aria-own children to allow better styling.

pkra commented 3 years ago

A specific use case are labeled equations with MathJax where labels are kept separately from the other table content. Thus when navigating down to a row, the highlighting won't touch the label; even worse, when navigating further down we of course first end up on the label, which is visually confusing.

pkra commented 3 years ago

We could add a class to all aria-own children to allow better styling.

It would have to be all owned descendants.