aria-controls should not include id-selector (so-called “hashtag”)
-
According to the docs and the validator, the aria-controls attribute should include the id of an element directly, without any selectors. Therefore the file
templates/button/toggle.php
should be corrected as follows:<button type="button" class="quadmenu-navbar-toggle collapsed" data-quadmenu="collapse" data-target="<?php echo esc_attr($target); ?>" aria-expanded="false" aria-controls="quadmenu"> <span class="icon-bar-container"> <span class="icon-bar icon-bar-top"></span> <span class="icon-bar icon-bar-middle"></span> <span class="icon-bar icon-bar-bottom"></span> </span> </button>
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘aria-controls should not include id-selector (so-called “hashtag”)’ is closed to new replies.