krautzource / sre-to-tree

MIT License
0 stars 0 forks source link

change aria-owns to data-owns #20

Closed pkra closed 3 years ago

pkra commented 3 years ago

As per R&D in https://github.com/krautzource/aria-tree-walker/issues/12#issuecomment-789578196, we don't actually need aria-owns since our tree root does not own children that are not descendants (even if some descendants own non-descendants of theirs, they're all descendants of the tree root which is sufficient).

Using custom attributes allows us to simplify things as we no longer have to worry about (DOM-)unique IDs.

This is a breaking change.

pkra commented 3 years ago

1.4.0 is out. Time to do this.