dev-jot icon indicating copy to clipboard operation
dev-jot copied to clipboard

Trap focus inside modal/dialog

Open jrobind opened this issue 5 years ago • 0 comments

When the lesson view modal appears there is no focus trap which is bad for assistive tech users. Currently, there is no way for a user to tab onto the close button and screen readers will also be unaware that a modal has appeared on screen.

Screen Shot 2020-12-03 at 23 09 18

I suggest we follow the W3 spec: https://www.w3.org/TR/wai-aria-practices-1.1/examples/dialog-modal/dialog

jrobind avatar Dec 04 '20 14:12 jrobind