DEV Community

Discussion on: Popup with Pure CSS

felixdorn profile image
Félix Dorn

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

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 :)

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:

EDIT: also relevant