Fails
Same search button, different names
Live preview
<!-- Home page --><form role="search" action="/search/"> <label for="q">Search the shop</label> <input id="q" type="search" name="q"> <button type="submit">Search</button></form> <!-- Product pages --><form role="search" action="/search/"> <label for="q">Search the shop</label> <input id="q" type="search" name="q"> <button type="submit">Find</button></form>
The same function is called Search on one page and Find on another, so people have to work out that the two buttons do the same thing. WCAG documents this as failure F31.