krautzource/sre-to-tree

workaround for links

Closed this issue · 3 comments

pkra commented

MathJax+SRE currently do not render link in a way that put them into the tree structure.

As per F2F with @zorkow, a reasonable hack might be to "push" the link to the first tree element among its descendants, i.e., mark the first tree descendant somehow (data-href?) that helps a walker to look up the href.

While this might not be completely perfect (there can be situations where the link will have multiple children instead of a single group), it seems good enough almos always.

pkra commented

This needs coordination with downstream solutions => krautzource/aria-tree-walker#26

pkra commented

On second thought could we make all of them links? (Asked upstream; let's go ahead until we know what to expect.)

pkra commented

While we're at it, add "link" to the aria label. Not sure if braille displays do something similar but it's probably too risky to add something to the Nemeth.