Closed ajb closed 11 years ago
contradicts http://a11yproject.com/posts/title-attributes/
maybe there's a better solution?
Does that mean this isn't an issue? "For screen reader users the content included inside of the title attribute is typically unncessary, redundant, and possibly not even used."
Actually -- only an issue for buttons with no text content. (Like the navbar-toggle
button.)
I've updated the markup to look like this:
<button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
<span class="visually-hidden">Expand Navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
the navbar toggle button (on mobile) is a good example of this occurring.