diff options
author | Luke Bacon <luke@equivalentideas.com> | 2015-04-01 13:26:56 +1100 |
---|---|---|
committer | Luke Bacon <luke@equivalentideas.com> | 2015-04-01 13:26:56 +1100 |
commit | b7610fc46adf3be67486c1fe061d1da6bd3184dc (patch) | |
tree | db259d12ff409e434655774ebada9fe4427ad648 | |
parent | 0b0a2ea3fdab2edc5604819ca5079dda25670400 (diff) |
add aria landmark role to search form
see spec http://www.w3.org/TR/wai-aria/roles#search
This helps citizens using assistive technology
navigate the application
relates to issue #2210
-rw-r--r-- | app/views/general/_responsive_topnav.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/general/_responsive_topnav.html.erb b/app/views/general/_responsive_topnav.html.erb index d39ec59ed..a817de662 100644 --- a/app/views/general/_responsive_topnav.html.erb +++ b/app/views/general/_responsive_topnav.html.erb @@ -21,7 +21,7 @@ </li> <li id="navigation_search"> - <form id="navigation_search_form" method="post" action="<%= search_redirect_path %>"> + <form id="navigation_search_form" method="post" action="<%= search_redirect_path %>" role="search"> <label class="visually-hidden" for="navigation_search_button"> Search </label> |