Passing props to the root element of the Tree component

Hi,

Couldn’t find a way to pass attributes to the root element of the @atlaskit/tree.
I wanted to add proper roles and aria-* attributes, to make the tree as accessible as possible by the guide in WAI-ARIA .

Is it possible?
If not, can you make it possible (would have submitted a PR, but this repo is private as far as I could tell)?

Thanks,
Idan

4 Likes

I would love to see it - I’m struggling with it as well

3 Likes

Agree, was also looking for this as well.
It would be very much appreciated.