blueprint
blueprint copied to clipboard
fix(Popover a11y): target only gets aria-expanded if is button type (not hover)
Fixes #0000
Checklist
- [N/A] Includes tests
- [N/A] Update documentation
Changes proposed in this pull request:
Never apply aria-expanded
prop if is hover type. This prop being included causes aXe a11y failure when the item target isn't an interactive type (ie button
, but if it's only hoverable it definitely shouldn't be button
type)
Reviewers should focus on:
Fixes a11y aXe failure