Skip Links Attributes
-
I have an accessibility expert that is concerned that the role attribute is set to “navigation” on the skip link and should be removed.
here is what it looks like:
$('body').prepend('<div class="wpa-hide-ltr" id="skiplinks" role="navigation" aria-label="Skip links"><a href="#main-content">Skip to content</a> </div>'); $('#main-content').attr('tabindex','-1');
Is that a valid concern? If so, is there a way to remove that attribute?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Skip Links Attributes’ is closed to new replies.