Replies: 1 comment 3 replies
-
Interesting question, https://www.w3.org/TR/wai-aria-practices-1.2/#accordion seems to indicate that a menu button may exist in the Accordion header to provide actions for that section so it seems like this is an acceptable use case at least from an aria perspective. Is your use case something like that? As for how to add such functionality: at the very least Accordion would have to move away from using |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The ARIA spec doesn't seem to mention this explicitly, but it doesn't seem like it goes against the spec either. Right now, the up and down arrows go to the next accordion header, but the left and right arrow keys aren't used in the default keyboard delegate. It seems like if left and right were supported, it would allow for additional focusable elements in the header.
Assuming there is no reason not to do this, what's the recommended approach for adding such functionality?
Beta Was this translation helpful? Give feedback.
All reactions