Tutorial by Examples: e

A single item in a list or directory. <ul role="list"> <li role="listitem">One</li> <li role="listitem">Two</li> <li role="listitem">Three</li> </ul>
A type of live region where new information is added in meaningful order and old information may disappear. <ul role="log"> <li>User 1 logged in.</li> <li>User 2 logged in.</li> <li>User 1 logged out.</li> </ul>
The main content of a document. <!-- header & nav here --> <div role="main"> <p>Lorem ipsum...</p> </div> <!-- footer here -->
A type of live region where non-essential information changes frequently. <ul role="marquee"> <li>Dow +0.26%</li> <li>Nasdaq +0.54%</li> <li>S&P +0.44%</li> </ul>
Content that represents a mathematical expression. <img role="math" alt="y=mx+b" src="slope.png">
A type of widget that offers a list of choices to the user. <ul role="menu"> <li role="menuitem">New</li> <li role="menuitem">Open</li> <li role="menuitem">Save</li> <li role="menuitem">Clo...
A presentation of menu that usually remains visible and is usually presented horizontally. <ul role="menubar"> <li role="menuitem">File</li> <li role="menuitem">Edit</li> <li role="menuitem">View</li> <...
An option in a group of choices contained by a menu or menubar. <ul role="menubar"> <li role="menuitem">File</li> <li role="menuitem">Edit</li> <li role="menuitem">View</li> <li role="menuitem&quot...
A checkable menuitem that has three possible values: true, false, or mixed. <ul role="menu"> <li role="menuitem">Console</li> <li role="menuitem">Layout</li> <li role="menuitemcheckbox" aria-checked="true"&g...
A checkable menuitem in a group of menuitemradio roles, only one of which can be checked at a time. <ul role="menu"> <li role="menuitemradio" aria-checked="true">Left</li> <li role="menuitemradio" aria-checked="false">C...
A collection of navigational elements (usually links) for navigating the document or related documents. <ul role="navigation"> <li><a href="/">Home</a></li> <li><a href="/about">About</a></li> <li>&lt...
A section whose content is parenthetic or ancillary to the main content of the resource. <p>Lorem ipsum...</p> <p>Lorem ipsum...</p> <p role="note">Lorem ipsum...</p>
A selectable item in a select list. <ul role="listbox"> <li role="option">Option 1</li> <li role="option">Option 2</li> <li role="option">Option 3</li> </ul>
An element whose implicit native role semantics will not be mapped to the accessibility API. <div style="float:left;">Some content on the left.</div> <div style="float:right;">Some content on the right</div> <div role="presentation" style=&...
An element that displays the progress status for tasks that take a long time. <progress role="progressbar" value="25" max="100">25%</progress>
A checkable input in a group of radio roles, only one of which can be checked at a time. <div role="radiogroup"> <input role="radio" type="radio" aria-checked="true"> One<br> <input role="radio" type="radio" aria...
A large perceivable section of a web page or document, that the author feels is important enough to be included in a page summary or table of contents, for example, an area of the page containing live sporting event statistics. <div role="region"> Home team: 4<br> Away t...
A group of radio buttons. <div role="radiogroup"> <input role="radio" type="radio" aria-checked="true"> One<br> <input role="radio" type="radio" aria-checked="false"> Two<br> <input role=...
A row of cells in a tabular container. <table> <thead> <!-- etc --> </thead> <tbody> <tr role="row"> <!-- etc --> </tr> </tbody> </table>
A group containing one or more row elements in a grid. <table> <thead role="rowgroup"> <!-- etc --> </thead> <tbody role="rowgroup"> <!-- etc --> </tbody> </table>

Page 309 of 1191