aria-hidden attribute remains false after close
-
Very usefull plugin, as default navigation block lacks this functionality.
Would be nice, if the aria-hidden attribute also gets set to true like with close button and it also closes at click on anchor links, this is also missing at default nav block.
maybe its better to use
document.getElementsByClassName(‘wp-block-navigation__responsive-container-close’).item(0).click()for closing instead of setting the classes of the modal and html
Regards spencer
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘aria-hidden attribute remains false after close’ is closed to new replies.