By default, any dialog container having the
A11yDialog constructor (see below).
As recommended in the markup usage section of this documentation, the dialog element is supposed to be on the same level as your content container(s). Therefore, the script will toggle the
aria-hidden attribute of the siblings of the dialog element as a default. You can change this behaviour by passing a
Element or a selector as second argument to the