Ticket #9621 (open bug)

Opened 11 months ago

Last modified 9 months ago

Tabs: Ctrl-Arrow key navigation does not work on OS X Mavericks

Reported by: dylanb Owned by: dylanb
Priority: minor Milestone: none
Component: ui.tabs Version: 1.10.3
Keywords: a11y Cc:
Blocking: Blocked by:

Description

Ctrl-LEFT switches the display and Ctrl-RIGHT is totally ignored.

My recommendation would be to make the non-activation the default keyboard behavior i.e. a user would have to press left or right AND then Enter (or Space) to activate the tab.

Change History

comment:1 Changed 11 months ago by tj.vantoll

  • Owner set to dylanb
  • Status changed from new to pending

Hi dylanb,

I'm not sure what you mean by this, the tabs control does not use Ctrl + LEFT or Ctrl + RIGHT. Is there some issue with using the left and right arrows as activation keys?

comment:2 Changed 11 months ago by scott.gonzalez

Well, this is a docs issue as well ;-) Navigating with CTRL prevents automatic activation, but it looks like we never documented that. This came from a recommendation by Hans Hillen:  https://github.com/jquery/jquery-ui/pull/666#issuecomment-5981773

@dylanb Can you read through the long discussion in that PR to see why we ended up with what we have today and then let us know if you still think we should change? If you do, we can open up that discussion again.

comment:3 Changed 11 months ago by dylanb

  • Status changed from pending to new

@scott.gonzalez - the documentation issue is one problem, the inconsistency with the datepicker (which uses Command) is another issue and then the fact that OS X interprets Ctrl-LEFT and Ctrl-RIGHT as a mechanism to switch virtual displays (and hence does not send these commands to the browser at all) is another problem.

The discussion with Hans is valid. Hans' recommendations are all spot on, so if the decision has been to use some combination of keys to address the timing/activation problem, then we should probably just change the Ctrl to add support for Meta (as with the datepicker) and update the documentation. We may want to go through all the widgets and make similar changes to al of them.

Additionally, to avoid JAWS popping out of forms mode on the tabs, we should add SPACE as a method for activating the tab in addition to ENTER.

comment:4 Changed 11 months ago by scott.gonzalez

  • Status changed from new to open
  • Summary changed from Tab Ctrl-Arrow key navigation does not work on OS X Mavericks to Tabs: Ctrl-Arrow key navigation does not work on OS X Mavericks

That sounds reasonable. We already handle SPACE to activate; we treat it differently than ENTER because ENTER will always toggle, while SPACE will only activate (never collapse).

comment:5 Changed 11 months ago by dylanb

Should treat SPACE exactly the same as ENTER - otherwise the forms mode problem still exists for the collapse functionality

comment:6 Changed 9 months ago by scott.gonzalez

  • Keywords a11y added
Note: See TracTickets for help on using tickets.