E-mail List Archives
Re: What's the point of aria-expanded on a menu button?
From: Bryan Garaventa
Date: Nov 15, 2023 7:14PM
- Next message: Mohith BP: "Re: Where text exists but cannot be read by screenreader - which checkpoint?"
- Previous message: Laura Roberts: "Re: New PAC 2021 checker"
- Next message in Thread: Jon Gunderson: "Re: What's the point of aria-expanded on a menu button?"
- Previous message in Thread: Steve Green: "Re: What's the point of aria-expanded on a menu button?"
- View all messages in this Thread
Hi,
Typically it's not that useful to have aria-expanded on a standalone menu button, but it is, however, very useful on a menu item within a menu.
The value isn't necessarily with keyboard navigable screen readers like JAWS and NVDA, but rather with touch-based screen readers like VoiceOver on iOS. You can try this out here: https://whatsock.com/Templates/Menus/Internal/index.htm
The expanded state is announced so that the submenu list hierarchy is clear during touch navigation.
All the best,
Bryan
- Next message: Mohith BP: "Re: Where text exists but cannot be read by screenreader - which checkpoint?"
- Previous message: Laura Roberts: "Re: New PAC 2021 checker"
- Next message in Thread: Jon Gunderson: "Re: What's the point of aria-expanded on a menu button?"
- Previous message in Thread: Steve Green: "Re: What's the point of aria-expanded on a menu button?"
- View all messages in this Thread