My team will soon be refactoring our modal dialogue component. Ours has a few deficiencies, needs better developer experience and documentation, is not built to our Design System component standards, and could use a resilience boost from some progressive enhancement.
Jeremy Keith takes us through his thought process regarding the choice of link or
button when planning accessible interactive disclosure elements.
I previously noted Keith J Grant’s article on the HTML
dialog element which promised a native means of handling popups and modal dialogues. I’ve not yet used
dialog in production, partly because of spotty browser support (although there is a polyfill) but also partly because—for reasons I couldn’t quite put my finger on after reading the spec—it just didn’t feel like the finished article.
dialog: a new, easier, standards-based means of rendering a popup or modal dialogue.
See all tags.