I was wondering what some of my fellow web developers/designers felt would be the best HTML 5 element to use for a modal dialog like a lightbox, superbox, thickbox, or whatever your favorite flavor might happen to be.
Since these types of UI's don't follow the typical flow of a 'normal' web page (which, apparently, according to HTML 5 spec gurus is, essentially, a blog), they don't really fall into place like a <header>
,<nav>
,<section>
, <article>
, or a <footer>
(amongst other new 'semantic' elements) might.
Of course, there is always the <div>
, but, I was just kinda thinking there might be something a little more semantically-accurate.
Unfortunately, there is no <modal>
element. What are your thoughts on whether there should be one in the spec? And since the element doesn't exist, what would be your next best choice?