-
-
Save bubbleheadinc/8475464 to your computer and use it in GitHub Desktop.
Expanded use of aria roles; included changed main <section> to <main> element; Expanded markup with different scenarios to include article, aside and structures within
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<body> | |
<header role="banner"> | |
<a href="/" rel="home">My company</a> | |
<nav role="navigation"> | |
<a href="/about">About</a> | |
<a href="/contact">Contact</a> | |
</nav> | |
<form role="form"> | |
<input type="search" value="Search away" role="search"/> | |
</form> | |
</header> | |
<main role="main"> | |
<article> | |
<header role="heading"> | |
<h1>The meat and potatos</h1> | |
<h2>Green beans and gravy</h2> | |
</header> | |
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> | |
<footer role="complementary">Meta or other about article</footer> | |
</article> | |
<aside role="complementary"> | |
<header role="heading"> | |
<h3>Heading of aside</h3> | |
</header> | |
</aside> | |
</main> | |
<footer role="contentinfo"> | |
<p>© Copyright Ben Schwarz 2011</p> | |
</footer> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment