Single tab keypress focus on map for keyboard users

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.

This modification quickly gets the keyboard to a much-used location via
a single keypress.
This commit is contained in:
Richard Finegold 2013-07-19 17:07:03 -07:00 committed by Tom Hughes
parent 0c471ae14d
commit c13e4f3dad

View file

@ -16,7 +16,7 @@
<div id="map-ui">
</div>
<div id="map">
<div id="map" tabindex="2">
</div>
<iframe id="linkloader" style="display: none">