a11y-todos

Expand History Expand History
Collapse History Collapse History

Mark
when open

When showing the <dialog> element modally, prevent tab focus and other interaction with the rest of the page by marking the <main> element with the [inert] attribute. This commit includes an [inert] attribute polyfill.

To ensure that the application is tab-navigable, add a System Test to exercise that behavior. To make assertions about focus state, add a dependency on the capybara_accessible_selectors gem to augment the standard set of Capybara selectors and filters.

Finally, as part of pushing the dialog-polyfill, include an accessibility-motivated polyfill to manage focus state when a <dialog> is opened and closed.