aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Bacon <luke@equivalentideas.com>2015-04-01 13:26:56 +1100
committerLuke Bacon <luke@equivalentideas.com>2015-04-01 13:26:56 +1100
commitb7610fc46adf3be67486c1fe061d1da6bd3184dc (patch)
treedb259d12ff409e434655774ebada9fe4427ad648
parent0b0a2ea3fdab2edc5604819ca5079dda25670400 (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.erb2
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>