react-arborist
react-arborist copied to clipboard
Add `aria-expanded` attribute to rows
On our own project, we saw the need to add the attribute aria-expanded to the row elements, since it makes it easier to test with cypress.
This PR adds the attribute aria-expanded to the row container with the value node.isOpen.
Also updated the tests to verify the change.
Thanks for submitting this! My project also needs this update, hopefully it gets merged soon!
Thank you for submitting this! We want this update in our feature too. It would be really nice to get this shipped so we avoid creating a patch.