===start invisible code=== (no CSS used to render icons)
===end sample
This is a snip from a WordPress implemementation nstall of a search bar. Icon fonts are used, and we'll experiment to make them accessible.
<nav id="smartMenu">
<ul><li><a href="#">another link</a></li>
<li>
<a id="toggleSearch">
<i class="icon-search"></i>
</a>
</li>
</ul>
</nav>
===Start===
===finish===
<nav id="smartMenu">
<ul>
<li>
<a id="toggleSearch" aria-label="search" tabindex="0" role="button" aria-expanded="false">
<i class="icon-search" role="search"></i>
</a>
</li>
</ul>
</nav>
JAWS | NVDA | VoiceOver | |
---|---|---|---|
FireFox34.0.5 | OK | OK | N/A |
IE11.0.9 | OK | OK | N/A |
Chrome 39.02 | OK | OK | N/A |
Safari MacOS | N/A | N/A | OK |
xxxxxxxx