Closed IdaAkiwumi closed 3 years ago
This was the mobile toggle button. I added a span with aria-hidden="true"
for the icon as well as a screen reader only span for the label itself, following the recommended markup pattern for accessible icon fonts found here.
While using the WAVE tool, I was alerted to there being an empty link on the page.
This is the link that seems to be empty, but I'm not sure if there's another way to present this link
<a href="#" class="mobile-toggle"></a>
I read this article, that says to code empty links like this:
<a href=”javascript:void(0);”>link</a>
so does it make sense to code the above like this:<a href="javascript:void(0);" class="mobile-toggle"></a>
?