The New Dialog HTML Element Changes Modals Forever

Modals have been a part of web development for decades now, but they have always been a bit of a pain to work with.

The main reason modals have been such a pain is because it is difficult to make a truly accessible modal that conforms to all accessibility standards. 


This is why the new HTML dialog element is so exciting.


The dialog element makes it so much easier to create accessible modals, and in this video I will explain everything you need to know about the dialog element to use it in your next project.

Web Dev Simplified
1.12M subscribers