<!--Dialog may be defined above/below the main content of the page (e.g. above/below MAIN/FOOTER element)-->
<!--if no suitable heading or labelling element exists, we can specify the label in an aria-label property instead-->
<section class="o-dialog" id="dialog" hidden inert role="dialog" aria-labelledby="dialog-title" aria-hidden="true">
<!--To assist older screen reader versions (NVDA in particular), any immediate child of the dialog role must have a document role (if it contains content). In time, as screen reader support improves, the requirement for this role may go away.-->
<section class="o-dialog__window" role="document">
<header class="o-dialog__header">
<h2 class="o-dialog__title" id="dialog-title">Dialog Title</h2>
<button type="button" id="modal-close-btn" aria-label="close dialog" class="o-dialog__close-btn">
<i class="o-dialog__close-icon" aria-hidden="true"></i>
</button>
</header>
<article class="o-dialog__body">
<p>
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo. Quisque sit amet est et sapien ullamcorper pharetra. Vestibulum erat wisi, condimentum sed, commodo vitae, ornare sit amet, wisi.
</p>
<input type="text" />
<a href="#x" class="o-dialog__link">www.mystie.com</a>
</article>
</section>
<!--
NOTE:
1. Because the mask does not contain content, it does not need a document role.
2. The overlay does not prevent keyboard or screen reader
from accessing the page content behind the window (we need JavaScript for that)
-->
<div class="o-dialog__overlay" id="dialog-overlay"></div>
</section>
<!--Other content-->
<main>
<section class="o-tile">
<header...