Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#10577 closed enhancement (fixed)

TabContainer: support keyboard selection of first / last tab in TabContainer

Reported by: MartinPacker Owned by: bill
Priority: high Milestone: 1.6
Component: Dijit Version: 1.4.0
Keywords: keys keystrokes keyboard access a11y Cc: Becky Gibson
Blocked By: Blocking:

Description (last modified by bill)

I note there are scroll left and scroll right keys supported for TabContainer.

The documentation suggests there AREN'T "select first" and "select last" keys.

In my application (essentially a tabbed GIF viewer) I could use that. Today I have buttons I added below the TabContainer to achieve the same effect.)

In 1.4 I note the enhanced tab strip but this isn't a part of it.

Change History (9)

comment:1 Changed 10 years ago by Adam Peller

Cc: Becky Gibson added
Keywords: a11y added

comment:2 Changed 10 years ago by bill

Description: modified (diff)
Summary: Support keyboard selection of first / last tab in TabContainerTabContainer: support keyboard selection of first / last tab in TabContainer

I can see adding HOME and END key support, but you want to actually have special buttons taking up screen real estate? It seems like a user can easily navigate to the first/last tab by using the drop down menu (listing all the tabs)

comment:3 Changed 10 years ago by MartinPacker

No, I don't find Home and End keys to work. And they're not documented, either. So I suspect they really DON'T work. Home and End keys would, in fact, be my preferred solution. (I, too, don't want to lose screen real estate to these putative buttons.)

BTW, I really appreciate the "fixed height" nature of the tabs in 1.4.0. (I used to try to calculate the size of multiple rows of tabs previously.)

I'm about to open another ticket on the drop-down list - to enhance it for first-character navigation. (I'm not sure that's doable, mind.)

comment:4 Changed 10 years ago by bill

Milestone: tbd1.5
Owner: set to bill

You are right, HOME and END keys don't work currently, but that functionality should be simple to add, I'll do it for the next release.

comment:5 in reply to:  4 Changed 10 years ago by MartinPacker

Replying to bill:

You are right, HOME and END keys don't work currently, but that functionality should be simple to add, I'll do it for the next release.

Thanks! I'd be happy to test.

comment:6 Changed 10 years ago by Adam Peller

Milestone: 1.51.6

comment:7 Changed 9 years ago by bill

Resolution: fixed
Status: newclosed

(In [22520]) Make home/end key navigate to (and click) first/last tab button, similar to how left/right arrow keys navigate to next/previous tab buttons. Wasn't sure whether I should make keyboard do an animation, but I didn't since we'll likely drop the JS animation in favor of CSS animation in the future. Fixes #10577.

comment:8 Changed 9 years ago by bill

(In [22521]) Make home/end key navigate to (and click) first/last child in _KeyNavContainer (ex: Toolbar). Refs #10577.

comment:9 Changed 9 years ago by Becky Gibson

I tested with FIrefox 3.6.8 and JAWS 11 - works great! Thanks, Bill.

Note: See TracTickets for help on using tickets.