-
Notifications
You must be signed in to change notification settings - Fork 873
Accessibility Issue - aria-hidden attribute on Off-Canvas wrap. #108
Comments
Hi James
I see your point, and I guess I have missed something on the way. Perhaps it would be a good idea to move the aria-hidden="true" attribute from the off-canvas-wrap class to the left-off-canvas-menu class? |
I was going to do a pull request, but honestly I'm not too sure what the right approach is. I think it would make sense to put |
Then I think we agree. Removing the |
Thanks! #109 |
In
header.php
the aria-hidden attribute on theoff-canvas-wrap
is set totrue
. The effect of this is that screen readers (particularly JAWS) return a message that the document is empty.<div class="off-canvas-wrap" data-offcanvas aria-hidden="true">
Changing it to
false
solves the problem.<div class="off-canvas-wrap" data-offcanvas aria-hidden="false">
The text was updated successfully, but these errors were encountered: