it-vegard / a11y-reference-website

An example website, built with the option of switching between accessible and inaccessible versions of individual parts. Meant for use as a reference, and for educational and testing purposes.
MIT License
7 stars 2 forks source link

Remove aria-haspopup for dropdown component #23

Closed it-vegard closed 4 years ago

it-vegard commented 4 years ago

Aria-haspopup declares that the dropdown is a menu component, and that it is possible to navigate with the arrow keys. I considered using aria-haspopup with said arrow key-navigation, but believe users might not expect that behaviour. Therefore, I am going with just removing aria-haspopup, to have it announced as a summary and details-component instead.

Ref. #21