#9286 closed feature (notabug)
The reference for "activate focused tab after a short delay"?
Reported by: | Ian Y. | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.tabs | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
On Tabs' documentation page, it mentions "Activate focused tab after a short delay."
However, W3C's definition for Tab Panel behavior doesn't address that there need to be "a short delay".
Could you please advise the consideration that jQuery UI decided to implement that?
Change History (10)
comment:1 Changed 10 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:2 Changed 10 years ago by
Thanks. Please consider adding an option for canceling the delay.
Sometimes users would want to quick glance contents of all panels in order to search for something. They might not want to wait for 0.5 second at each panel.
comment:3 follow-up: 4 Changed 10 years ago by
Users can already do this by pressing SPACE. Please see the keyboard interaction section of http://api.jqueryui.com/tabs/
comment:4 Changed 10 years ago by
Replying to scott.gonzalez:
Users can already do this by pressing SPACE. Please see the keyboard interaction section of http://api.jqueryui.com/tabs/
But that need more key pressings thus it become inconvenient.
comment:5 follow-up: 6 Changed 10 years ago by
Surely you as the developer cannot predict whether all of your users will want to remove the delay. You can modify the delay if you want, but we're not encouraging it.
comment:6 Changed 10 years ago by
Replying to scott.gonzalez:
Surely you as the developer cannot predict whether all of your users will want to remove the delay. You can modify the delay if you want, but we're not encouraging it.
Yes. And what's your concern of not encouraging it?
comment:7 follow-up: 8 Changed 10 years ago by
Read the comments in the aforementioned pull request. There's even a discussion going on right now about whether ARIA should be changed in terms of when activation occurs.
comment:8 Changed 10 years ago by
Replying to scott.gonzalez:
Read the comments in the aforementioned pull request. There's even a discussion going on right now about whether ARIA should be changed in terms of when activation occurs.
I saw you said: "The downside is that you cannot navigate across ajax tabs using the keyboard without activating all tabs as you navigate."
But isn't ajax tabs rarely used? As far as I can remember, I never see people use that. Maybe there's a better approach so the delay doesn't need to be implemented on most cases in which delay is needless.
comment:9 Changed 10 years ago by
Ajax tabs are quite common. Conditionally using the delay is worse than always using the delay since it creates inconsistencies which cause confusion.
https://github.com/jquery/jquery-ui/pull/666