Accessibility with tabs
See original GitHub issueThe input
element prevents the user from tabbing through a form, which is problematic for accessibility. Glancing at the code, I think this is coming from:
allowTyping (event) {
if (!this.typeable) {
event.preventDefault()
return false
}
return true
},
(DateInput.vue)
which is triggered on keydown
from the input
element. I’m not sure of the consequences of this, but perhaps we could skip the body of the function if the key code is 9
.
Related to this, I suspect it would also be appropriate to close the calendar whenever tab is pressed. That involves adding a line to parseTypedDate
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Example of Tabs with Automatic Activation | APG | WAI
Example of Tabs with Manual Activation: A tabs widget where users activate a tab and ... Provides an accessible name for the tab...
Read more >Tabs | Accessibility Guidelines
Tabs. Tabs, which are very similar to accordions, are also common web design structures used to organize and hide content, so as not...
Read more >ARIA: tab role - Accessibility - MDN Web Docs - Mozilla
An element with the tab role controls the visibility of an associated element with the tabpanel role. The common user experience pattern is ......
Read more >Tabbed Interfaces
Both a table of content and a list of tabs allow the user to choose between distinct sections of content. Table of contents...
Read more >A11Y 101: fully acessible tabs
How can we create fully accessible tabs? ... And looking at that from an accessibility point of view, I could see many things...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@whossname The tabbing issue seems to be resolved in 1.5.3. But considering accessibility, I would think that we should also open the calendar on pressing enter key while input box is focused. Do we have any way to do that currently?
Anyone happen to be looking into adding in tabbing for accessibility, specifically for the day picker?