Tutorial by Examples: e

A cell containing header information for a row in a grid. <table role="grid"> <thead> <!-- etc --> </thead> <tbody> <tr> <th role="rowheader">Day 1</th> <td>65</td> </tr> ...
A graphical object that controls the scrolling of content within a viewing area, regardless of whether the content is fully displayed within the viewing area. <div id="content1">Lorem ipsum...</div> <div role="scrollbar" aria-controls="content1" ...
A landmark region that contains a collection of items and objects that, as a whole, combine to create a search facility. <div role="search"> <input role="searchbox" type="text"> <button role="button">Search</button> </div>...
A type of textbox intended for specifying search criteria. <div role="search"> <input role="searchbox" type="text"> <button role="button">Search</button> </div>
A divider that separates and distinguishes sections of content or groups of menuitems. <p>Lorem ipsum...</p> <hr role="separator"> <p>Lorem ipsum...</p>
A user input where the user selects a value from within a given range. <div role="slider" aria-valuemax="100" aria-valuemin="0" aria-valuenow="25"> <div class="sliderhandle"></div> </div>
A form of range that expects the user to select from among discrete choices. <input role="spinbutton" aria-valuemax="100" aria-valuemin="0" aria-valuenow="25" type="number" value="25">
A container whose content is advisory information for the user but is not important enough to justify an alert, often but not necessarily presented as a status bar. <div role="status">Online</div>
A type of checkbox that represents on/off values, as opposed to checked/unchecked values. <select role="switch" aria-checked="false"> <option>On</option> <option selected>Off</option> </select>
A grouping label providing a mechanism for selecting the tab content that is to be rendered to the user. <ul role="tablist"> <li role="tab">Introduction</li> <li role="tab">Chapter 1</li> <li role="tab">Chapter 2&l...
A section containing data arranged in rows and columns. The table role is intended for tabular containers which are not interactive. <table role="table"> <thead> <!-- etc --> </thead> <tbody> <!-- etc --> </tbody> </table...
A list of tab elements, which are references to tabpanel elements. <ul role="tablist"> <li role="tab">Introduction</li> <li role="tab">Chapter 1</li> <li role="tab">Chapter 2</li> </ul>
A container for the resources associated with a tab, where each tab is contained in a tablist. <ul role="tablist"> <li role="tab">Introduction</li> <li role="tab">Chapter 1</li> <li role="tab">Chapter 2</li> ...
Input that allows free-form text as its value. <textarea role="textbox"></textarea>
A type of live region containing a numerical counter which indicates an amount of elapsed time from a start point, or the time remaining until an end point. <p> <span role="timer">60</span> seconds remaining. </p>
A collection of commonly used function buttons represented in compact visual form. <ul role="toolbar"> <li><img alt="New" src="new.png"></li> <li><img alt="Open" src="open.png"></li> <li><i...
A contextual popup that displays a description for an element. <span aria-describedby="slopedesc">Slope</span> <div role="tooltip" id="slopedesc">y=mx+b</div> Typically, the tooltip would be hidden. Using JavaScript, the tooltip would be dis...
A type of list that may contain sub-level nested groups that can be collapsed and expanded. <ul role="tree"> <li role="treeitem"> Part 1 <ul> <li role="treeitem">Chapter 1</li> <li role="treeitem"&gt...
A grid whose rows can be expanded and collapsed in the same manner as for a tree.
An option item of a tree. This is an element within a tree that may be expanded or collapsed if it contains a sub-level group of treeitems. <ul role="tree"> <li role="treeitem"> Part 1 <ul> <li role="treeitem">Chapter 1</l...

Page 310 of 1191