react-arborist icon indicating copy to clipboard operation
react-arborist copied to clipboard

Add `aria-expanded` attribute to rows

Open lidiagc opened this issue 1 year ago • 2 comments

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.

lidiagc avatar Feb 22 '24 11:02 lidiagc

Thanks for submitting this! My project also needs this update, hopefully it gets merged soon!

sparekh0730 avatar Mar 11 '24 06:03 sparekh0730

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.

Pancham97 avatar Mar 13 '24 09:03 Pancham97