pleasantest icon indicating copy to clipboard operation
pleasantest copied to clipboard

Expose `aria-pressed`, `aria-collapsed`, etc. in a11y tree

Open Paul-Hebert opened this issue 3 years ago • 1 comments

I was working on a button group where aria-pressed changes when a button is pressed. It would be cool if this was exposed via getAccessibilityTree (Same with any other aria attributes that seem relevant, like collapsed)

Paul-Hebert avatar Dec 07 '22 22:12 Paul-Hebert

Related to this, the accessibility tree shows aria-expanded buttons but only if expanded is true: (expanded=true). It would be nice if it also highlighted buttons with the aria-expanded attribute set to false, since this is still exposed to screen readers.

Paul-Hebert avatar Nov 13 '23 18:11 Paul-Hebert