From: Richard Finegold Date: Sat, 20 Jul 2013 00:07:03 +0000 (-0700) Subject: Single tab keypress focus on map for keyboard users X-Git-Tag: live~4896 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/c13e4f3dad05c4517ae05985c24ef2331bf501ef?hp=0c471ae14d38ce09a6cfd6c8a7d312ee19cdf7e5 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. --- diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 4b66fa149..721fd18ed 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -16,7 +16,7 @@
-
+