Created
February 5, 2013 13:13
-
-
Save nfreear/4714368 to your computer and use it in GitHub Desktop.
HTML5 boilerplate with WAI-ARIA landmark roles (IET-LTT, OU, QA)
This file contains 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 lang=en > | |
<meta http-equiv=X-UA-Compatible content="IE=edge" /> | |
<meta charset=utf-8 /> | |
<!--[if lt IE 9]> | |
<script src="//html5shim.googlecode.com/svn/trunk/html5-els.js"></script> | |
<script> document.createElement("main") </script> | |
<![endif]--> | |
<title> MY TITLE </title> | |
<header role=banner > | |
<h1> BANNER </h1> | |
</header> | |
<nav role=navigation > | |
<ul> | |
<li><a href=# >NAVIGATION</a> | |
</ul> | |
</nav> | |
<form role=search > | |
<label for=q >Search</label> | |
<input id=q name=q type=search /> | |
<input type=submit /> | |
</form> | |
<main role=main> | |
MAIN | |
</main> | |
<aside role=complementary > | |
COMPLEMENTARY | |
</aside> | |
<footer role=contentinfo > | |
FOOTER | |
</footer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment