Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single tab keypress focus on map for keyboard users #358

Closed
wants to merge 1 commit into from
Closed

Single tab keypress focus on map for keyboard users #358

wants to merge 1 commit into from

Conversation

goldfndr
Copy link
Contributor

When one goes to the default map page, the first tabindex is set to the search field, which is good. But, to use the keyboard with the map (arrows for scrolling, =/- for zooming), one must press the tab key many times (26?). This modification quickly gets the keyboard to a much-used location via a single keypress.

Perhaps another element should get a tabindex="3" attribute to minimize disruption; I've done only minimal focus-testing.

When one goes to the default map page, the first tabindex is set to the search field, which is good. But, to use the keyboard with the map (arrows for scrolling, =/- for zooming), one must press the tab key many times (26?). This modification quickly gets the keyboard to a much-used location via a single keypress.

Perhaps another element should get a `tabindex="3"` attribute to minimize disruption; I've done only minimal focus-testing.
@tomhughes
Copy link
Member

Merged.

@tomhughes tomhughes closed this Jul 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants