Adding role for search form and searchbox
This should improve accessibility of the search form/box
@@ -221,13 +221,13 @@ ${h.initPageVariables(context)}
<div class="searchbox hidden-xs">
<!-- search box -->
<j:set var="searchURL" value="${h.searchURL}"/>
- <form action="${searchURL}" method="get" style="position:relative;" class="no-json" name="search">
+ <form action="${searchURL}" method="get" style="position:relative;" class="no-json" name="search" role="search">
<!-- this div determines the minimum width -->
<div id="search-box-minWidth"/>
<!-- this div is used to calculate the width of the text box -->
<div id="search-box-sizer"/>
<div id="searchform">
- <input name="q" placeholder="${%search}" id="search-box" class="has-default-text" value="${request.getParameter('q')}" />
+ <input name="q" placeholder="${%search}" id="search-box" class="has-default-text" value="${request.getParameter('q')}" role="searchbox" />
<st:nbsp />
<a href="${%searchBox.url}"><l:icon class="icon-help icon-sm" /></a>
<div id="search-box-completion" />
