Back to articles

There is No Need to Trap Focus on a Dialog Element

via CSS TricksZell Liew

Accessibility advice around modals have commonly taught us to trap focus within the modal. Upon further research, it seems like we no longer need to trap focus within the <dialog> (even in modal mode). There is No Need to Trap Focus on a Dialog Element originally published on CSS-Tricks , which is part of the DigitalOcean family. You should get the newsletter .

Continue reading on CSS Tricks

Opens in a new tab

Read Full Article
2 views

Related Articles