Skip to main content


This is frustrating because the unnamed people advising that were wrong. It confuses trapping page focus in a modal to blocking users from using the rest of their browser. Also, ugh APG.

css-tricks.com/there-is-no-nee…

If you find someone advising it, be wary of their UI / accessibility chops.

#HTML #accessibility #a11y

in reply to Adrian Roselli, pH0

Just to muddy the waters... I've had folks argue it's not a "trap" if ESC is implemented to close the modal. And, okay, maybe. But it's still not expected/native behavior. You should be able to tab to the browser's chrome (address bar etc) even with the dialog open.