DEV Community

Discussion on: Popup with Pure CSS

Collapse
felixdorn profile image
Félix Dorn

Great! What about accessibility? It's a key point of doing good pop-up, I guess?

Collapse
tayfunerbilen profile image
Tayfun Erbilen Author • Edited on

Well yeah, we need to use javascript, I know, but for little things I believe we can use pure css :)

Collapse
spone profile image
Spone • Edited on

I thinks the main accessibility problem with this approach is that the focus is not "locked" in the popup. See an overview of the current way of doing that here: stackoverflow.com/a/44481275/1789900

EDIT: also relevant developer.mozilla.org/en-US/docs/W...