From 81b2b6a9c176ff29a390a9555f996acf515cb323 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 16 Jun 2014 09:19:46 -0400
Subject: [PATCH] Make order of quicksearch box elements more intuitive for keyboard navigation

---
 skins/larry/templates/mail.html        |    2 +-
 skins/larry/templates/addressbook.html |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/skins/larry/templates/addressbook.html b/skins/larry/templates/addressbook.html
index 0ce0368..153cfc4 100644
--- a/skins/larry/templates/addressbook.html
+++ b/skins/larry/templates/addressbook.html
@@ -40,8 +40,8 @@
 <div id="quicksearchbar" class="searchbox" role="search" aria-labelledby="aria-label-searchform">
 <h2 id="aria-label-searchform" class="voice"><roundcube:label name="arialabelcontactsearchform" /></h2>
 <label for="quicksearchbox" class="voice"><roundcube:label name="arialabelquicksearchbox" /></label>
-<roundcube:object name="searchform" id="quicksearchbox" />
 <roundcube:button command="menu-open" prop="searchmenu" id="searchmenulink" class="iconbutton searchoptions" title="searchmod" label="options" aria-haspopup="true" aria-expanded="false" aria-owns="searchmenu-menu" />
+<roundcube:object name="searchform" id="quicksearchbox" />
 <roundcube:button command="reset-search" id="searchreset" class="iconbutton reset" title="resetsearch" label="resetsearch" />
 
 <div id="searchmenu" class="popupmenu" data-editable="true">
diff --git a/skins/larry/templates/mail.html b/skins/larry/templates/mail.html
index 1ca5fbb..f2dc677 100644
--- a/skins/larry/templates/mail.html
+++ b/skins/larry/templates/mail.html
@@ -38,8 +38,8 @@
 <div id="quicksearchbar" class="searchbox" role="search" aria-labelledby="aria-label-searchform">
 <h2 id="aria-label-searchform" class="voice"><roundcube:label name="arialabelmailsearchform" /></h2>
 <label for="quicksearchbox" class="voice"><roundcube:label name="arialabelmailquicksearchbox" /></label>
-<roundcube:object name="searchform" id="quicksearchbox" />
 <roundcube:button command="menu-open" prop="searchmenu" id="searchmenulink" class="iconbutton searchoptions" title="searchmod" label="options" aria-haspopup="true" aria-expanded="false" aria-owns="searchmenu-menu" />
+<roundcube:object name="searchform" id="quicksearchbox" />
 <roundcube:button command="reset-search" id="searchreset" class="iconbutton reset" title="resetsearch" label="resetsearch" />
 
 <div id="searchmenu" class="popupmenu" data-editable="true">

--
Gitblit v1.9.1