Empty buttons causing accessibility errors
-
When I run this page on Wave, I get the empty button error. 2 other pages in the Cafe section get the same error, but, no other pages on the site have this error. These three pages are the only pages on the site that use the restaurant menu, but don’t sdee any problem with that. When I view page source I do see 3 buttons, but they are not empty, they do have text between the tags. I don’t see anything else – button or input that could be causing the error.
Can anyone see what might be causing the problem?
Only buttons I see on the page. Other pages have these same buttons, so I don’t think they are causing the error:
<button type="button" class="btn btn-default btn-navbar navbar-toggle mendef" data-toggle="collapse" data-target="#cshero-main-menu-mobile"><i class="fa fa-align-justify"></i><span class="sr-only">Toggle Menu</span></button>
<button type="button" class="a11y-toggle-contrast toggle-contrast" id="is_normal_contrast" aria-pressed="false"><span class="offscreen">Toggle High Contrast</span><span class="aticon aticon-adjust" aria-hidden="true"></span></button>
<button type="button" class="a11y-toggle-fontsize toggle-fontsize" id="is_normal_fontsize" aria-pressed="false"><span class="offscreen">Toggle Font size</span><span class="aticon aticon-font" aria-hidden="true"></span></button>
The page I need help with: [log in to see the link]
- The topic ‘Empty buttons causing accessibility errors’ is closed to new replies.