Toggle Modal

I get your point here and the current behavior seems to make sense.
I’m not completely certain yet, but looking at the HTML (structure), it’s fine as it is.

Don’t want to sound too picky, just noted some general thoughts to explore the general idea behind and I’m glad you picked some of them.

I’m following the a11y topic closely, but I’m far away from making any serious suggestions in that regard.
Maybe at some point, all interactive blocks could be reviewed by an independent and subject-related party?
That’s the only proposal I can make.

Thanks a lot for explaining in detail.
I’ve already seen it inside the CSS, so it makes perfect sense.
Great composition of the block, as already mentioned.

Very interesting point. That was not on my radar at all. You got it totally right here.
To be honest, I wasn’t aware this is even possible.
Seems like there is plenty to explore yet inside Cwicly.

Still, there should be an option to opt-out, but I’m fine with it if that won’t happen.

One last thing:
I see the necessity to make sure that the focus will be restored on the initial modal trigger button after closing the modal, independent of the closing method.
Currently, it remains inside the modal (when interacting with it in its active state), which sits at the very bottom of the document.

Thank you @Louis.

1 Like