krautzource/aria-tree-walker

support non-anchor links

Closed this issue · 2 comments

pkra commented

In extension to #22 (and in the vein of #25), some trees may be using non-anchor links (e.g., krautzource/sre-to-tree#22). We already support activating anchor links, we should support a way to activate non-anchor links.

Primarily, we need to decide on how authors should store the href value and treat such elements the same way as we treat anchors.

pkra commented

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_link_role seems a bit old but still ok. It uses data-href which seems fair enough to start.

pkra commented

This was resolved in 24a6321