Open gcamacho079 opened 2 years ago
Aims to fix a few accessibility issues with modals, including the following:
aria-hidden="true"
style
script
triggerElement
This is being worked on consecutively with updates in the CMS repo
CMS-009, CMS-010, and CMS-014 in issue tracker
@brandonkelly this is nearly there, but I'd like to test on an instance (if there is one) where two modals are visible at once to ensure the ariaHide function is working properly.
Description
Aims to fix a few accessibility issues with modals, including the following:
aria-hidden="true"
on all sibling elements in the body (not includingstyle
orscript
tags)triggerElement
setting to store default element to refocus on closeThis is being worked on consecutively with updates in the CMS repo
Related issues
CMS-009, CMS-010, and CMS-014 in issue tracker