Opened 15 years ago

Closed 15 years ago

#3557 closed defect (invalid)

Accordion key navigation wraps around

Reported by: Adam Peller Owned by: davidb
Priority: high Milestone: 1.0
Component: Dijit Version: 0.9
Keywords: keyboard a11y Cc: Becky Gibson
Blocked By: Blocking:


I would have expected navigation with arrow keys to come to a dead halt at the first or last pane, rather than wrap around. To wrap around seems counterintuitive compared with the visual. Bug or feature?

Change History (3)

comment:1 Changed 15 years ago by davidb

Cc: Becky Gibson added
Status: newassigned

I think this is a feature; similar to tab containers.

Becky what do you think?

comment:2 Changed 15 years ago by Becky Gibson

In tab containers the arrow keys cycle around. Since accordion container doesn't have an existing OS / client side equivalent we are treating them as tab containers. They work similar in that only one pane is visible at a time. Thus, I think it makes sense that the accordion container should behave the same was as tab containers for consistency and cycle around. IMHO this is a feature.

comment:3 Changed 15 years ago by davidb

Resolution: invalid
Status: assignedclosed

Also note that for large numbers of panes, being able to cycle around is a nice shortcut for keyboard users (rather than say having to go in the other direction n times just to get to the other end). So the most keys you have to press (sans key-repeat) is n/2.

Closing for now. Please reopen if necessary.

Note: See TracTickets for help on using tickets.