blueprint icon indicating copy to clipboard operation
blueprint copied to clipboard

fix(Popover a11y): target only gets aria-expanded if is button type (not hover)

Open bvandercar-vt opened this issue 6 months ago • 0 comments

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

bvandercar-vt avatar Aug 07 '24 23:08 bvandercar-vt