microsoft / tabster

Web Application Keyboard Navigation Tools
https://tabster.io
MIT License
118 stars 36 forks source link

fix(Mover): Fixing how Mover handles elements with aria-expanded. #318

Closed mshoho closed 10 months ago

mshoho commented 10 months ago

We have a case for Mover to ignore handling keypresses when a focused element has aria-expanded=true to work around comoboxes inside Mover. This PR narrows the check to not just aria-expanded but also aria-activedescendant, as just aria-expanded could also be used in different scenarios.