Details
-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 4.0
-
Fix Version/s: 4.1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P2
Description
Currently, if you click on an ace:accordionPane header with the mouse, it will expand or collapse the accordionPane. However, there is no way to set focus on the header using the keyboard, so you must use the mouse initially to click on the header, and from that point the same header can be toggled via the space-bar.
Support for navigating to an expandable ace:accordionPane header via the Tab key should be added so the component can be both focussed and toggled purely via the keyboard.
Support for navigating to an expandable ace:accordionPane header via the Tab key should be added so the component can be both focussed and toggled purely via the keyboard.
There's actually keyboard support on the accordion. It just works differently than in the description. When the accordion receives focus, the focus goes to the whole accordion, not just the active pane. When focused, it is possible to use the arrow keys to highlight different accordion pane headers, even if the panes are collapsed. Once an accordion pane header is highlighted, pressing Enter or Space expands/collapses the pane. The arrow keys used are left or up to go up, and right or down to go down.
Should we change this behaviour or just document it in the wiki and/or TLD documentation?