In order to be WCAG compliant you must be able to return to the previous focus before entering a focus trap. Can be achieved by saving the previous focus in a class var
In order to be WCAG compliant you must be able to return to the previous focus before entering a focus trap.
Can be achieved by saving the previous focus in a class var