Zoltan Hawryluk, zoltan.dulac@gmail.com
Used by Assistive Technologies (like screen readers) to:
banner | <header> | A region that contains mostly site-oriented content, rather than page-specific content. |
---|---|---|
main | <main> | The main content on a page |
navigation | <nav> | any item that is used to navigate throughout a web page or web site (e.g. a menu) |
complementary | <aside> | (e.g. a sidebar) |
contentinfo | A large perceivable region that contains information about the parent document. | |
form | <form> | Contains a series of inputs that are used to collect information from the user. |
search | An area that has a search widget | |
application | N/A | A web application that overrides normal keyboard/screenreader behaviour and has its own unique user interface. If you don't know what this means, don't use it. |
<h2 role="tab">heading tab</h2>
<div role="tab"><h2>heading tab</h2></div>
<button role="presentation"> press me </button>
<button aria-hidden="true"> press me </button>
<button
style="opacity: 0" tabindex="-1"
aria-hidden="true" > press me </button>
<button
style="display: none" aria-hidden="true" > press me </button>
user name <input type="text">
<label>user name</label> <input type="text">
<label for="uname">user name</label> <input type="text" id="uname">