As XHTML
<?xml version="1.0"?>
<html xmlns="http://www.w3.org/1999/xhtml">
MUST be application/xhtml+xml or application/xml
<noscript>Not in XHTML</noscript>
<article id="main" role="main">
<section id="main-content">
<header>
<hgroup>
<h2>A title</h2>
<h3>Subtitle to the above title</h3>
</hgroup>
</header>
<article>
<p>
Some content, created <time datetime="2010-01-31">January 31st 2010</time>.
</p>
</article>
<article>
<p>Some more content - I guess you get the drift by now.</p>
</article>
</section>
<aside role="complementary">
This is just a demo page to see HTML5 markup and WAI-ARIA landmark roles in action.
</aside>
</article>
<footer id="page-footer" role="contentinfo">
Created by <a href="http://robertnyman.com/">Robert Nyman</a>
</footer>
<aside aria-live="polite" aria-relevant="additions" aria-atomic="true">
Some sidebar content
</aside>
WAI-ARIA Authoring Practices 1.0
Live Regions
-
http://www.w3.org/WAI/PF/aria-practices/
#LiveRegions
<video controls>
<source src="swedish-flag.mp4">
<source src="swedish-flag.ogv">
<p>
Sorry, your web browser doesn't
support the video element.
</p>
</video>
1–1 of 1 previous next