Copyright © 2008 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.
Todo: Will need to add a DTD reference when we know what it is
Todo: mark up abbreviations (GUI, OS, API, AT...) Al to nag list for followup on question
Todo: do a relationship diagram of mustcontain and scope to see if they are sane with respect to each other, and accurate to the prose.
Todo: strip empty rows out of doc when spec is being finalized
Accessibility of Web content to people with disabilities requires semantic information about widgets, structures, and behaviors, in order to allow Assistive Technologies to make appropriate transformations. This specification provides an ontology of roles, states, and properties that set out an abstract model for accessible interfaces and can be used to improve the accessibility and interoperability of Web Content and Applications. This information can be mapped to accessibility frameworks that use this information to provide alternative access solutions. Similarly, this information can be used to change the rendering of content dynamically using different style sheet properties. The result is an interoperable method for associating behaviors with document-level markup. This document is part of the WAI-ARIA suite described in the ARIA Overview.
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.
This is an internal Editor's Draft of the Protocols and Formats Working Group. It is not stable and may change at any time. Implementors should not use this for anything other than experimental implementations. This document is available to W3C Members and should not be distributed to anyone who does not have W3C Member access.
Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.
This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.
The disclosure obligations of the Participants of this group are described in the charter.
This section is informative.
The domain of Web accessibility defines how to make Web content usable by people with disabilities. People with some types of disabilities use Assistive Technology (AT) to interact with content. AT can transform the presentation of content into a format more suitable to the user, and can allow the user to interact in different ways than the author designed. In order to accomplish this, AT must understand the semantics of the content. Semantics are knowledge of roles, states, and properties, as a person would understand them, that apply to elements within the content. For instance, if a paragraph is semantically identified as such, AT can interact with it as a unit separable from the rest of the content, knowing the exact boundaries of that paragraph. A slider or tree control is a more complex example, in which various parts of a widget each have semantics that must be properly identified for the computer to support effective interaction.
Established content technologies define semantics for elements commonly used in those technologies. However, new technologies can overlook some of the semantics required for accessibility. Furthermore, new authoring practices evolve which override the intended semantics—elements that have one defined semantic meaning in the technology are used with a different semantic meaning intended to be understood by the user.
For example, Rich Internet Applications developers can create a tree control in HTML using CSS and JavaScript even though HTML lacks a semantic element for that. A different element must be used, possibly a list element with display instructions to make it look and behave like a tree control. Assistive technology, however, must present the element in a different modality and the display instructions may not be applicable. The AT will present it as a list, which has very different display and interaction from a tree control, and the user may be unsuccessful at understanding and operating the control.
The incorporation of WAI-ARIA is a way for an author to provide proper type semantics on custom widgets (elements with repurposed semantics) to make these widgets accessible, usable and interoperable with assistive technologies. This specification identifies the types of widgets and structures that are recognized by accessibility products, by providing an ontology of corresponding roles that can be attached to content. This allows elements with a given role to be understood as a particular widget or structural type regardless of any semantic inherited from the implementing technology. Roles are a common property of platform Accessibility APIs which applications use to support assistive technologies. Assistive technology can then use the role information to provide effective presentation and interaction with these elements.
This role taxonomy currently includes interaction widget (user interface control) and structural document (content organization) types of objects. The role taxonomy describes inheritance (widgets that are types of other widgets) and details what states and properties each role supports. When possible, information is provided about mapping of roles to accessibility APIs.
Roles are element types and should not change with time or user actions. Changing the role on an element from its initial value will confuse an assistive technology. Platform accessibility APIs, to which the roles are mapped by the browser, do not provide a vehicle to notify the assistive technology of a role type changing. If the old element type is be replaced by a new one, the corresponding element and its subtree should be removed from the document and a new one inserted containing the new role type.
Changeable states and properties of elements are also defined in this specification. States and Properties are used to declare important properties of an element that affect and describe interaction. These properties enable the user agent or operating system to properly handle the element even when these properties are altered dynamically by scripts. For example, alternative input and output technology such as screen readers, speech dictation software and on-screen keyboards must recognize the state of an element (such as: if an object is disabled, checked, focused, collapsed, hidden, etc.).
While it is possible for assistive technologies to access these properties through the Document Object Model [DOM], the preferred mechanism is for the user agent to map the States and Properties to the accessibility API of the operating system.
Figure 1.0 illustrates a typical Document Object Model (DOM) [DOM] node. Placed within the DOM node and the assistive technology is a box containing the contract provided by the user agent to the assistive technology. This data includes typical accessibility information found in the accessibility API for many of our accessible platforms for GUIs (role, state, caret, selection, event notification, parent/child information, relationship, and descriptions).
For more information see the WAI-ARIA Primer [ARIA-PRIMER] for the use of roles in making interactive content accessible.
In addition to the prose documentation, the role taxonomy is provided in Web Ontology Language (OWL) [OWL], which is an implementation of Resource Description Framework (RDF) [RDF]. Tools can use these to validate the implementation of roles in a given content document.
Note: the use of RDF/OWL as a formal representation of roles is intended to support future extensibility. Standard RDF/OWL mechanisms can be used to define new roles that inherit from the roles defined in this specification. The mechanism to define and use role extensions in an interoperable manner, however, is not defined by this specification. A future version of ARIA is expected to define how to extend roles.
The design aims of creating this specification include:
This draft currently handles two aspects of roles: GUI functionality and structural relationships of the element. For more information see the WAI-ARIA Primer [ARIA-PRIMER] for the use of roles in making interactive content accessible.
The role taxonomy is designed in part to support the common roles found in platform accessibility APIs. Reference to roles found in this taxonomy by dynamic Web content may be used to support interoperability with assistive technologies.
The schema to support this standard has been designed to be extensible so that custom roles can be created by extending base roles. This allows user agents to support at least the base role, and user agents that support the custom role can provide enhanced access. Note that much of this could be formalized in XML Schema [XSD]. However, being able to define similarities between roles, such as baseConcepts and more descriptive definitions, would not be available in XSD. While this extensibility is possible, this version of the specification does not define how this extension is to be achieved.
WAI-ARIA is supported by a set of informative resources. In addition to the WAI-ARIA Roadmap, the WAI-ARIA Primer [ARIA-PRIMER] provides a basic introduction to the concepts behind and reason for ARIA, and the WAI-ARIA Best Practices [ARIA-PRACTICES] describe recommended usage patterns for Web content developers. These documents are intended to help authors learn the practice of putting WAI-ARIA to use.
Keyboard accessible content helps users of alternate input devices. The new semantics when combined by our style guide work will allow alternate input solutions to facilitate command and control on via an alternate input solution.
Low vision solutions benefit from ARIA markup in that the improved keyboard navigation helps people with extremely low vision. Low vision solutions offer a degree of screen reading functionality (like AI Squared's Zoom text). Furthermore, ARIA introduces navigation landmarks both through our taxonomy and the XHTML role landmarks which dramatically improves keyboard navigation productivity. This is a huge benefit for alternate input solutions as well.
ARIA will also be used to assist people with cognitive impairments. The additional semantics will allow authors to restructure and substitute alternative content in adaptive Web 2.0 solutions.
Assistive technology needs the ability to support alternative input forms by getting and setting the current value of widgets. AT also needs to determine what objects are selected, and manage widgets that allow multiple selections.
Todo: fill out using content from discussion on list relating to Henri Sivonen's feedback
ARIA is used as a supplement for native language semantics, not a replacement. When the host language provides a feature that is equivalent to the ARIA feature, use the host language feature. ARIA should only be used in cases where the host language lacks the needed role, state, or property indicator. Use a host language feature that is as similar as possible to the ARIA feature, then refine the meaning using ARIA. For instance, a multiselectable grid could be implemented as a table, and then ARIA used to clarify that it is a grid, not just a table. This allows for the best possible fallback for user agents that do not support ARIA and preserves the integrity of the host language semantics.This section is informative.
Complex web applications become inaccessible when assistive technologies cannot determine the semantics behind portions of a document or when the user is unable to effectively navigate to all parts of it in a usable way (see the Roadmap for Accessible Rich Internet Applications [ARIA-ROADMAP]). ARIA divides the semantics into roles (the type defining a user interface element) and states and properties supported by the roles.
Authors must associate elements in the document to an ARIA role and the appropriate attributes (states and properties) during its lifecycle.
An ARIA role is set on an element using the a role attribute similar to the one defined in the XHTML Role Attribute Module [XHTML-ROLES].
<div role = "checkbox">
The roles defined in this specification include a collection of document landmarks and the ARIA role taxonomy.
The Roles in this taxonomy were modeled using RDF/OWL [OWL] to build rich descriptions of the expected behaviors of each role. Features of the role taxononmy provide the following information for each role:
Attaching a role from the role taxonomy to an element in the document gives assistive technology the information it needs to handle an element correctly.
ARIA provides a collection of accessibility states and properties which are used to support platform accessibility APIs on the various operating system platforms. Assistive technology may access this information through an exposed user agent DOM or through a mapping to the platform accessibility API. When combined with roles, the user agent can supply the assistive technology with information to render the information to the user at any instance in time. Changes in states or properties will result in a notification to an assistive technology to let them know that a change in behavior has occurred.
In the following example, a span
has been used to create a checkbox which in this case has three possible states. A role is used to make the
behavior of this simple widget known to the user agent. Properties that may
change with user actions (such as checked) are defined in the States
and Properties.
<span role="checkbox" aria-checked="mixed"
onkeydown="return checkBoxEvent(event);"
onclick="return checkBoxEvent(event);" >
A checkbox label
</span>
It should be noted that some accessibility state information is managed and controlled by the user agent. These are called managed states. Often these states have corresponding CSS pseudo-classes to reflect
necessary style changes. An example of a managed state is focus
.
In contrast, the states in this specification are typically controlled
by the author and are called unmanaged states. Some states are managed
by the UA but the author can override them, such as posinset and setsize.
The author should override those only if the DOM is not complete and
thus the UA calculation would be incorrect. Both managed and unmanaged
states are mapped to the platform accessibility APIs by the user agent.
Finally, an added value for ARIA is that user agents that support CSS attribute selectors ([CSS], Section 5.8) can allow the author to create UI changes based on the ARIA state information, dramatically reducing the amount of script used to create the equivalent functionality. In the following example, CSS selectors based on the value of the ARIA checked state are used to determine whether an image of a checked or an unchecked box is shown:
*[aria-checked=true]:before {content: url('checked.gif')}
*[aria-checked=false]:before {content: url('unchecked.gif')}
In any application there must always be an element with focus, as applications require users to have a place to provide user input. The element with focus must never be destroyed, hidden or scrolled off-screen. All interactive elements should be focusable. There should be an obvious, discoverable way, either through tabbing or other standard navigation techniques, for keyboard users to move the focus to any interactive element they wish to interact with.
When using standard (X)HTML and basic WAI-ARIA widgets, application developers can simply manipulate the tab order or use script to create keyboard shortcuts to elements in the document. Use of more complex widgets requires the author to manage focus within them.
WAI-ARIA includes a number of "managing container" widgets. Typically, the container is responsible for tracking the last descendant which was active (the default is usually the first item in the container). When the container is navigated to with the Tab key, focus goes directly to the last active descendant. The user may also activate the container by clicking on one of the descendants within it.
When something in the container has focus, the user may navigate through the container by pressing additional keys such as the arrow keys to move relative to the current item. Any additional press of the main navigation key (generally the Tab key) will move out of the container to the next widget.
For example, a grid may be used as a spreadsheet with thousands of gridcells,
all of which may not be present in the document at one time. This
requires their focus to be managed by the container using the activedescendant property, on the managing container element, or by the container managing the tabindex
of its child elements and setting focus on the appropriate child. For more information, see Providing Keyboard Focus in WAI-ARIA Best Practices ([ARIA-PRACTICES], section 3.2).
Containers that manage focus in this way are:
Look at implementors guide. There are things like focused, focusable, selected, selectable, checkable, etc. Certain roles also have to be treated specially.
This section provides a brief introduction to the process of making applications accessible using ARIA. The choice and usage of roles can be complex and context dependent. It is beyond the scope of this document to explain implementations for all the possible ARIA use cases. ARIA Best Practices [ARIA-PRACTICES] provides detailed guidance on ARIA implementation methodology as well as references to sample code.
First steps to making an application accessible:
ARIA provides authors with the means to make the different elements in a Web application semantically rich. User agents use the role semantics to understand how to handle each element. Roles convey missing information that the assistive technology needs to anticipate the behavior of the elements inside the application such as how to present the corresponding ARIA states and properties to the user. The user agent will use the accessibility semantics from the host language and ARIA accessibility semantics which may override those of the host language and present them to an assistive technology through the Document Object Model or the platform accessibility API. When supporting the platform accessibility API the user agent will create accessible objects containing the accessibility semantics for each visual element on your page. It will use the chosen API to notify the assistive of changes to the semantics as well.
The following steps are recommended as ARIA is applied to content:
Use native up when possible
Use the semantic elements that are defined in the host markup language. For example, with XHTML it is better to use the native checkbox than to use a div element with role checkbox as these should already be accessible through your browser. There may also be cases where ARIA can augment an existing element in the host language. For example, a grid and gridcells can reuse the functionality of a table when overlaying it. ARIA roles, states, and properties are best used when the markup language does not support all the semantics required. When a role attribute is added to an element, the semantics and behavior of the element are overridden by the role behavior.
Apply the appropriate roles from ARIA
Set roles to make sure elements behave predictably and correctly describe the behavior of each element within the application (unless elements behaviors are fully described by the native markup language). Roles for interactive elements should support all the states that the element could use. Once a role attribute is set it should not be changed as this will confuse an assistive technology. This does not preclude a document element being removed which has the role attribute set. Only states and properties may be changed for a given document element.
Preserve semantic structure
Structural information is critical to providing context to people with disabilities. This is achieved through preserving DOM hierarchy within structural elements and widgets; forming logical groups within within user interface widgets such as treeitems in a group. Look for groups within a page, and mark them using the most appropriate role that best describes their usage. For example: a region of the page that contains a group of elements that are likely to change through an Ajax application could be tagged as a region. The preservation of semantic web structure involves your entire web page such as through the use of document landmarks to facilitate keyboard navigation for screen reader and mobility impaired users as well as page restructuring and simplification for users with cognitive and learning impairments.
Build relationships
Look for relationships between elements, and mark them using the most appropriate property or attribute. For example: If container A contains search results, and container B contains the search controls, then mark each container as a region and set the controls property in region B to reference region A. See relationships in WAI-ARIA.
Some relationships are determined automatically from the host language, such as by using the label
tag in HTML.
Set and properties in response to events
Once the role for an element has been set, select the appropriate states and properties for that role during the element's life cycle. This is often done in response to user input events. States are special properties for widgets that may change frequently during a widget's life cycle due to user interaction, while properties are more stable attributes of objects. User agents should notify assistive technology of state changes. Conversely, assistive technology notification of property changes depends on the method by which an assistive technology communicates with the user agent. For example, the multiline property is not something that changes frequently, whereas the checked state changes frequently in response to user input.
When setting states and properties, set them until the behavior of the element is fully defined. Only use those supported for the chosen role or document element as defined in this specification.
Support full, usable keyboard navigation
Usable keyboard navigation in a rich internet application is different from the tabbing paradigm in a static document. Rich internet applications behave more like desktop applications where the user tabs to significant widgets and uses the arrow keys to navigate within the widget, such as a spreadsheet or menu. The changes that ARIA introduces in keyboard navigation makes this enhanced accessibility possible. For a more in-depth understanding of keyboard navigation in ARIA, see the ARIA Best Practices [ARIA-PRACTICES]
Synchronize the visual UI with accessibility states properties for supporting user agents
This will allow the state of your UI to be perceivable to the user as well as the assistive technology. There are many ways to do this using script or by using CSS attribute selectors (in conforming user agents) For example, the author should have an associated selector that responds to a form element being required or a gridcell being selected. Refer to the ARIA Best Practices [ARIA-PRACTICES] for techniques for proper UI synchronization with the accessible state of the document.
Todo: make change at http://lists.w3.org/Archives/Member/w3c-wai-pf/2008JanMar/0189.html item 1 (example linked in BPG), using example at http://test.cita.uiuc.edu/aria/tree/tree1.php
A basic tree view allows the user to select different list items and expand and collapse embedded lists. Arrow keys are used to navigate through a tree, including left/right to collapse/expand sub trees. Double clicking with the mouse also toggles expansion.
Building this user interface element with script could leave assistive technology guessing about the role of each element. To make this feature accessible we need to:
We can do that by following the steps below:
Look at the native mark up language
There is no tree element in HTML that supports our behavior including expansion. If such an element existed, we should use that to take advantage of existing support. Since it does not, we will need to use roles.
Finding the right roles
As we did not find a tree element in the native mark up we need to add roles that do this by referencing roles from this taxonomy that support states that we need.
Our tree will need roles that support embedded list behavior and expandable/collapsible embedded lists. The roles that support tree behavior for a tree are:
Look for groups and build relationships
Tree relationships can be made simply via the DOM and logical structure of the page. A tree element will be the main container encompassing all other elements in the tree. Each selectable item in the tree will be a treeitem.
When a treeitem contains an embedded list of treeitems they will be all embedded in a group. A group should be contained inside the tree item that is the parent item.
Tree relationships are like list relationships in HTML. Group and
tree elements act like list containers (ol
and ul
). A tree item acts like a
list item (li
) in HTML.
Because treeitems and groups commonly both use div
elements it is
recommended to add a comment next to closing treeitems that contain embedded
tree groups.
<div role="tree">
<div role="treeitem">Veggies</div>
<div role="group"> <!-- veggies children ->
<div role="treeitem">Green</div>
<div role="group"> <!-- green children -->
<div role="treeitem">Asparagus</div>
<div role="treeitem">Kale</div>
<div role="treeitem">Leafy</div>
<div role="group"> <!-- leafy children -->
<div role="treeitem">Lettuce</div>
<div role="treeitem">Kale</div>
<div role="treeitem">Spinach</div>
<div role="treeitem">Chard</div>
</div> <!-- close leafy -->
<div role="treeitem">Green beans</div>
</div> <!-- close green -->
<div role="treeitem">Legumes</div>
<div role="treeitem">Yellow</div>
<div role="group"> <!-- yellow children -->
<div role="treeitem">Bell peppers</div>
<div role="treeitem">Squash</div>
</div> <!-- close yellow -->
</div> <!-- close veggies -->
</div> <-- close tree -->
Note Aaron says this can't be formatted the way a list would be done in XHTML (with the child lists inside the list items). This needs explanation, here or in best practices. He explains "I copied XUL which did DOM-based trees the same way for this reason. I didn't see a way to easily show/hide sections using CSS w/o also hiding the parent.
Talking to Annevk it looks like I made this more difficult than necessary for ARIA, and unfortunately Mozilla doesn't like it if you use the nested <ul> approach.
So we can fix this but not for Firefox 3.
So maybe we should look at doing this with nested ul/li and use a CSS rule like:
li[aria-expanded="false"] > ul { display: none; } "
Sometimes a tree structure is not explicit via the DOM and logical
structure of a page. In such cases the relationships must still be made
explicit using the states and properties. In the following example, the owns property indicates that the item with id "yellowtreegroup" should be considered a child of the div
element with the property, even though it is not a child in the DOM.
<div role="treeitem" aria-owns="yellowtreegroup">Yellow<div>
…
<div id="yellowtreegroup" role="group">
<div role="treeitem">Bell peppers</div>
<div role="treeitem">Squash</div>
…
</div>
Aaron says If the tree is not DOM-complete at all times, don't use either the structured or aria-owns methods. Instead use aria-level, aria-posinset and aria-setsize.
Use States, Properties in response to events
Control the behavior of the element in response to user in put events such as from the keyboard and the mouse as shown here:
<div tabindex="-1" role="treeitem" aria-expanded="true"
onclick="return toggleExpansion(event)"
onkeydown="return processArrowKeystoToggleExpansion(event);"
>Yellow</div>
Use device independent events with supporting JavaScript to handle user interaction:
<div role="tree" tabindex="-1"
onfocus="return treeItemFocus(event);"
onclick="return treeItemEvent(event);"
ondblclick="return treeItemEvent(event);"
onkeydown="return treeItemEvent(event);">
Create JavaScript support to control the event driven behavior of the application.
This section is normative.
This specification indicates whether a section is normative or informative.
Normative sections provide requirements that must be followed for an implementation to conform to this specification. The keywords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in Key words for use in RFCs to indicate requirement levels [RFC2119].
Informative sections provide information useful to understanding the specification. Such sections may contain examples of recommended practice, but it is not required to follow such recommendations in order to conform to this specification.
This section is normative.
This section defines the WAI-ARIA role taxonomy and describes the characteristics and properties of all roles. A formal RDF representation of all the information presented here is available in Appendix 8.1: Implementation.
The role taxonomy uses the following relationships to relate ARIA roles to each other and to concepts from other specifications, such as HTML and XForms.
The role that this role extends in the taxonomy. This extension causes all the properties and constraints of the parent role to propagate to the child role. Other than well known stable specifications, inheritance may be restricted to items defined inside this specification so that items can not be changed and affect inherited classes.
For example: checkbox is a subclass or type of a option. If we
change the properties and expected behavior of an option
then the
properties and behavior of checkbox
will also change.
Inheritance is expressed in RDF using the RDF Schema subClassOf ([RDFS], section 3.4) property.
Informative list of roles for which this role is the parent. This is provided to facilitate reading of the specification but adds no new information as the list of child roles is the list of roles for which the current role is the parent.
Informative information about a similar or related idea from other specifications. Concepts that are related are not necessarily identical. Related concepts do not inherit properties from each other. Hence if the definition of a type changes, the properties, behavior and definition of a related concept is not affected.
For example: A grid is like a table. Therefore, a grid has a
rdfs:seeAlso
of table.
However if the definition of table
is modified, the ARIA definition of a grid
will not be affected.
Informative information about objects that are considered prototypes for the role. Base concept is similar to type, but without inheritance of limitations and properties. Base concepts are designed as a substitute for inheritance for external concepts. A base concept is like a relatedConcept except that base concepts are almost identical to each other.
For example: the checkbox defined in this document has the same functionality and anticipated behavior as a checkbox defined in HTML.
Therefore, a checkbox has an HTML checkbox
as a baseConcept
. However, if
the HTML checkbox is modified, the definition of a
checkbox in this document will not be not affected, because there is no actual inheritance of type.
Roles are defined and described by their characteristics. Characteristics define the structural function of a role, such as what a role is, concepts behind it, what instances of the role can or must contain. In the case of widgets this also includes how it interacts with the user agent based on mapping to HTML forms and XForms. States and properties from WAI-ARIA that are supported by the role are also indicated.
The Roles Taxonomy defines the following characteristics. These characteristics are implemented in RDF as properties of the OWL classes that describe the roles.
This role is abstract and MUST NOT be used by authors directly because it is not implemented in the API binding. It is used to create a similarity relationship amongst descendant roles. User agents MUST NOT map abstract roles to the accessibility API binding.
States and properties required for the role. User agents MUST support all required states and properties for the role. User agents that expose ARIA to Accessibility APIs MUST actively manage these states and properties in the API. Content authors SHOULD provide values for required states and properties, but may not in all cases because default values are sufficient. Todo: this needs another look.
Todo: feedback from Raman, suggest replace above with "User Agents must return a value when one queries for the following ARIA properties" + list of role/properties.
States and properties applicable to the role. User agents MUST support all supported states and properties for the role. Content authors MAY provide values for supported states and properties, but may not in all cases because default values are sufficient.
Informative list of properties that are inherited onto a role from ancestor roles. States and properties are inherited from ancestor roles in the role taxonomy, not from ancestor elements in the DOM tree. These properties are not explicitly defined on the role, as the inheritance of properties is automatic. This information is provided to facilitate reading of the specification. Inherited states and properties that are required are indicated as such in this field as well. The set of supported states and properties combined with inherited states and properties forms the full set of states and properties supported by the role.
A child element that must be contained in the DOM by this role. A child element is an element having the specified role. For example, an element with role list must contain an element with role listitem.
When multiple required children are indicated, either of them are permitted.
Context where this role is allowed, in other words, roles for elements in which the present role MUST appear.
For example an element with role listitem MUST be contained inside an element with role list.
If the element to which the role applies has a "labelledby" attribute, visit each element whose ID is mentioned in the list in the "labelledby" attribute, in the order mentioned, and accumulate a string by concatenating the strings computed as given in 4.2.7.1 above, ensuring there is whitespace between the substrings from different IDs.
If this results in a string that is not all whitespace, this string is used for the accessible name and the options below are ignored. This is true regardless of the nameFrom property of the role.If the value of nameFrom is "author or subtree" and the above method does not provide a name, a candidate name is computed from the current node, that is the node to which the role applies, as set out in 4.2.7.1 above.
If this results in a string that is not all whitespace, this string is used for the accessible name and the option below is ignored. This option only applies when the 'nameFrom' property of the role is "author or subtree."
HTML provides a 'title' attribute which can furnish suplemental information about the element to which it is applied. SVG has a 'title' element that can be included in drawing groups for labeling.
If the previous two candidates fail to produce a name, any non-empty conditional content from the structure of the host language is used to provide text for an accessible name. This final fallback applies regardless of the 'nameFrom' property of the role.
Boolean (true | false)
The DOM children are presentational. User agents SHOULD NOT expose descendants of this element through the platform accessibility API. If user agents do not hide the children, some information may be read twice.
Some states and properties are applicable to all roles, and most are applicable to all elements regardless of role. In addition to explicitly expressed supported states and properties, the following global states and properties are supported by all roles as well. These include:
Global states and properties are applied to the role roletype, which is the base role, and therefore inherit into all roles. To facilitate reading, they are not explicitly identified as either supported or inherited states and properties in the specification. Instead, the inheritance is indicated by a link to this section.
To support the current user scenario, this specification defines roles that A, help define Widgets (For example, a tristate Checkbox) and B, help define page structure (for example, a section header).
Roles are categorized as follows:
Below is an alphabetical list of ARIA roles to be used by rich internet application authors (excluding abstract roles which are not used directly). A detailed definition of the taxonomy supporting these ARIA roles follows.
The following roles are used as base types for applied roles. Base classes are used to build a picture of the role taxonomy class hierarchy within the taxonomy. Note that while all roles in this section are abstract, not all abstract roles are in this section. This section includes only the most high-level abstractions in the taxonomy.
Roles in this section include:
roletype
Base role from which all other roles in this taxonomy inherit.
Properties of this role describe the structural and functional purpose of objects that are assigned this role (known in RDF terms as "instances"). A Role is a concept that can be used to understand and operate instances.
Characteristic | Value |
---|---|
Is Abstract: | True |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: |
|
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
widget
A component of a Graphical User Interface (GUI).
Widgets are discrete user interface elements with which the user can interact. Widget roles all map to standard features in accessibility APIs.
Characteristic | Value |
---|---|
Is Abstract: | True |
Parent Roles: | roletype |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
structure
A document structural element.
Roles for document structure support the accessibility of dynamic Web content by helping assistive technology to determine active content vs. static document content. Structural roles by themselves do not all map to accessibility APIs, but are used to create widget roles or assist content adaptation.
The taxonomy of structural roles is likely to evolve as new use cases are added to the scope of this specification.
Characteristic | Value |
---|---|
Is Abstract: | True |
Parent Roles: | roletype |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
composite
A widget that may contain navigable descendants.
Elements with this role have the characteristic of widgets that they are discrete points for user interaction, but may have more internal structure than simple GUI widgets. Navigation within that structure may be more similar to that of other structural roles than to that of widgets.
Descendants of this role MUST NOT have the "nameFrom" value of "subtree" set.
Characteristic | Value |
---|---|
Is Abstract: | True |
Parent Roles: | widget |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Required States and Properties: | |
Supported States and Properties: | activedescendant |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
window
Browser or application window.
Elements with this role have a window-like behavior in a GUI context, regardless of whether they are implemented as a window in the OS. This is helpful when there is the visual appearance of a window that is merely a styled section of the document.
Characteristic | Value |
---|---|
Is Abstract: | True |
Parent Roles: | roletype |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
These roles are common widgets used to collect and maintain user input.
Roles in this section include:
input
Generic type for widgets for which users can input a value.
Characteristic | Value |
---|---|
Is Abstract: | True |
Parent Roles: | widget |
Child Roles: | |
Base Concept: | |
Related Concepts: | XForms input |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
select
A form control that allows the user to make selections from a set of choices.
An element with role select
MUST contain elements with role option.
Characteristic | Value |
---|---|
Is Abstract: | True |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
listbox
A widget that allows the user to select one or more items from a list of choices.
Items within the list are static and may contain images. List boxes contain children whose role is option.
Instances of this role MUST manage focus of descendants, as described in Managing Focus.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | option |
Required States and Properties: | |
Supported States and Properties: | multiselectable |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
combobox
Combobox is a presentation of a select, where users can type to select an item.
Combobox is the combined presentation of a single line textbox with a drop down select widget. The combobox may be editable. Typically editable combo boxes are used for autocomplete behavior, and the autocomplete property would be used on the child textbox.
NOTE: In XForms [XFORMS] the same select
can
have one of 3 appearances: combo-box, drop-down box, or group of
radio-buttons. Many browsers (if not all of them) allow
users to type in a drop-down select as well. This specification does not constrain the presentation of the combobox.
Instances of this role MUST manage focus of descendants, as described in Managing Focus.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | select |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | option |
Required States and Properties: | |
Supported States and Properties: | autocomplete |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
option
A selectable item in a list represented by a select.
An option MUST appear inside an element with select role.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | input |
Child Roles: | |
Base Concept: | HTML option |
Related Concepts: | |
Parent Element: | select |
Required Child Elements: | |
Required States and Properties: | selected |
Supported States and Properties: | checked |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
checkbox
A control that has three possible values: "true", "false", or "mixed".
Many checkboxes do not use the "mixed" value, and thus are effectively boolean checkboxes. However, the checked state supports the "mixed" value to support cases such as installers where an option has been partially installed.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | option |
Child Roles: | |
Base Concept: | |
Related Concepts: | HTML input (type : checkbox) |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | checked |
Supported States and Properties: | |
Inherited States and Properties: |
|
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
radiogroup
A group of radio controls.
A radiogroup
is a type of select list that can only have single entries checked, not mutliple. User agents MUST
enforce that only one radio control in a radiogroup can be checked at
the same time. When another control is checked, previously checked
controls become unchecked (their checked state becomes "false").
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | select |
Child Roles: | |
Base Concept: | |
Related Concepts: | list |
Parent Element: | |
Required Child Elements: | radio |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
radio
An option in single-select list.
Elements with role radio
SHOULD be in an element with role radiogroup.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | checkbox |
Child Roles: | |
Base Concept: | |
Related Concepts: | HTML input (type : radio) |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: |
|
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
textbox
Inputs that allow free-form text as their value.
If the multiline property is true, the control accepts line breaks within the input, as in a HTML textarea. Otherwise this is a simple text box.
Intended use is in languages that do not have a text input object (such as SVG), or cases in which an element with different semantics is repurposed as an input box. Another use is for a rich text edit textbox, or one that validates input as users type (perhaps marking specific subregions with errors with the invalid state ). Content authors MAY also use this role when additional states or properties are applied to a standard text input control. This is to indicate to the user agent that it must process additional states and properties such as invalid and required.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | input |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
range
Represents a range of values that can be set by the user.
Characteristic | Value |
---|---|
Is Abstract: | True |
Parent Roles: | input |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Required States and Properties: | |
Supported States and Properties: | valuetext |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
slider
A user input where the user selects a value from within a given range.
A slider represents the current value and range of possible values via the size of the slider and position of the thumb. It is typically possible to add or subtract to the value by using directional keys such as arrow keys.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | range |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: |
|
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | True |
Inherits Presentational: |
spinbutton
A form of range that expects a user to select from amongst discrete choices.
A spinbutton
typically allows the user to select from the given range
through the use of an up and down button on the keyboard. Visibly, the current value
is incremented or decremented until a maximum or minimum value is
reached. This functionality SHOULD be accomplished programmatically
through the use of up and down arrows on the keyboard.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: |
|
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
These roles encompass features that usually are used as part of the graphical user interface.
Roles in this section include:
button
Allows for user-triggered actions.
Buttons are mostly used for discrete, atomic actions. Its value is cognitive; the idea that this is a user action opportunity is made very clear by making it look like a front-panel button on a device. The animation of the button in response to indirect (by mouse) manipulation fosters the illusion of direct manipulation and keeps user cognition in sync with the user interface perception of user action events. Standardizing the appearance of buttons enhances recognition as buttons and arraying them compactly in toolbars, for example.
Buttons support the optional state pressed. Buttons with a non-empty pressed state are toggle buttons. When pressed is "true" the button is depressed, when pressed is "false" it is not depressed. If the state is not present, the button is a simple command button.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | widget |
Child Roles: | |
Base Concept: | HTML button |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | pressed |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | True |
Inherits Presentational: |
link
Interactive reference to a resource.
Activating the link causes the user agent to navigate to that resource.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | widget |
Child Roles: | |
Base Concept: | |
Related Concepts: | HTML link |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
menu
Offers a list of choices to the user.
A menu is often a list of
links to important sections of a document or a site. The menu
role is appropriate when the list of links is presented in a manner similar to a menu on a desktop application.
Instances of this role MUST manage focus of descendants, as described in Managing Focus.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | menuitem |
Required States and Properties: | haspopup |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
menubar
A container of menu items (items with role menuitem).
The menubar
role is used to create a menubar similar to those found in
Windows, the Mac, and Gnome desktops. A menubar is used to create a
consistent climate of frequently used commands. Navigation behavior SHOULD be similar to the
typical menu bar graphical user interface.
Instances of this role MUST manage focus of descendants, as described in Managing Focus.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | group |
Child Roles: | |
Base Concept: | |
Related Concepts: | toolbar |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
toolbar
A collection of commonly used functions represented in compact visual form.
The toolbar is often a subset of functions found in a menubar, designed to reduced user effort in using these functions.
If this is not keyboard accessible the actions defined in the toolbar MUST be reproduced in an accessible, device independent fashion.
Instances of this role MUST manage focus of descendants, as described in Managing Focus.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | group |
Child Roles: | |
Base Concept: | |
Related Concepts: | menubar |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | multiselectable |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
menuitem
An option in a group of choices contained in a menu.
A menuitem MAY be disabled. Each menu item MAY activate a new sub-menu, which is indicated with the haspopup property.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | JAPI MENU_ITEM |
Parent Element: | menu |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: |
|
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
menuitemcheckbox
Defines a menuitem which is checkable (tri-state).
The checked state indicates whether the menu item is checked, unchecked, or mixed.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | menuitem |
Parent Element: | menu |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: |
|
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
menuitemradio
Indicates a menuitem which is part of a group of menuitemradio
roles, only one of which can be checked at a time.
User agents MUST enforce that only one menuitemradio
in a group can be checked at the same time. When another control is
checked, previously checked controls become unchecked (their checked state becomes "false").
Menu items SHOULD be in an element with role menu in order to identify that they are related controls, and MAY also be separated into a group by a separator.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | menuitem |
Parent Element: | menu |
Required Child Elements: | |
Supported States and Properties: | |
Inherited States and Properties: |
|
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
tooltip
A popup that displays a description for an element when a user passes over or rests on that element. Supplement to the normal tooltip processing of the user agent.
Objects with this role MUST be referenced through the use of describedby. If the tooltip has active elements, it MUST be keyboard navigable.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | description |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
tabpanel
A container for the resources associated with a tab.
Note: There MUST be a means to associate a tabpanel element with its associated tab in a tablist. Using the labelledby property on the tabpanel to reference the tab is the recommended way to achieve this.
For detailed information about how to use tab panels, see the TabPanel Widget in WAI-ARIA Best Practices ([ARIA-PRACTICES], Section 9.2).
Todo: create a general link type to the BPG to use whenver a reference exists.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | region |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
tablist
A list of tabs, which are references to tabpanels.
Instances of this role MUST manage focus of descendants, as described in Managing Focus.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | directory |
Child Roles: | |
Base Concept: | |
Related Concepts: | DAISY Guide |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
tab
A header for a tabpanel.
tab
is used as a grouping label,
providing a link for selecting the tab content to be rendered to the
user. If the tab
or an object in the associated tabpanel has focus, the tab
is the active one in the list.
One (and only one) of the tab
s in the tablist MUST be the current tab. The tabpanel associated with the current tab MUST be rendered to the user. Other
tabpanels SHOULD be hidden from the user until the user selects
the tab associated with that tabpanel.
User agents manage the determination and indication of the current tab. There is no property in the taxonomy for this.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | tablist |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
tree
A form of a list having groups inside groups, where sub trees can be collapsed and expanded.
Instances of this role MUST manage focus of descendants, as described in Managing Focus.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | select |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | treeitem |
Required States and Properties: | |
Supported States and Properties: | multiselectable |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
treeitem
An option item of a tree. This is an element within a tree that may be expanded or collapsed.
A collection of treeitems to be expanded and collapsed are enclosed in a group.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | tree |
Required Child Elements: | |
Required States and Properties: | expanded |
Supported States and Properties: | level |
Inherited States and Properties: |
|
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
These roles describe the structures that organize content in a page. In contrast to widgets, structures are not usually interactive. However, they can be in certain circumstances.
Roles in this section include:
section
A renderable structural containment unit in a document or application.
Characteristic | Value |
---|---|
Is Abstract: | True |
Parent Roles: | structure |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
sectionhead
Labels or summarizes the topic of its related section.
Characteristic | Value |
---|---|
Is Abstract: | True |
Parent Roles: | structure |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
document
Content that contains related information.
The document role is used to tell the screen reader to use a document browsing mode, because screen readers use most of the keyboard navigation keys to provide their own keyboard user interface for this type of navigation. An important trait of documents is that they have some text which is not associated with widgets/controls or groups thereof.
To properly set the role of document
, an author
should set the document
role on a document element which encompasses the entirety of the region
for which assistive technology browser navigation mode is applied.If it
applies to the entire Web page, it should be set on the root note for
content, e.g., body
in HTML or svg
in SVG.
Documents MUST have a document title or label. This should be suitable for use as a navigation preview or table-of-contents entry for the page section in question. The label SHOULD come from one of the following sources:
title
element in HTML labels the entire document;group
element in SVG may contain a non-empty title
element;document
role may have a labelledby property referencing one or
more elements with non-empty text content. Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | structure |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
region
Region is a large perceivable section on the web page.
This role defines
a group of elements that together form a large perceivable section,
that the author feels should be included in a summary of page
features. A region
MUST have a heading, provided via an instance of the heading role or using the labelledby property to reference an element. A region does not necessarily
follow the logical structure of the content, but follows the
perceivable structure of the page.
When defining regions of a web page, authors should consider using standard document landmark roles. If the definition of these regions are inadequate, authors should use the region role and provide the appropriate title text.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | section |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
heading
A heading for a section of the page.
This indicates that an object serves as a header. Often, headings will be referenced with the labelledby property of the section for which they serve as a header. If headings are organized into a logical outline, the level property can be used to indicate the nesting level.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | sectionhead |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | level |
Inherited States and Properties: | |
Name From: | |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
list
Group of non-interactive list items.
Lists contain children whose role is listitem, or elements whose role is group which in turn contains children whose role is listitem.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | region |
Child Roles: | |
Base Concept: | HTML ul |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
listitem
A single item in a list.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | section |
Child Roles: | |
Base Concept: | HTML li |
Related Concepts: | XForms item |
Parent Element: | list |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
group
A section of user interface objects which would not be included in a page summary or table of contents by an assistive technology.
Contrast with region which is sections of user interface objects that should be included in a page summary or table of contents.
Authors should use a group
to form logical collection of items in a widget such as children in a
tree widget forming a collection of siblings in a hierarchy, or a
collection of items having the same container in a directory.
Therefore, proper handling of group by assistive technologies must be
determined by the context in which it is provided.
Groups may also be nested. If the author believes a section is significant enough in terms of the entire delivery unit web page then the author should assign the section a role of region or a standard landmark role.
Group members that are outside the DOM subtree of the group would need to have explicit relationships assigned to participate in the group using the owns property.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | section |
Child Roles: | |
Base Concept: | |
Related Concepts: | HTML fieldset |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
grid
A grid
contains cells of tabular data arranged in rows and
columns (e.g., a table).
This does not necessarily imply presentation. The grid
construct describes
relationships between data such that it may be used for different
presentations. Grids allow the user to move focus between
grid cells with two dimensional navigation.
Grids MUST contain rows with role row, which in turn contain cells. Grid cells may be focusable. Grids MAY have row and column headers, provided with rowheader and columnheader roles, which also assist the user agent in supporting navigation. Grid cells MAY have contents determined by a calculation.
Grid cells with the selected state set can be selected for user interaction, and multiple cells can be selected if the multiselectable property of the grid
is true. Grids
may be used for spreadsheets like those in Open Office, Microsoft
Office, etc.
Instances of this role MUST manage focus of descendants, as described in Managing Focus.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | HTML table |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | row |
Required States and Properties: | |
Supported States and Properties: | level |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
row
A row of grid cells.
Rows contain gridcells, and thus serve to organize the grid.
In a treegrid, rows MAY be expandable, using the expanded state to indicate the present status. This is not the case for an ordinary grid, in which the expanded state is not present.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | group |
Child Roles: | |
Base Concept: | HTML tr |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | gridcell |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
gridcell
A cell in a grid.
Grid cell may be active, editable, and selectable. Cells may have relationships such as controls to address the application of functional relationships.
In a treegrid, cells MAY be expandable and use the expanded state. If the expanded property is provided, it applies only to the individual cell. It is not a proxy for the container row, which also can be expanded. The main use case for providing this property on a cell is pivot table type behavior.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | HTML td |
Related Concepts: | |
Parent Element: | row |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | expanded |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
rowheader
A table cell containing header information for a row.
Rowheader can be used as a row header in a table or grid. It also could be used in a pie chart to show a similar relationship in the data.
The rowheader establishes a relationship between it and all cells
in the corresponding row. It is a structural equivalent to an HTML th
element with a "row" scope.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | HTML th with scope=row |
Related Concepts: | |
Parent Element: | row |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | sort |
Inherited States and Properties: |
|
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
columnheader
A table cell containing header information for a column.
Columnheader can be used as a column header in a table or grid. It could also be used in a pie chart to show a similar relationship in the data.
The columnheader establishes a relationship between it and all
cells in the corresponding column. It is a structural equivalent to an HTML th
element with a "column" scope.
Note: because grid cells are organized into rows, there is not a single container element for the column. The column is the set of gridcells in a particular position within their respective row containers.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | HTML th with scope=col |
Related Concepts: | |
Parent Element: | row |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | sort |
Inherited States and Properties: |
|
Name From: |
|
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
treegrid
A grid whose rows can be expanded and collapsed in the same manner as for a tree.
Instances of this role MUST manage focus of descendants, as described in Managing Focus.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | row |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: |
|
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
description
Descriptive content for a page element.
A description
MUST be referenced from the element it describes via describedby.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | section |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
directory
A list of references to members of a single group.
Authors SHOULD use this role for static tables of contents. This includes tables of contents built with lists, including nested lists. Dynamic tables of contents, however, would be a tree.
Note: directories do not have to contain links. They can have simply unlinked references.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | list |
Child Roles: | |
Base Concept: | |
Related Concepts: | DAISY Guide |
Parent Element: | |
Required Child Elements: | link |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: |
|
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
img
A container for a collection of elements that form an image.
An img
can contain captions and descriptive text, as well
as multiple image files that when viewed together give the impression
of a single image. An img
represents a single graphic within a document, whether or not it is
formed by a collection of drawing objects. Elements with a role of img MUST have alternative text or a label associated via the labelledby property.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | section |
Child Roles: | |
Base Concept: | |
Related Concepts: | DTB imggroup |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | True |
Inherits Presentational: |
presentation
An element whose role is decorative, not meaningful, and does not need to be mapped to the accessibility API.
The intended use is when an element is used to change the look of the page but does not have all the functional, interactive, or structural relevance implied by the element type.
Example use cases:
object
in HTML whose content is decorative like a white space
image or decorative object;div
in HTML used to force line breaks before and after its contents.The user agent MAY choose not to present all structural aspects of the element
being repurposed. For example, for a table marked as presentation
, the user agent would
remove the table
, td
, th
, tr
, etc. elements from the accessibility API mapping, while preserving the
individual text elements within them. Because the user agent knows to
ignore the structural aspects implied in a table, no harm is done by
using a table for layout.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | structure |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
separator
A line or bar that separates and distinguishes sections of content.
This is a visual separator between sections of content. For example, separators are found between lists of menu items in a menu.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | structure |
Child Roles: | |
Base Concept: | |
Related Concepts: | HTML hr |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | True |
Inherits Presentational: |
math
Content that represents a mathematical expression.
This is for sections that represent math, such as images and ASCII art, but are not in a formal mathematical language. Such images MUST be labeled by text that can be converted to an accessible format, using the describedby property with a reference to a description of the math expression as it would be spoken. This is designed to facilitate conversion to speech. The text description should have no special markup used to control a speech device. Authors MAY store image alternative text in the image formats themselves. In these scenarios the alternative text from the image SHOULD also be brought into the text of the document and referenced by the describedby property.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | section |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | True |
Inherits Presentational: |
These are special types of self-contained aspects of the user interface.
Roles in this section include:
application
A software unit executing a set of tasks for its users.
The intent is to hint to the assistive technology to switch its normal browsing mode functionality to one in which they would for an application. Screen readers have a browse navigation mode where keys, such as up and down arrows, are used to browse the document. This breaks use of these keys by a web application.
To properly set the role of application
, an author
should set the application
role on a document element which encompasses the entirety of the region
for which assistive technology browser navigation mode is applied. If
it applies to the entire Web page, it should be set on the root note
for content, e.g., body
in HTML or svg
in SVG.
For example, an email application has a document and an application in it. The author would want to use typical application navigation mode to cycle through the list of emails. Much of this navigation would be defined by the application author. However, when reading an email message the content should appear in a region with a document role in order to use browsing navigation.
Applications MUST have a document title or label. This should be suitable for use as a navigation preview or table-of-contents entry for the page section in question. The label SHOULD come from one of the following sources:
title
element in HTML labels the entire document;group
element in SVG may contain a non-empty title
element;application
role may have a labelledby property referencing one or
more elements with non-empty text content.Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | region |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
dialog
A dialog is a small application window that sits above the application and is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response.
Dialog boxes SHOULD have a title, which may be provided with a labelledby property if other mechanisms are not available. They MUST have a focused item, i.e., a descendant element that has the keyboard focus, which is managed by the user agent.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | window |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
alert
A message with important information.
Alerts are used to convey messages to alert the user. In the case of audio warnings this is an accessible alternative for a hearing impaired user. The alert role goes on the container of the subtree containing the alert message. Alerts are specialized forms of the status role, which should be processed as an atomic live region.
Alerts do not require user input and therefore should not receive focus. Since alerts do not receive focus users SHOULD NOT be required to close an alert. The user agent MAY fire an accessibility alert event, when the alert is created, provided one is specified by the intended accessibility API. If an alert requires focus to close the alert, then an alertdialog SHOULD be used instead.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | status |
Child Roles: | |
Base Concept: | |
Related Concepts: | XForms alert |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
alertdialog
A separate window (may be simulated) with an alert, where initial focus goes to the window or a control within it.
Alert dialogs are used to convey messages to alert the user. The alertdialog role goes on the container of the subtree containing the alert message.
Unlike alert, alertdialog
can receive a response from the user, such as to confirm that the user
understands the alert being generated. When the alert dialog is
displayed, authors MUST set focus to
an active document element within the alert dialog, such as a form edit
field or an ok pushbutton. The user agent MAY fire an accessibility alert event, when the alert is created, provided one is specified by the intended accessibility API.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | XForms alert |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
marquee
A marquee is used to scroll text across the page.
A common usage is a stock ticker. A marquee
behaves like a live region, with an assumed default live property value of "off". An example of a marquee
is a stock ticker. A major difference between a marquee and a log is how fast it gets updates from timed or real world events.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | section |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
log
A region where new information is added and old information may disappear.
Examples include chat logs, messaging history, game log, or an error log. In contrast to other live regions, in this role there is a relationship between the arrival of new items in the log and the reading order. The log contains a meaningful sequence and new information is added only to the end of the log, not at arbitrary points.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | region |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
status
Container for processing advisory information to give feedback to the user.
A status
object must have content within it to provide the actual status information. This object SHOULD NOT receive focus.
Status is a form of live region. Its assumed default value for the live property is "polite".
A status MUST NOT be not controlled by another part of the page. If another part of the page does control it, then the region role MUST be used instead, and the appropriate live region properties set, including defining the controls relationship on the object controlling the live region with an ID reference to the the object.
Some cells of a Braille display MAY be reserved to render the status.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
progressbar
Displays the execution status for tasks that take a long time to execute.
This lets the user know that the user's action request has been
accepted and that the application continues (or ceases, in the case
of a static display) to make progress toward completing the requested
action. The current progress is indicated with the valuenow property, which MUST be updated when the visual progress indicator is updated. If the progressbar
is describing the loading progress of a particular region of a page, the author SHOULD use describedby to point to the status, and set the busy state to "true" on the region until it is finished loading.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | status |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | valuetext |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | True |
Inherits Presentational: |
timer
A numerical counter which indicates an amount of elapsed time from a start point, or the time remaining until an end point.
The text contents of the timer object indicate the current time measurement, and are updated as that amount changes. However, the timer value is not necessarily machine parsable. The text contents MUST be updated at fixed intervals, except when the timer is paused or reaches an end-point.
A timer is a form of live region.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | status |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | True |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
This section includes roles imported from the XHTML Role Attribute Module [XHTML-ROLES, Section 4]. These roles are included here in order to make them clearly part of the ARIA Role taxonomy. Role descriptions are taken from the description provided in the XHTML Role Attribute Module.
Roles in this section include:
article
Represents a section of a page consisting of a composition forming an independent part of a document, page, or site.
An article could be a forum post, a magazine or newspaper article, a Web log entry, a user-submitted comment, or any other independent item of content. It is "independent" in that its contents could stand alone, for example in syndication. However, the element is still associated with its ancestors; for instance, contact information that applies to a parent body element still covers the article as well. When nesting articles, the inner articles represent articles that are in principle related to the contents of the outer article. For instance, a Web log entry on a site that accepts user-submitted comments could represent the comments as articles nested within the article for the Web log entry. Author, heading, date or other information associated with an article does not apply to nested articles. Assistive technologies must treat and article like a document in that article must must be processed like an application. Unlike a document, the use of articles allows the user to identify them and follow related articles based on the nesting.
When applying the article to a host language element, ensure that the element and the corresponding end tag wrap the entire article.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | |
Child Roles: | |
Base Concept: | |
Related Concepts: | HTML 5 article |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
banner
A region that contains the prime heading or internal title of a page.
Most of the content of a banner is site-oriented, rather than being page-specific. Site-oriented content typically includes things such as the logo of the site sponsor, the main heading for the page, and site-specific search tool. Typically this appears at the top of the page spanning the full width.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | region |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
complementary
Any section of the document that supports but is separable from the main content, but is meaningful on its own even when separated from it.
There are various types of content that would appropriately have this role. For example, in the case of a portal, this may include but not be limited to show times, current weather, related articles, or stocks to watch. The content should be relevant to the main content; if it is completely separable, a more general role should be used instead.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | region |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
contentinfo
Meta information which applies to the first immediate ancestor whose role is not presentation.
In the context of the page this would apply to a section or the page of which it is the child. For example, footnotes, copyrights, links to privacy statements, etc. would belong here.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | region |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
main
Main content in a document.
This marks the content that is directly related to or expands upon the central topic of the page.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | region |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
navigation
A collection of links suitable for use when navigating the document or related documents.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | region |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
search
The search tool of a web document.
This is typically a form used to submit search requests about the site or to a more general Internet search service.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | region |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
definition
A definition of a term or concept.
A
role is not provided to specify the term being defined, although host
languages may provide such an element; in HTML this is the dfn
element. The defined term should be included in such an element even when occurring within an element having the definition
role.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | section |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
note
The content is parenthetic or ancillary to the main content of the resource.
Characteristic | Value |
---|---|
Is Abstract: | |
Parent Roles: | section |
Child Roles: | |
Base Concept: | |
Related Concepts: | |
Parent Element: | |
Required Child Elements: | |
Required States and Properties: | |
Supported States and Properties: | |
Inherited States and Properties: | |
Name From: | author |
Accessible Name Required: | |
Inherits Name Required: | |
Children Presentational: | |
Inherits Presentational: |
This section is normative.
The terms "states" and "properties" refer to similar features. Both provide specific information about an object, and both form part of the definition of the nature of roles. In this document, states and properties are treated nearly identically. However, they are maintained conceptually distinct because there is a subtle difference in their meaning. In the definitions for states and properties in this document, states are introduced with the "State" prefix and properties are introduced with the "Property" prefix.
The States and Properties Module supports the following characteristics:
Advisory information about features from this or other languages that correspond to this state or property. While the correspondence may not be exact, it is useful to help understand the intent of the state or property.
Advisory information about roles that use this state or property. This information is provided to help understand the appropriate usage of the state or property. Use of a given state or property is not limited just to the roles identified here.
Advisory information about roles that inherit the state or property from an ancestor role.
Value restrictions for the state or property. These restrictions are expressed in terms of XML Schema Datatypes [XSD]. The following XSD Datatypes are used in this specification.
Values of type boolean, NMTOKEN, and NMTOKENS are further explained by listing the allowed values and their meanings below the table of characteristics. When a value is indicated as the default, the behavior prescribed by this value MUST be followed when the state or property is not provided. Some roles also define what behavior to use when certain states or properties, that do not have default values, are not provided.
Note: in the XHTML module, value restrictions are necessarily expressed in DTD notation, not XSD. DTD notation does not provide the precise value restrictions supported by XSD, and therefore the values in the DTD often have a wider scope of allowed values than what is actually allowed by this specification. Implementers MUST be sure to observe the value restrictions defined here and not rely simply on DTD validation.
States and properties are categorized as follows:
Below is an alphabetical list of ARIA states and properties to be used by rich internet application authors. A detailed definition of the taxonomy supporting these ARIA states and properties follows.
States:
Properties:
This section contains states specific to user common interface elements found on GUI systems or in rich Internet applications which receive user input and process user actions. These states are used to support the user input and user interface roles. Widget states and properties might be mapped by a user agent to platform accessibility API states, for access by an assistive technology, or they might be accessed directly from the DOM. Changes in states MUST result in a notification to an assistive technology either through DOM attribute change events or platform accessibility API events.
States and properties in this section include:
autocomplete
Indicates whether user input completion suggestions are provided.
For a text box, it is assumed that the completion suggestion appears inline after the caret. The haspopup property can be used in conjunction with this to indicate that a popup containing choices appears, notwithstanding the fact that it is a simple text box.
For an element which already has a drop-down (i.e., a combobox), it is assumed that the dropdown behavior is still present. This means that if autocomplete
is true, haspopup should also be true on a combobox.
Characteristic | Value |
---|---|
Related Concepts: | XForms selection attribute in select |
Used in Roles: | |
Inherits into Roles: | |
Value: | NMTOKEN |
Value | Description |
---|---|
inline: | The system provides text after the caret as a suggestion for how to complete the field. |
list: | A list of choices appears from which the user can choose, but the edit box retains focus. |
both: | A list of choices appears and the currently selcted suggestion also appears inline. |
none: | Only values from the value list can be selected. |
checked
Indicates the value of a binary or ternary (tri-state) control such as a checkbox or radio button.
The action when a mixed button is activtate is covered in WAI-ARIA Best Practices [ARIA-PRACTICES]
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | option |
Inherits into Roles: | |
Value: | NMTOKEN |
Value | Description |
---|---|
true: | The current item is checked. |
false: | The role supports being checked but is not currently checked. |
mixed: | Indicates a mixed mode value for a tri-state checkbox. This is not supported on radio or menuitemradio or any element that inherits from these in the taxonomy; user agents MUST treat a mixed value as equivalent to "false" on those roles. Direct user action on the object having the checked state cannot automatically put it into the mixed state. |
undefined: | The object does not support being checked. |
disabled
Indicates that the widget is present, but the value cannot be set and it cannot be internally navigated.
For example, irrelevant options in a radio group may be disabled. Disabled elements often do not receive focus.
There SHOULD be a change of appearance to indicate that the item has been disabled (grayed out, etc.).
The state of being disabled applies to the current element and all focusable descendant elements of the element on which the disabled
state is applied.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | boolean |
Value | Description |
---|---|
true: | The widget and all focusable descendants are disabled and its value cannot be changed by the user. |
false: | The widget is enabled. |
expanded
Indicates whether an expandable/collapsible group of elements is currently expanded or collapsed.
For example, this indicates whether a portion of a tree is expanded or collapsed.
Characteristic | Value |
---|---|
Related Concepts: | Tapered prompts in voice browsing. Switch in SMIL [SMIL]. |
Used in Roles: | |
Inherits into Roles: | |
Value: | NMTOKEN |
Value | Description |
---|---|
true: | The group is expanded. |
false: | The group is collapsed. |
undefined: | The group is neither expandable nor collapsible; all its child elements are shown or there are no child elements. |
haspopup
Indicates that the element may launch a pop-up window such as a context menu or submenu.
This means that activation renders conditional content. Note that ordinary tooltips are not considered popups in this context.
A popup is generally presented visually as a bordered group of items that appears to be on top of the main page content. If possible, the entire popup should be visible when it opens (not partially offscreen).
Characteristic | Value |
---|---|
Related Concepts: |
|
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | boolean |
Value | Description |
---|---|
true: | Indicates the object has a popup, either as a descendant or pointed to by owns. |
false: | The object has no popup. |
invalid
Indicates that the element's value set by the user is currently invalid, which discourages the form from being submitted.
If the value is computed to be invalid or out-of-range, this value should be set to true. User agents SHOULD inform the user of the error and refuse to submit the form as long as there is a control for which invalid
is true.
The invalid
property applies only to the element on which it is applied. The state
of being invalid does not propogate either to descendant elements nor
to ancestor elements.
Characteristic | Value |
---|---|
Related Concepts: | XForms [XForms] 'invalid' event http://www.w3.org/TR/2006/REC-xforms-20060314/slice4.html#evt-revalidate. Note: This state is true if a form field is required but empty. However, XForms's valid property would be set to false. |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | boolean |
Value | Description |
---|---|
true: | The value entered by the user has failed automated validation. |
false: | There are no detected errors in the value. |
level
The hierarchical level of an element within a structure.
This can be applied inside trees to tree items, to headings inside a document, to nested grids, and to other structural items that may appear inside a container or participate in an ownership hierarchy. Levels MUST be 1 or greater.
Levels should increase with depth increases relative to the level of the parent. Level information should be maintained by the author.
This property MUST be applied to leaf nodes (elements that would receive focus), not to the parent grouping element, even when all siblings are at the same level. This means that multiple elements in a set may have the same value for this property. Although it would be less repetitive to provide a single value on the container, it is not always possible for authors to do so. Restricting this to leaf nodes ensures that there is a single way for assistive technology to use the property.
If the DOM ancestry accurately represents the level, the user agent can calculate the level of an item from the document structure. This property can be used to provide an explicit indication of the level when that is not possible to calculate from the document structure. User agent automatic support for automatic calculation of level may vary; authors should test with user agents and assistive technologies to determine whether this property is needed. If the author intends for the user agent to calculate the level, they MUST omit this property.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | |
Inherits into Roles: | |
Value: | integer |
multiline
Indicates whether a text box accepts only a single line, or if it can accept multiline input.
There
is very little difference in ARIA between single-line and multi-line
text boxes, as both allow arbitrary text input. The main reason to
indicate this is to warn of different behaviors of the enter
key. In a multi-line text box, the enter
key adds a new line; in a single-line text box, it does not and may
activate a function outside the text box such as submitting the form.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | textbox |
Inherits into Roles: | |
Value: | boolean |
Value | Description |
---|---|
true: | This is a multi-line text box. |
false: | This is a single-line text box. |
multiselectable
Indicates that the user may select more than one item from the current list.
Lists, trees, and spreadsheets may allow users to select more than one item at a time. This property indicates that this is possible. Items that are selected are indicated with the selected state.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | |
Inherits into Roles: | |
Value: | boolean |
Value | Description |
---|---|
true: | More than one item in the control may be selected at a time. |
false: | Only one item can be selected. |
pressed
Used for buttons that are toggleable to indicate their current pressed state.
Toggle buttons require a full press and release cycle to toggle their value. Activating it once changes the pressed state to "true", and activating it another time changes the pressed state back to "false". A value of "mixed" means that the states of more than one item controlled by the button do not all share the same value; the action when a mixed button is activtate is covered in WAI-ARIA Best Practices [ARIA-PRACTICES]. If the state is not present, the value defaults to "undefined" meaning the button is not a toggle button.
The pressed state is similar but not identical to the checked state. Operating systems support pressed
on buttons and checked on checkboxes.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | button |
Inherits into Roles: | |
Value: | NMTOKEN |
Value | Description |
---|---|
true: | The button is depressed. |
false: | The button is not depressed. |
mixed: | The elements on the page that are affected by the button do not all share the same value. Direct user action on the object having the pressed state cannot automatically put it into the mixed state. |
undefined: | The button is not a toggle button and activating it does not change this state. |
readonly
Indicates that the widget is not editable.
This means the user can read but not set the value of the widget. Readonly objects are relevant to the user and can navigated internally, in contrast to disabled objects that cannot be navigated internally.
Examples include:
Characteristic | Value |
---|---|
Related Concepts: | XForms [XForms] Readonly |
Used in Roles: | |
Inherits into Roles: | |
Value: | boolean |
Value | Description |
---|---|
true: | The user cannot change the value of the widget. |
false: | The user can set the value of the widget. |
required
Indicates that user input is required on the control before a form may be submitted.
For example, if a user must fill in an
address field, then required
is set to "true".
Note: the fact that the element is required is often visually presented (such as a sign or symbol after the control). Using the required attribute makes it much easier for user agents to pass on this important information to the user.
The required
property applies only to the element on which it is applied. The
property of being required does not propogate either to descendant
elements nor to ancestor elements.
Todo: cf question under invalid. Do we want to say invalid must be set to true while a required control has no data? Do we want a user agent requirement that it not allow submission if data not provided?
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | boolean |
Value | Description |
---|---|
true: | Users must provide input on a control before a form is submitted. |
false: | User input is not necessary to submit the form. |
selected
Sets whether the user has selected an item or not.
Selecting an element indicates that it is chosen for an action, and most likely has focus. However, this does not imply anything about other states. For example, a role such as a radio button may support being selected, but that does not affect the value of the checked state, though it may need to first be selected in order to be checked.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | |
Inherits into Roles: | |
Value: | NMTOKEN |
Value | Description |
---|---|
true: | A selectable element is actually selected. |
false: | The element is not selected. |
undefined: | The element is not selectable. |
valuemax
Maximum allowed value for a range type of widget.
A range control may start with a given value, which can be increased until a maximum value, defined by this property, is reached.
Declaring the valuemax
will allow for alternate device to
calibrate an arrow up effect, validate, or simply let the user know
the size of the range on offer. If the valuenow has a known maximum and minimum, the
author SHOULD provide properties for valuemax
and valuemin.
Characteristic | Value |
---|---|
Related Concepts: | XForms [XForms] range |
Used in Roles: | |
Inherits into Roles: | |
Value: | decimal |
valuemin
Minimum allowed value for a range type of widget.
A range control may start with a given value, which can be decreased until a minimum value, defined by this property, is reached.
Declaring the valuemin
allows for alternate device to calibrate an
arrow up effect, validate, or simply let the user know the size of
the range on offer. If the valuenow has a known maximum and minimum, the
author SHOULD provide properties for valuemax and valuemin
.
Characteristic | Value |
---|---|
Related Concepts: | XForms [XForms] range |
Used in Roles: | |
Inherits into Roles: | |
Value: | decimal |
valuenow
The current value of a widget.
Used, for example, for a range control such as a slider or progress bar, and for a date.
If the value is not known (as often occurs with progress bars)
then the valuenow
attribute should not be set at all. If the valuenow attribute is
absent, no information is implied about the current value. If the valuenow
has a known maximum
and minimum, the author SHOULD provide properties for valuemax and valuemin.
The type of valuenow is a number. If the value type of the widget is not a number, provide an index value for this field (i.e., a numeric value that represents the position of the present value within the set of possible values), plus a proper value with the valuetext property.
Characteristic | Value |
---|---|
Related Concepts: | XForms [XForms] range, start |
Used in Roles: | |
Inherits into Roles: | |
Value: | decimal |
valuetext
The human readable text equivalent of valuenow for a widget.
Used, for example, for a range control such as a slider or progress bar.
In order for the valuetext
property to be set, the valuenow property MUST also be set (as often occurs with progress bars). The valuetext
should be set by authors only when the rendered slider value cannot be
completely be represented in the form of a number. For example, a
slider may has rendered values of {"small", "medium", "large", "extra
large"}. In this instance the values of valuenow range from 0 through 3, which indicate the position of each value in the value space, but the valuetext
would be one of the strings: "small", "medium", "large", and "extra large". If the valuetext
property is
absent, the assistive technology will rely solely on the valuenow property for the current value. If the valuenow has a known maximum
and minimum, the author SHOULD provide properties for valuemax and valuemin.
Characteristic | Value |
---|---|
Related Concepts: | XForms [XForms] range, start |
Used in Roles: | |
Inherits into Roles: | |
Value: | string |
This section contains properties specific to live regions in rich Internet applications. These properties may be applied to any element. The purpose of these properties is to indicate that changes to the section on which they are applied may occur without it having focus, and to provide the assistive technology information on how to process live updates in this section of the page. If possible, the live properties should be assigned to sections of the document with a role, such as the landmark roles or regions with a highly defined role such as log. However, if necessary these properties can be used with any structural role.
States and properties in this section include:
atomic
Indicates if the assistive technology should present all or part of the changed region to the user when the region is updated.
Both accessibility APIs and the Document Object Model [DOM] provide events to allow the assistive technology to determine changed areas of the document.
When a node changes, the AT SHOULD look at the changed element and then traverse the ancestors to find the first element with atomic
set, and apply the appropriate behavior for the cases below.
atomic
, the default is that atomic
is "false", and the AT only needs to present the changed node to the user. atomic
is explicitly set to "false", then the AT can stop searching up the ancestor chain, and should present only the changed node to the user. atomic
is explicitly set to "true", then the AT should present the entire subtree of the element on which atomic
was set. The AT MAY choose to combine several changes and present the entire changed region at once.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | boolean |
Value | Description |
---|---|
true: | Tthe assistive technology should present the entire region as a whole. |
false: | A change within the region may be processed by the assistive technology on its own. |
busy
Indicates whether a live region is finished updating.
The default is that busy
is "false". For example, if authors know that multiple parts of the same live region need to be loaded, they can set busy
to "true" when the first part is loaded, and then set busy
to "false" when the last part is loaded.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | NMTOKEN |
Value | Description |
---|---|
true: | The live region is still being updated. |
false: | There are no more expected updates for that live region. |
error: | An error has occurred and the live region may not have received all the updates that it should have. |
channel
Specifies which channel should be used to present the updates for its associated live region.
The default channel is "main".
The mapping of hardware channels (speech synthesizer, braille, etc.) to the "main" and "notify" channels is implementation/configuration dependent.
If multiple hardware channels are available, the AT SHOULD allow users to map the "main" and "notify" channels as they wish.
If there is only one hardware channel available, the AT SHOULD render both channels on the same hardware channel. The "notify" channel is higher priority than the "main" channel for live regions of the same politeness (which is a value of the live property). If the events from the two channels are of differing politeness levels, the channel with the higher priority event SHOULD have higher priority than the other channel. Events from one channel MUST NOT interrupt or clear out events on another channel.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | NMTOKEN |
Value | Description |
---|---|
main: | The default channel on which to send live region events. |
notify: | A channel with higher priority than the "main" channel on which to send the live regions events. |
live
Describes the types of updates the user agent, assistive technology, and user can expect from an alert or live region of Web content.
It is essential to describe the types of updates the user agent and user can expect from a live region of Web content. The values of this state are expressed in terms of "politeness" levels. "Polite" regions notify of updates but do not interrupt users, and updates take low priority. An appropriate use of more assertive content would be to notify users of a site that the connection is going down in 5 minutes, since the importance of the message is greater than the problem caused by the interruption.
Examples of live regions include:
When
the property is not set on an object that needs to send updates, the
politeness level is inherited from the value of the nearest ancestor
that sets the live
property.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | NMTOKEN |
Value | Description |
---|---|
off: | The region is not currently live. |
polite: | (Background change) This is normal operation and SHOULD be the default behavior for live regions. It is not necessary to respond until user completes their current activity. |
assertive: | This information has a higher priority than normal but does not necessarily interrupt immediately. |
rude: | This information has the highest priority and should typically result in an interrupt to the user. This may disorientate users causing them not to continue in their current task. |
relevant
Indicates the nature of change within a live region.
The property is represented as a space delimited list of the following values: "additions", "removals", "text"; or a single catch-all value "all".
relevant
is an optional property of
live regions within a document. It does not restrict how an
assistive technology processes attributes. When the relevant
property is not provided, the default is to
assume there are text changes and additions.
Both accessibility APIs and the Document Object Model [DOM] provide events to allow the assistive technology to determine changed areas of the document.
When this value is not set, the value inherits from an object's nearest ancestor. It is not additive, meaning the set of values provided and omited on an object completely override any inheritance of values.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | NMTOKENS |
Value | Description |
---|---|
additions: | Nodes are added to the DOM within the region. |
removals: | Nodes are removed from the DOM. |
text: | Text is added or removed from the DOM. |
all: | Equivalent to the value "additions removals text". |
This section defines properties which must be applied by an author to indicate the state of objects which may be "grabbed" for a drag operation as well as the state of drop targets once a drag operation has been started. This information is designed to facilitate a drag and drop operation by identifying "draggable" objects and drop target. This information should either be rendered visually or provided to the user by an assistive technology through an alternative modality.
For more information about using drag and drop, see Drag-and-Drop Support in the ARIA Best Practices ([ARIA-PRACTICES], Section 7).
States and properties in this section include:
dropeffect
Shows the effect on the target of a drag and drop operation when the dragged object is released.
More than one drop effect may be supported for a given element. Therefore, the value of this property is a space-delimited set of tokens indicating the possible effects, or "none" if there is no supported operation. This property also allows authors to use a style sheet to provide a visual indication of the target (e.g., highlight it) during drag operations. If only one type of operation is supported, it can be set at page load.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | NMTOKENS |
Value | Description |
---|---|
copy: | A duplicate of the source object will be dropped into the target. |
move: | The source object will be removed from its original location and dropped into the target. |
reference: | A reference or short cut to the dragged object will be created in the target object. |
none: | No operation can be performed; effectively cancels the drag operation if an attempt is made to drop on this object. |
grab
Shows an object's state in drag and drop.
When it is set to "true" it has been selected for dragging, "supported" indicates that the object is grabable, but is not currently grabbed, "false" indicates the object is not grabable (default).
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | NMTOKEN |
Value | Description |
---|---|
true: | Indicates that the document element has been "grabbed" for dragging. |
supported: | Indicates that the document element supports being dragged. |
false: | Indicates that the document element does not support being dragged. |
This section defines properties that are used to help the user agent and assistive technology process user focus.
States and properties in this section include:
activedescendant
Identifies the current active child of an element that has focus.
This is used when a element is responsible for managing its current active child to reduce the overhead of having all children be focusable. Examples include: multi-level lists, trees, spreadsheets.
Authors SHOULD ensure that the object targeted by the activedescendant
property is either a descendant of the container in the DOM, or is a logical descendant as indicated by the owns property. The user agent is not expected to check that the activedescendant is an actual descendant of the container.
Characteristic | Value |
---|---|
Related Concepts: | SVG [SVG] and DOM [DOM] active |
Used in Roles: | |
Inherits into Roles: | |
Value: | IDREF |
tabindex
Indicates tab order of elements. Elements with negative values are able to receive focus but are not included in the basic tabbing navigation list or cycle.
Todo: Aaron says this should not be a property. However, if we are adding it to elements in the XHTML module, we need it somewhere, perhaps need to restore a section that discusses tabindex and put this in there. For the moment, no further edits to this section.
Elements of types div, span, p, td, th and li for which no
tabindex
value is given likewise do not participate in the 'tabbing'
navigation list.
Elements with disabled="true" do not participate in the tabbing navigation list.
Elements bearing positive values of tabindex
are navigated first as specified in
the HTML 4.01 Specification ([HTML], section 17.11.1):
Those elements that support the tabindex attribute and assign a positive value to it are navigated first. Navigation proceeds from the element with the lowest tabindex value to the element with the highest value. Values need not be sequential nor must they begin with any particular value. Elements that have identical tabindex values should be navigated in the order they appear in the character stream.
Elements bearing a zero value
of tabindex
, together with elements of types a
, area
, button
, input
,
object
, select
, textarea
bearing a zero value or no value of
tabindex
, are navigated next, as specified in HTML 4.01. These elements are navigated in the order they appear in the
character stream.
Elements with a negative value for tabindex can be programmatically focused, but do not participate in the tab order. They therefore receive focus only when an event handler sets the focus. It is necessary to provide a value for tabindex because otherwise scripts cannot set the focus. Typically, the value -1 is used for this scenario.
Note: The applicability of this attribute has been extended to all visible elements, within the XHTML namespace. It should not be used with a prefix referring to the aria namespace. Refer to the earlier discussion on tabindex for more background.
When tabindex is used on elements with the presentation role or state hidden set to "true", it overrides the default behavior not to render such elements. This is because there must be an object in the accessibility hierarchy for the focus event to be fired on, and the element must be visible if it receives focus. Note this is not the case for disabled = "true". It is common for disabled menu items to be key navigable.Characteristic | Value |
---|---|
Related Concepts: | SVG [SVG]: focus |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | integer |
This section defines relationships or associations between elements which cannot be readily determined from the document structure.
States and properties in this section include:
controls
Defines the elements that are controlled by the current element.
Characteristic | Value |
---|---|
Related Concepts: | XML Events [XML events] object hyperlink target in HTML [HTML] |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | IDREFS |
describedby
Points to an element which describes the object.
This is very similar to labeling an object with labelledby. A label should provide the user with the essence of the what the object does, whereas a description is intended to provide additional information that some users might need.
Characteristic | Value |
---|---|
Related Concepts: | Related concepts: HTML label element, and HTML table cell headers are de facto describedby values. |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | IDREFS |
flowto
Establishes the recommended reading order of content, overriding the general default to read in document order.
When
flowto has a single IDREF, it instructs assistive technology to skip
normal document reading order and go to the targeted object. Flowto in
subsequent elements would follow a process similar to next focus in XHTML2 ([XHTML], Section 13). However, when flowto is provided with multiple IDs, then they should be processed as path choices by the AT, such as in a model based authoring tool. This means that the user SHOULD
be given the option of navigating to any of the elements targeted. The
name of the path can be determined by the name of the target element of
the flowto
. Accessibility APIs can provide named path relationships.
Characteristic | Value |
---|---|
Related Concepts: | XHTML 2 [XHTML2] :nextfocus :prevfocus |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | IDREFS |
labelledby
Points to the element which labels the current element.
This is very similar to describing an object with describedby. A label should provide the user with the essence of the what the object does, whereas a description is intended to provide additional information that some users might need.
Note: the expected spelling of this property in U.S. English would be "labeledby". However, the accessibility API features to which this property is mapped have established the "labelledby" spelling. This property is spelled that way to match the convention and minimize the difficulty for developers.
Characteristic | Value |
---|---|
Related Concepts: | A related concept is label in XForms [XForms] and HTML [HTML]. |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | IDREFS |
owns
Defines an object as a parent of another document element, when the child does not appear directly in the subtree of the owner.
Todo: add information about when to use owns (all children must be in DOM) and when to use level for trees.
Todo: add information about relationship between owns and setsize, posinset, etc. To be worked out in Best Practices and then added here.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | IDREFS |
posinset
Indicates an item's number or position within the current level of a tree or list.
For example, if this element is the third item in a group then posinset is equal to three. The range of values is 1 to the size of the set.
If all items in a set are present in the document structure, the user agent should be able to calculate the set size and position in the set of each item. However, if the set is elided and only a portion of it is present in the document structure, this property is needed to provide an explicit indication. User agent support for automatic calculation of position and setsize may vary. Authors SHOULD test with user agents and assistive technologies to determine whether this property is needed.
Posinset SHOULD be used together with setsize.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | |
Inherits into Roles: | |
Value: | integer |
setsize
Refers to the number of items in the current level of a list or tree.
For example, if this element is in a group of six items at the same level then setsize is equal to six. Setsize must be >= 1.
This
property is marked on the members of a set, not the container element
that collects the members of the set. To orient a user to a particular
element by saying it is "item N out of M", the client software would
use N equal to the posinset property on the element and M equal to the setsize
property on that particular element.
If all items in a set are present in the document structure, the user agent should be able to calculate the set size and position in the set of each item. However, if the set is elided and only a portion of it is present in the document structure, this property is needed to provide an explicit indication. User agent support for automatic calculation of position and setsize may vary. Authors SHOULD test with user agents and assistive technologies to determine whether this property is needed.
Setsize SHOULD be used together with posinset.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | listitem |
Inherits into Roles: | |
Value: | integer |
This section defines properties that are affect or describe user interface rendering.
States and properties in this section include:
hidden
Defines whether or not the object is visible to the user.
For example, if a menu is only visible after some user action, this property would be set to "true" until the user performs the necessary action, at which time this property would then be set to "false" to indicate that object is now visible.
It is recommended that
authors key visibility of objects off this attribute, rather than
change visibility and separately have to remember to update this
property. CSS 2 provides a way to select on attribute values ([CSS], Section 5.8.1). The following pair of CSS declarations make content visible unless the hidden
property is true; scripts need only update the value of this property to change visibility:
[aria-hidden=true] {visibility: hidden;}
Note that this CSS example, while technically correct, will not work in most browsers at the time of this writing. It may be necessary to set the style using script.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | All elements of the base markup |
Inherits into Roles: | |
Value: | boolean |
Value | Description |
---|---|
true: | Indicates that this section of the document and its children are hidden from the rendered view. |
false: | Indicates that this section of the document is rendered. |
sort
Indicates if items in a table or grid are sorted in ascending or descending order.
This property should be applied only to table or grid headers. If the property is not provided, there is no defined sort order.
Characteristic | Value |
---|---|
Related Concepts: | |
Used in Roles: | |
Inherits into Roles: | |
Value: | NMTOKEN |
Value | Description |
---|---|
ascending: | Items are sorted in ascending order by this column. |
descending: | Items are sorted in descending order by this column. |
none: | There is no special sort applied to the column. |
other: | A sort algorithm other than ascending or descending has been applied. |
This section is normative.
This section is in flux. Please review discussiona t @@.
The taxonomy of roles, states, and properties defined in ARIA is applicable to any language for Web content. This specification focuses on implementation in markup languages. There are two broad approaches to implementation, one for XML [XML] based languages that support extensions via XML namespaces [XML-NAMES], and one for markup languages, such as HTML, without the use of namespace extensions.
ARIA Roles, States, and Properties are implemented as attributes of elements. Roles use a special-purpose "role" attribute whose value is the name of the role. States and properties each use their own attribute, with values as defined for each particular state or property in this specification. The name of the attribute is based on the name of the state or property but depends on whether ARIA is used with namespace extensions, explained in further detail below.
todo: See Simon's comment about who declares how ARIA implements in a host language.
Most implementations of ARIA in content that is sent to user agents should use this approach. User agents expect to see ARIA as a de facto extension of their supported languages. The approach for implementation without namespaces may be used even in languages that support namespaces, if the language allows. For instance, SVG supports namespace extensions but it is preferred to use ARIA without namespaces in order to have an equivalent DOM as HTML.
ARIA roles are applied to an element with the "role" attribute. This attribute is derived from the XHTML Role Attribute Module [XHTML-ROLES] but is not technically an actual usage of that specification. As in the XHTML Role Attribute Module, this attribute is in no namespace. However, values of the attribute are not CURIEs [CURIE], but simply strings.
The role attribute indicates what type of object the element represents. The value of this attribute is the name of a role in this specification (including roles defined in the XHTML Role Attribute Module that are imported into the ARIA specification - see Landmark Roles inherited from the XHTML Role Attribute Module).
To support future extensibility, and to allow for the provision of other roles than those from ARIA, the role attribute allows multiple values, separated by whitespace. From the list of values, the first role that is recognized by the user agent as an ARIA role is the one processed according to the ARIA specification. Subsequent values serve as fallbacks, either for roles defined in later versions of the ARIA specification or roles that are intended to extend the roles defined in the ARIA specification. Authors should therefore provide roles in the order of newest or most precise first, and most likely to be recognized last, so the most appropriate role recognized by the user agent will be encountered first.
Note: ARIA roles are in the namespace of the rest of the document, if defined, and do not require a namespace prefix. If other roles are provided in the role attribute, they MUST have namespace prefixes. The namespace prefixes are not processed as namespaces per se but serve to distinguish non-ARIA roles.
Each ARIA state and property
is represented with its own attribute. The state and property
attributes are in no namespace, meaning the attributes are implemented
without namespace qualifiers like other attributes of the host
language. To minimize the chance of conflict with attribute names
defined in the host language, the attribute name for each state and
property is the prefix "aria-" plus the name of the state or property.
For example, the attribute name for the checked state is aria-checked
.
Note: In most cases, the attributes required to represent the ARIA states and properties are not defined in the host language. The role attribute may also not be defined. If the host language does not provide an extensibility mechanism, documents that implement ARIA in this manner will not pass DTD-based validation. However, user agents that conform to ARIA will process such documents.
Editorial note: we are exploring mechanisms to provide automated conformance checking for documents that include ARIA. This might be provided informatively as a tool, and conformance checking with it is not required. Providing an unofficial version of the HTML DTD with ARIA support added to drive existing validators might be useful as well.
Allowed values of the state and property attributes are defined in this specification. These attributes must have values meeting the restriction for data type or enumerated value. These values define the specific meaning associated with the state or property.
To support compatibility with future versions of ARIA, attribute names beginning with "aria-" should be treated as reserved in host languages likely to use ARIA. This is not a conformance requirement, but a request to enhance compatibility.
Note: Some user agents process languages in namespaces, such as XHTML and HTML 5, and languages in no namespace, such as HTML 4. Such user agents should recognize ARIA state and property attributes in the namespaces of the various technologies supported by the user agent. For instance, a user agent that supports HTML, XHTML, and SVG will recognize ARIA attributes on HTML elements as well as elements in the XHTML and SVG namespaces.
Todo: talk about what to do with doctype
? Previous text: Although the user of ARIA adds features to content languages, and therefore creates a new hybrid language, the doctype
declaration in documents should not be modified. In HTML, a non-standard doctype
declaration causes user agents to use "standards mode", which has
different behavior from the "quirks mode" more commonly used in
practice. In XHTML, the user agent won't recognize the doctype
and won't retrieve an actual DTD, and therefore it won't be able to use
features that depend on the XHTML DTD such as recognizing character
entities.
Todo: work the following in? In XML, best not to use doctype
declaration at all (not required, though not forbidden); can use schema
if desired. W3C validator works other way around, if you use custom
identifiers it will retrieve and validate, but you have to decide what
you want. May take a similar approach to http://www.whatwg.org/specs/web-forms/current-work/#conformance; search for "HTML documents that use".
XML languages that support namespaces may support ARIA without specific modification of the language, by using namespaces to differentiate the ARIA attributes. This approach is mainly useful for content that will eventually be transformed before delivery to the user agent. During that transformation, the ARIA features should be converted into the non-namespace version described above. User agents are not expected to support content with ARIA in namespaces.
Todo: provide a XSLT snippet that does the ARIA transformation, so authors can just include it in their XSLTs?
This implementation method requires three things:
http://www.w3.org/1999/xhtml
. Alternatively, the language may provide its own role attribute, which should be used if available. The role attribute MUST support CURIE [CURIE] values. The XHTML Role attribute supports CURIE values.http://www.w3.org/1999/xhtml/vocab#
.
This is the default namespace for the XHTML Role Attribute and does not
need a namespace prefix when used with that attribute. If used with a
different attribute, the namespace MUST be declared and the role attribute value used with the appropriate prefix. Todo: is this a sane statement wrt how CURIE works? http://www.w3.org/2005/07/aaa
.
Values of these attributes are as defined by the particular state or
property. This namespace is bound to the prefix "aria" for examples in
this document. For example, an element that has a checked state of true might be implemented as aria:checked="true"
.The start tag of a root element that includes the appropriate namespace declarations might look like:
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en"
xmlns:aria="http://www.w3.org/2005/07/aaa"
>
The following example demonstrates using ARIA with SVG [SVG]: Todo: is this still how SVG will work?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-flat-20030114.dtd">
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:aria="http://www.w3.org/2005/07/aaa"
width="100% " height="100% ">
<desc>
Example of using state-attributes from Accessible Adaptable Applications Namespace:
</desc>
<!-- an expanded group of rectangles -->
<g aria:expanded="true ">
<!-- this rectangle is zoomed -->
<rect x="1cm " y="3cm " width="1cm " height="1cm " />
<rect x="3cm " y="3cm " width="1cm " height="1cm " />
</g>
</svg>
Todo: discuss Tabindex here? Also discussed in more detail below.
Appendix A.2 provides a driver DTD which integrates a new profile for XHTML which augments XHTML 1.1 Full with the capabilities in the new module introduced here. This uses XHTML Modularization [XHTMLMOD] to extend XHTML 1.1.
Valid XHTML 1.1 documents that wish to use this profile must use the following DOCTYPE declaration:
<DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 For Accessible Rich Internet Applications//EN"
"http://www.w3.org/2005/07/aaa/xhtml11-aria.dtd">
Set the namespace prefix for ARIA to http://www.w3.org/2005/07/aaa. This is typically done on the root element of the document:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:aria="http://www.w3.org/2005/07/aaa">
...
</html>
Note that XHTML 1.0 does not support modularization. The ARIA States and Properties attributes will be understood by user agents in XHTML 1.0 by declaring and using the appropriate namespace the same as for XHTML 1.1, but such documents will not validate to the XHTML 1.0 DTD.
Todo: check that SVG does in fact provide feature to set focus on all rendered/renderable elements, and if focus can be set without impacting tab order. If answer yes, cover in BPG. If no, open thread with SVG WG.
tabindex
is not a state or property and has not been added to the http://www.w3.org/2005/07/aaa namespace. However, to help the accessibility of accessible XHTML
applications, tabindex
has been added to all visible elements in the extended XHTML Doctype. The tabindex
change enables support of User Agent
Accessibility Guidelines[UAAG]. tabindex
should not be used with a prefix, because it is an existing XHTML
attribute. The States and Properties DTD simply adds this attribute,
without a prefix, to an extended set of elements. See Tabindex in XHTML 1.1 for more information.
tabindex
also supports the values of "0" and "-1." See section 4.4 for details.
Tabindex is used only to provide focus support to XHTML documents and HTML 4 documents. Other content languages already provide the needed focus control features. Therefore, tabindex is not defined and not expected to be used when ARIA is used in other languages.
Editorial note: It has been proposed that tabindex be made a global attribute, which can be used on any element. The group has not fully considered the technical consequences of this but is considering making this change in a future draft.
Todo: add a list of the HTML elements we did NOT add tabindex to (clear this applies to HTML 4 / XHTML 1), then other edits as suggested by Rich
The following example shows a role being used to make a simple widget known to the
user agent, so that the user agent can handle it correctly. In this example a div
has been used with scripts to act as a tristate
checkbox. The ARIA State and Properties of checked has been set to true.
The XHTML role element gives the use agent information about the behavior of the widget. For more information on Roles see Using Roles.
<span class="checkbox" id="chbox1" role="checkbox" aria:checked="true" tabindex="0" onkeydown="return checkBoxEvent(event);" onkeyup="return checkBoxEvent(event);" >
A checkbox label
</span>
JavaScript can then manipulate the widget via the DOM. However, because States and Properties are mapped to the accessibility platforms, the assistive technology and user agents can understand the widget behavior and respond appropriately.
java script snippet :
if ((event.type == "keyup" && event.button == 0)) {
// Toggle checkbox
var checkbox = event.target;
if (checkbox.getAttributeNS("http://www.w3.org/2005/07/aaa",
"checked") == "true") {
checkbox.removeAttributeNS("http://www.w3.org/2005/07/aaa",
"checked");
return false; // Don't continue propagating event}
}
return true; // Browser can still use event
}
This section is normative.
Todo: this section needs to be updated to match the current way we implement ARIA.
The ARIA roles, states, and properties is not a stand-alone document type. It is intended to be integrated into other host languages such as XHTML [XHTML]. A conforming document is a document that requires only the facilities described as mandatory in this specification and the facilities described as mandatory in its host language. Such a document must meet all the following criteria:
The document must conform to the constraints expressed in Appendix A - RDF Schema combined with the constraints expressed in its host language implementation.
The document must conform to the constraints expressed in XHTML 1.1 For Accessible Adaptable Applications DTDis this still true? combined with the constraints expressed in its host language implementation.
Editorial Note: the public string of the DTD may need to be updated to match ARIA name, here and elsewhere it appears. We also need to look at what this would do to the aria namespace, and whether it should have trailing slash (currently does because of link checker).
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" xmlns:aria="http://www.w3.org/2005/07/aaa" >
Todo: provide a template implementation conformance statement? See Issue 38.
User agents that conform to States and Properties Module for Accessible Rich Internet Applications expose state information provided by the author to assistive technologies, and if they are assistive technologies themselves, use state information to enhance the presentation and interaction. Conformance requirements:
User agents MUST support the role attribute and attributes for each state and property (prefixed with "aria-") in no namespace, when specified on elements in the namespaces of supported languages, and in the namespace of languages for which the user agent provides ARIA support (e.g., XHTML, SVG).
User agents MUST process values of the role attribute as follows:
Note: this procedure applies to processing of the role attribute for ARIA only. There may be values of this attribute that are of interest but not for ARIA purposes. Processing the attribute for those purposes should neither interfere with nor be disrupted by the processing described here for ARIA.
User agents MUST process attributes in no namespace that are specified on elements that support ARIA whose name begins with "aria-" by truncating the prefix and using the resulting value as the name of the state or property. The attribute value MUST be processed in accordance with the specification for that particular state or property.
User agents MUST make all author provided roles, states and properties, and their values available in the DOM, using the attribute name, namespace, and values defined in this specification. The value of the role attribute so exposed must be the entire string value, not the particular token recognized by the user agent as the supported role. This requirement parallels User Agent Accessibility Guidelines 1.0 Section 6.2: DOM access to HTML/XML content ([UAAG], Section 6.2) and is also required by the DOM Core specification. Todo: since this is required by DOM, do we need to call it out? Simon suggests say that UAs must not mutate the DOM as part of their ARIA processing.
User agents SHOULD expose role, state, and property information provided by the author to the platform accessibility API (using the values as determined in steps 2 and 3 above). Refer to Mapping States and Properties to Accessibility APIs ([ARIA-PRACTICES], Section 12.1) for guidance about how to expose this information. This requirement parallels User Agent Accessibility Guidelines 1.0 Section 6.3: Programmatic Access to non-HTML/XML Content ([UAAG], Section 6.3), except that it applies even to HTML and XML content.
Note: Not all platforms provide accessibility APIs, or provide interfaces that map to all the roles, states, and properties defined in this specification. User agents should expose those roles, states, and properties that are supported in order to support assistive technologies that work through the accessibility API. The remaining roles, states, and properties are available to assistive technologies via the DOM as per point 1 above, for those that provide explicit support for this specification.
User agents MUST override implicit roles of elements with roles provided by the author. This applies to elements that have particular default roles because of the semantics declared by the content technology. Processing, mapping to the accessibility API, and presentation must be appropriate to the declared ARIA role. Todo: Simon Pieters not comfortable with the implications of this; see http://lists.w3.org/Archives/Public/public-pfwg-comments/2007JulSep/0000.html. Further comments: For the purposes of communicating with the AT, or for the purposes of e.g. rendering and DOM interfaces, too? I was under the impression that ARIA was supposed to leave rendering and the DOM alone, and leave it up to the page author to get the right rendering and behavior in browsers.
User agents MUST NOT implement ARIA support in such a manner that they recognize the ARIA attributes in any namespace, since this excessively restricts the possibilities for local names in those namespaces. User agents MUST recognize ARIA attributes only in the namespaces of technologies for which ARIA is explicitly supported. When user agents add ARIA support to a technology in this manner, the specification for that technology SHOULD be updated to indicate that ARIA is supported by the specification.
Assistive technologies that conform to this specification MUST use role information to present content to, and support interaction with, users in a manner appropriate to that role, and use state and property information to present content to, and support interaction, with users in a manner appropriate to that state or property. The manner in which this is done is specific to each user agent but should be appropriate to the specified description of the state or property. This requirements parallels User Agent Accessibility Guidelines 1.0 Section 6.5: Programmatic operation of user agent user interface and Section 6.6: Programmatic notification of changes ([UAAG], Section 6.5 and 6.6) except that it applies to content, not just the user agent itself.
Note: This does not specify how assistive technology obtains role, state, and property information. Assistive technologies may obtain this information directly from content, through the DOM, or through the platform accessibility API. In the latter case, only incomplete state and property information may be available. This point only requires that assistive technology use the states and properties that are actually available to it to support the user.
This section is informative.
Todo: provide a OWL property to indicate if state is required. Note this probably involves a syntax like <rdfs:subClassOf><owl:Restriction><owl:onProperty rdf:resource="{stateurl}"/><owl:minCardinality rdf:datatype="&xsd;nonNegativeInteger">1</owl:minCardinality></owl:restriction></rdfs:subClassOf> and would be different from the role:supportedState syntax we're otherwise using. Probably works best if we remove supportedState and express them directly as OWL properties, which means modeling the States in RDF. Should we go this far?
Todo: express the restriction for composite that the namefrom value of "subtree" may not be used.
Todo: express the restriction that the "mixed" value of checked only applies to checkbox and menuitemcheckbox.
Editorial note: the following references are used by the RDF but are not otherwise referenced in the document, and therefore are uncited. Explanations of these resources will be integrated into the prose.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rdf:RDF [
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
<!ENTITY dc "http://dublincore.org/2003/03/24/dces#">
<!ENTITY owl "http://www.w3.org/2002/07/owl#">
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<!ENTITY states "http://www.w3.org/2005/07/aaa#">
]>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:role="http://www.w3.org/1999/xhtml/vocab#"
xmlns:states="http://www.w3.org/2005/07/aaa#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:dc="http://purl.org/dc/elements/1.1/#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy"><!--==Objects==--><owl:ObjectProperty rdf:ID="baseConcept">
<rdfs:comment xml:lang="en">This is similar to type but without
inheritance of limitations and properties. role:baseConcepts are designed as
a substitute for inheritance for external concepts. </rdfs:comment>
<rdfs:subpropertyOf rdf:resource="rdfs:seeAlso"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:ID="supportedState">
<rdfs:comment xml:lang="en">A state that can be supported for this a
Role</rdfs:comment>
<rdfs:domain rdf:resource="#roletype"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:ID="scope">
<rdfs:comment xml:lang="en">Context where this role is
allowed</rdfs:comment>
<rdfs:domain rdf:resource="#roletype"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:ID="mustContain">
<rdfs:comment xml:lang="en">A child that must be contained by this
role</rdfs:comment>
<rdfs:subpropertyOf rdf:resource="#scope"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:ID="default">
<rdfs:comment>Default value of a supported state in the context of
this role</rdfs:comment>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:ID="nameFrom">
<rdfs:comment>How a role type name is extracted and referenced
inside a document. Values are "author": name comes from values
provided by the author in explict markup features; and "subtree":
name comes from the text value of the element node.</rdfs:comment>
<rdfs:domain rdf:resource="#widget"/>
</owl:ObjectProperty>
<owl:ObjectProperty rdf:ID="childrenArePresentational">
<rdfs:comment xml:lang="en">The children are presenational. Assistive
technologies may choose to hid the children from the user.</rdfs:comment>
<rdf:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
<rdfs:domain rdf:resource="#roletype"/>
</owl:ObjectProperty>
<!--== Base Types ==--><owl:Class rdf:ID="roletype">
<rdfs:subClassOf>
<owl:Restriction>
<owl:onProperty rdf:resource="http://dublincore.org/2003/03/24/dces#description"/>
<owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#string">1</owl:cardinality>
</owl:Restriction>
</rdfs:subClassOf>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/xhtml-role/#s_role_module_attributes"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html401/struct/links.html#edef-LINK"/>
<rdfs:seeAlso rdf:resource="http://purl.org/dc/elements/1.1/type"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#atomic"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#busy"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#channel"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#controls"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#datatype"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#describedby"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#disabled"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#dropeffect"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#flowto"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#grab"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#haspopup"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#hidden"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#invalid"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#labelledby"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#live"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#owns"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#relevant"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#required"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#tabindex"/>
</owl:Class>
<owl:Class rdf:ID="widget">
<rdfs:subClassOf rdf:resource="#roletype"/>
</owl:Class>
<owl:Class rdf:ID="structure">
<rdfs:subClassOf rdf:resource="#roletype"/>
</owl:Class>
<owl:Class rdf:ID="composite">
<rdfs:subClassOf rdf:resource="#widget"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#activedescendant"/>
</owl:Class>
<owl:Class rdf:ID="window">
<rdfs:subClassOf rdf:resource="#roletype"/>
</owl:Class>
<!--== User Input Controls ==--><owl:Class rdf:ID="input">
<rdfs:subClassOf rdf:resource="#widget"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2007/REC-xforms-20071029/#ui-input"/>
</owl:Class>
<owl:Class rdf:ID="select">
<rdfs:subClassOf rdf:resource="#composite"/>
<rdfs:subClassOf rdf:resource="#group"/>
<rdfs:subClassOf rdf:resource="#input"/>
</owl:Class>
<owl:Class rdf:ID="listbox">
<rdfs:subClassOf rdf:resource="#list"/>
<rdfs:subClassOf rdf:resource="#select"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html401/interact/forms.html#edef-SELECT"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2007/REC-xforms-20071029/#ui-selectMany"/>
<role:mustContain rdf:resource="#option"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#multiselectable"/>
</owl:Class>
<owl:Class rdf:ID="combobox">
<rdfs:subClassOf rdf:resource="#select"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html401/interact/forms.html#edef-SELECT"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2007/REC-xforms-20071029/#ui-selectMany"/>
<role:mustContain rdf:resource="#option"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#autocomplete"/>
</owl:Class>
<owl:Class rdf:ID="option">
<rdfs:subClassOf rdf:resource="#input"/>
<role:baseConcept rdf:resource="http://www.w3.org/TR/html4/interact/forms.html#edef-OPTION"/>
<rdfs:seeAlso rdf:resource="#listitem"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2007/REC-xforms-20071029/#ui-common-elements-item"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#checked"/>
</owl:Class>
<owl:Class rdf:ID="checkbox">
<rdfs:subClassOf rdf:resource="#option"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html401/interact/forms.html#edef-INPUT"/>
</owl:Class>
<owl:Class rdf:ID="radiogroup">
<rdfs:subClassOf rdf:resource="#select"/>
<role:mustContain rdf:resource="#radio"/>
</owl:Class>
<owl:Class rdf:ID="radio">
<rdfs:subClassOf rdf:resource="#checkbox"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html401/interact/forms.html#edef-INPUT"/>
</owl:Class>
<owl:Class rdf:ID="textbox">
<rdfs:subClassOf rdf:resource="#input"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2007/REC-xforms-20071029/#ui-input"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html4/interact/forms.html#edef-TEXTAREA"/>
</owl:Class>
<owl:Class rdf:ID="range">
<rdfs:subClassOf rdf:resource="#input"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#valuetext"/>
</owl:Class>
<owl:Class rdf:ID="slider">
<rdfs:subClassOf rdf:resource="#range"/>
</owl:Class>
<owl:Class rdf:ID="spinbutton">
<rdfs:subClassOf rdf:resource="#composite"/>
<rdfs:subClassOf rdf:resource="#range"/>
</owl:Class>
<!--== User Interface Elements ==--><owl:Class rdf:ID="button">
<rdfs:subClassOf rdf:resource="#widget"/>
<role:baseConcept rdf:resource="http://www.w3.org/TR/html4/interact/forms.html#edef-BUTTON"/>
<rdfs:seeAlso rdf:resource="#link"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2007/REC-xforms-20071029/#ui-button"/>
</owl:Class>
<owl:Class rdf:ID="link">
<rdfs:subClassOf rdf:resource="#widget"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html401/struct/links.html#edef-LINK"/>
</owl:Class>
<owl:Class rdf:ID="menu">
<rdfs:subClassOf rdf:resource="#list"/>
<rdfs:subClassOf rdf:resource="#select"/>
<rdfs:seeAlso rdf:resource="http://www.loc.gov/nls/z3986/v100/dtbook110doc.htm#sidebar"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2007/REC-xforms-20071029/#ui-selectMany"/>
<rdfs:seeAlso rdf:resource="http://java.sun.com/j2se/1.3/docs/api/javax/accessibility/AccessibleRole.html#MENU"/>
<role:mustContain rdf:resource="#menuitem"/>
</owl:Class>
<owl:Class rdf:ID="menubar">
<rdfs:subClassOf rdf:resource="#group"/>
<rdfs:seeAlso rdf:resource="#toolbar"/>
</owl:Class>
<owl:Class rdf:ID="toolbar">
<rdfs:subClassOf rdf:resource="#group"/>
<rdfs:seeAlso rdf:resource="#menubar"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#multiselectable"/>
</owl:Class>
<owl:Class rdf:ID="menuitem">
<rdfs:subClassOf rdf:resource="#listitem"/>
<rdfs:subClassOf rdf:resource="#option"/>
<rdfs:seeAlso rdf:resource="http://java.sun.com/j2se/1.3/docs/api/javax/accessibility/AccessibleRole.html#MENU_ITEM"/>
<role:scope rdf:resource="#menu"/>
</owl:Class>
<owl:Class rdf:ID="menuitemcheckbox">
<rdfs:subClassOf rdf:resource="#checkbox"/>
<rdfs:subClassOf rdf:resource="#menuitem"/>
<rdfs:seeAlso rdf:resource="#menuitem"/>
<role:scope rdf:resource="#menu"/>
</owl:Class>
<owl:Class rdf:ID="menuitemradio">
<rdfs:subClassOf rdf:resource="#menuitem"/>
<rdfs:subClassOf rdf:resource="#radio"/>
<rdfs:seeAlso rdf:resource="#menuitem"/>
<role:scope rdf:resource="#menu"/>
</owl:Class>
<owl:Class rdf:ID="tooltip">
<rdfs:subClassOf rdf:resource="#description"/>
</owl:Class>
<owl:Class rdf:ID="tabpanel">
<rdfs:subClassOf rdf:resource="#region"/>
</owl:Class>
<owl:Class rdf:ID="tablist">
<rdfs:subClassOf rdf:resource="#directory"/>
<rdfs:seeAlso rdf:resource="http://www.daisy.org/z3986/2005/z3986-2005.html#Guide"/>
</owl:Class>
<owl:Class rdf:ID="tab">
<rdfs:subClassOf rdf:resource="#sectionhead"/>
<rdfs:subClassOf rdf:resource="#widget"/>
<role:scope rdf:resource="#tablist"/>
</owl:Class>
<owl:Class rdf:ID="tree">
<rdfs:subClassOf rdf:resource="#select"/>
<role:mustContain rdf:resource="#treeitem"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#multiselectable"/>
</owl:Class>
<owl:Class rdf:ID="treeitem">
<rdfs:subClassOf rdf:resource="#listitem"/>
<rdfs:subClassOf rdf:resource="#option"/>
<role:scope rdf:resource="#tree"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#level"/>
</owl:Class>
<!--== Document Structure ==--><owl:Class rdf:ID="section">
<rdfs:subClassOf rdf:resource="#structure"/>
<rdfs:seeAlso rdf:resource="http://www.loc.gov/nls/z3986/v100/dtbook110doc.htm#frontmatter"/>
<rdfs:seeAlso rdf:resource="http://www.loc.gov/nls/z3986/v100/dtbook110doc.htm#level"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/REC-smil/#par"/>
</owl:Class>
<owl:Class rdf:ID="sectionhead">
<rdfs:subClassOf rdf:resource="#structure"/>
</owl:Class>
<owl:Class rdf:ID="document">
<rdfs:subClassOf rdf:resource="#structure"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/di-gloss/#def-delivery-unit"/>
</owl:Class>
<owl:Class rdf:ID="region">
<rdfs:subClassOf rdf:resource="#section"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html401/present/frames.html#edef-FRAME"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/di-gloss/#def-perceivable-unit"/>
<rdfs:seeAlso rdf:resource="#section"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#expanded"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#level"/>
</owl:Class>
<owl:Class rdf:ID="heading">
<rdfs:subClassOf rdf:resource="#sectionhead"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html4/struct/global.html#edef-H1"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html4/struct/global.html#edef-H2"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html4/struct/global.html#edef-H3"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html4/struct/global.html#edef-H4"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html4/struct/global.html#edef-H5"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html4/struct/global.html#edef-H6"/>
<rdfs:seeAlso rdf:resource="http://www.loc.gov/nls/z3986/v100/dtbook110doc.htm#levelhd"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#level"/>
</owl:Class>
<owl:Class rdf:ID="list">
<rdfs:subClassOf rdf:resource="#region"/>
<role:baseConcept rdf:resource="http://www.w3.org/TR/html4/struct/lists.html#edef-UL"/>
<role:mustContain rdf:resource="#group"/>
<role:mustContain rdf:resource="#listitem"/>
</owl:Class>
<owl:Class rdf:ID="listitem">
<rdfs:subClassOf rdf:resource="#section"/>
<role:baseConcept rdf:resource="http://www.w3.org/TR/html4/struct/lists.html#edef-LI"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2007/REC-xforms-20071029/#ui-common-elements-item"/>
<role:scope rdf:resource="#list"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#posinset"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#setsize"/>
</owl:Class>
<owl:Class rdf:ID="group">
<rdfs:subClassOf rdf:resource="#section"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html401/interact/forms.html#edef-FIELDSET"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#activedescendant"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#expanded"/>
</owl:Class>
<owl:Class rdf:ID="grid">
<rdfs:subClassOf rdf:resource="#composite"/>
<rdfs:subClassOf rdf:resource="#section"/>
<role:baseConcept rdf:resource="http://www.w3.org/TR/html4/struct/tables.html#edef-TABLE"/>
<role:mustContain rdf:resource="#row"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#level"/>
</owl:Class>
<owl:Class rdf:ID="row">
<rdfs:subClassOf rdf:resource="#group"/>
<role:baseConcept rdf:resource="http://www.w3.org/TR/html4/struct/tables.html#edef-TR"/>
<role:scope rdf:resource="#grid"/>
<role:scope rdf:resource="#treegrid"/>
<role:mustContain rdf:resource="#gridcell"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#level"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#selected"/>
</owl:Class>
<owl:Class rdf:ID="gridcell">
<rdfs:subClassOf rdf:resource="#section"/>
<rdfs:subClassOf rdf:resource="#widget"/>
<role:baseConcept rdf:resource="http://www.w3.org/TR/html4/struct/tables.html#edef-TD"/>
<role:scope rdf:resource="#row"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#expanded"/>
</owl:Class>
<owl:Class rdf:ID="rowheader">
<rdfs:subClassOf rdf:resource="#gridcell"/>
<rdfs:subClassOf rdf:resource="#sectionhead"/>
<role:baseConcept rdf:resource="http://www.w3.org/TR/html4/struct/tables.html#edef-TH"/>
<role:scope rdf:resource="#row"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#sort"/>
</owl:Class>
<owl:Class rdf:ID="columnheader">
<rdfs:subClassOf rdf:resource="#gridcell"/>
<rdfs:subClassOf rdf:resource="#sectionhead"/>
<role:baseConcept rdf:resource="http://www.w3.org/TR/html4/struct/tables.html#edef-TH"/>
<role:scope rdf:resource="#row"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#sort"/>
</owl:Class>
<owl:Class rdf:ID="treegrid">
<rdfs:subClassOf rdf:resource="#grid"/>
<rdfs:subClassOf rdf:resource="#tree"/>
<role:mustContain rdf:resource="#row"/>
</owl:Class>
<owl:Class rdf:ID="description">
<rdfs:subClassOf rdf:resource="#section"/>
</owl:Class>
<owl:Class rdf:ID="directory">
<rdfs:subClassOf rdf:resource="#list"/>
<rdfs:seeAlso rdf:resource="http://www.daisy.org/z3986/2005/z3986-2005.html#Guide"/>
<role:mustContain rdf:resource="#link"/>
</owl:Class>
<owl:Class rdf:ID="img">
<rdfs:subClassOf rdf:resource="#section"/>
<rdfs:seeAlso rdf:resource="http://www.loc.gov/nls/z3986/v100/dtbook110doc.htm#imggroup"/>
</owl:Class>
<owl:Class rdf:ID="presentation">
<rdfs:subClassOf rdf:resource="#structure"/>
</owl:Class>
<owl:Class rdf:ID="separator">
<rdfs:subClassOf rdf:resource="#structure"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html401/present/graphics.html#edef-HR"/>
</owl:Class>
<owl:Class rdf:ID="math">
<rdfs:subClassOf rdf:resource="#section"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/html401/present/graphics.html#edef-HR"/>
</owl:Class>
<!--== Specialized Regions ==--><owl:Class rdf:ID="application">
<rdfs:subClassOf rdf:resource="#region"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/di-gloss/#def-delivery-unit"/>
</owl:Class>
<owl:Class rdf:ID="dialog">
<rdfs:subClassOf rdf:resource="#window"/>
</owl:Class>
<owl:Class rdf:ID="alert">
<rdfs:subClassOf rdf:resource="#status"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2007/REC-xforms-20071029/#ui-common-elements-alert"/>
</owl:Class>
<owl:Class rdf:ID="alertdialog">
<rdfs:subClassOf rdf:resource="#alert"/>
<rdfs:subClassOf rdf:resource="#dialog"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2007/REC-xforms-20071029/#ui-common-elements-alert"/>
</owl:Class>
<owl:Class rdf:ID="marquee">
<rdfs:subClassOf rdf:resource="#section"/>
</owl:Class>
<owl:Class rdf:ID="log">
<rdfs:subClassOf rdf:resource="#region"/>
</owl:Class>
<owl:Class rdf:ID="status">
<rdfs:subClassOf rdf:resource="#composite"/>
<rdfs:subClassOf rdf:resource="#region"/>
</owl:Class>
<owl:Class rdf:ID="progressbar">
<rdfs:subClassOf rdf:resource="#status"/>
<role:supportedState rdf:resource="http://www.w3.org/2005/07/aaa#valuetext"/>
</owl:Class>
<owl:Class rdf:ID="timer">
<rdfs:subClassOf rdf:resource="#status"/>
</owl:Class>
<!--== Landmark Roles Inherited from the XHTML Role Attribute Module ==--><owl:Class rdf:ID="article">
<rdfs:subClassOf rdf:resource="#document"/>
<rdfs:subClassOf rdf:resource="#region"/>
<rdfs:seeAlso rdf:resource="http://www.w3.org/TR/2008/WD-html5-20080122/#the-article"/>
</owl:Class>
<owl:Class rdf:ID="banner">
<rdfs:subClassOf rdf:resource="#region"/>
</owl:Class>
<owl:Class rdf:ID="complementary">
<rdfs:subClassOf rdf:resource="#region"/>
</owl:Class>
<owl:Class rdf:ID="contentinfo">
<rdfs:subClassOf rdf:resource="#region"/>
</owl:Class>
<owl:Class rdf:ID="main">
<rdfs:subClassOf rdf:resource="#region"/>
</owl:Class>
<owl:Class rdf:ID="navigation">
<rdfs:subClassOf rdf:resource="#region"/>
</owl:Class>
<owl:Class rdf:ID="search">
<rdfs:subClassOf rdf:resource="#region"/>
</owl:Class>
<!--== Section Roles inherited from XHTML Role Attribute Module ==--><owl:Class rdf:ID="definition">
<rdfs:subClassOf rdf:resource="#section"/>
</owl:Class>
<owl:Class rdf:ID="note">
<rdfs:subClassOf rdf:resource="#section"/>
</owl:Class>
</rdf:RDF>
Note that this module defines the parameter entity aria.attrs.qname;
. This entity is intended to be used in the
attribute lists of elements in any host language that permits the use of aria
attributes on elements in its own namespace. In this case the Host Language
driver should set a parameter entity %aria.prefixed;
to INCLUDE.
The default prefix to be used is aria:.
<!-- ...................................................................... -->
<!-- aria-qname Module ................................................... -->
<!-- file: aria-qname.mod
PUBLIC "-//W3C//DTD XHTML 1.1 For Accessible Rich Internet Applications Namespace//EN"
SYSTEM "http://www.w3.org/2005/07/aaa/aria-qname.mod"
xmlns:aria="http://www.w3.org/2005/07/aaa"
...................................................................... -->
<!ENTITY % XHTML.version
"-//W3C//DTD XHTML 1.1 For Accessible Rich Internet Applications Namespace//EN" >
<!-- 1. Namespace declarations ::::::::::::::::::::::::::::: -->
<!ENTITY % NS.prefixed "IGNORE" >
<!ENTITY % aria.prefixed "%NS.prefixed;" >
<!-- Declare the actual namespace of this module -->
<!ENTITY % aria.xmlns "http://www.w3.org/2005/07/aaa" >
<!ENTITY % aria.prefix "aria" >
<![%aria.prefixed;[
<!ENTITY % aria.xmlns.extra.attrib "" >
]]>
<!ENTITY % aria.xmlns.extra.attrib "" >
<![%aria.prefixed;[
<!ENTITY % aria.pfx "%aria.prefix;:" >
<!ENTITY % aria.xmlns.attrib "
xmlns:%aria.prefix; CDATA #FIXED '%aria.xmlns;'
%aria.xmlns.extra.attrib;
">
]]>
<!ENTITY % aria.pfx "" >
<!ENTITY % aria.xmlns.attrib "
xmlns CDATA #FIXED '%aria.xmlns;'
%aria.xmlns.extra.attrib;
">
<![%NS.prefixed;[
<!ENTITY % XHTML.xmlns.extra.attrib "%aria.xmlns.attrib;" >
]]>
<!-- 2. XML Qualified Names for ARIA ::::::::::::::::::::::::::::: -->
<!-- This section declares parameter entities used to provide
namespace-qualified names for all element types.
-->
<!ENTITY % xhtml-datatypes.mod
PUBLIC "-//W3C//ENTITIES XHTML Datatypes 1.0//EN"
"http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-datatypes-1.mod" >
%xhtml-datatypes.mod;
<!-- core attributes to add to all elements; -->
<!-- states -->
<!ENTITY % aria.busy.qname "%aria.pfx;busy">
<!ENTITY % aria.checked.qname "%aria.pfx;checked">
<!ENTITY % aria.disabled.qname "%aria.pfx;disabled">
<!ENTITY % aria.expanded.qname "%aria.pfx;expanded">
<!ENTITY % aria.grab.qname "%aria.pfx;grab">
<!ENTITY % aria.hidden.qname "%aria.pfx;hidden">
<!ENTITY % aria.invalid.qname "%aria.pfx;invalid">
<!ENTITY % aria.pressed.qname "%aria.pfx;pressed">
<!ENTITY % aria.selected.qname "%aria.pfx;selected">
<!-- properties -->
<!-- tabindex -->
<!ENTITY % aria.tabindex.qname "tabindex">
<!-- The following defines a PE for use in the attribute sets of elements in
other namespaces that want to incorporate the XML Role attributes. Note
that in this case the XML-ROLES.pfx should always be defined. -->
<!ENTITY % aria.states.qname "
%aria.busy.qname; ( ) #IMPLIED
%aria.checked.qname; ( ) #IMPLIED
%aria.disabled.qname; ( ) #IMPLIED
%aria.expanded.qname; ( ) #IMPLIED
%aria.grab.qname; ( ) #IMPLIED
%aria.hidden.qname; ( ) #IMPLIED
%aria.invalid.qname; ( ) #IMPLIED
%aria.pressed.qname; ( ) #IMPLIED
%aria.selected.qname; ( ) #IMPLIED
">
<!ENTITY % aria.props.qname "
">
<!ENTITY % aria.extra.attrs.qname
"%aria.tabindex.qname; %Number.datatype; #IMPLIED"
>
<!ENTITY % aria.attrs.qname "
%aria.states.qname;
%aria.props.qname;
%aria.extra.attrs.qname;
">
<!ENTITY % aria-qname.module "IGNORE" >
<!-- End aria-qname Module ................................................... -->
This DTD extends XHTML 1.1 and adds the States and Property attributes to all its elements.
The attribute tabindex
is added to elements p
, div
, span
, th
, td
and li
<!-- ELEMENTS DTD XHTML 1.1 For Accessible Rich Internet Applications -->
<!-- File: xhtml11-aria-base.dtd
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//ELEMENTS DTD XHTML 1.1 For Accessible Rich Internet Applications//EN"
SYSTEM "http://www.w3.org/2005/07/aaa/xhtml11-aria-base.dtd"
xmlns:aria="http://www.w3.org/2005/07/aaa"
The DOCTYPE declaration that should be used is as follows;
<!DOCTYPE html
PUBLIC "-//W3C//ELEMENTS DTD XHTML 1.1 For Accessible Rich Internet Applications//EN"
"http://www.w3.org/2005/07/aaa/xhtml11-aria-base.dtd">
...................................................................... -->
<!ENTITY % XHTML.version
"-//W3C//ELEMENTS DTD XHTML 1.1 For Accessible Adaptable Applications//EN" >
<!-- ARIA module -->
<!ENTITY % aria-qname.mod
PUBLIC "-//W3C//DTD XHTML 1.1 For Accessible Adaptable Applications Namespace//EN"
"http://www.w3.org/2005/07/aaa/aria-qname.mod" >
%aria-qname.mod;
<!-- XHTML Role attribute module -->
<!ENTITY % role-qname.mod
PUBLIC "-//W3C//ENTITIES XHTML Role Attribute Qnames 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-role-qname-1.mod" >
%role-qname.mod;
<!-- add ARIA attribute set to all XHTML elements -->
<!-- also add XHTML Role attribute to all XHTML elements -->
<!ENTITY % Common.extra.attrib
"%aria.attrs.qname;
%xhtml-role.attrs.qname;"
>
<!ENTITY % xhtml11.mod
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"
>
%xhtml11.mod;
<!-- add tabindex to text containers -->
<!ATTLIST %div.qname;
%aria.extra.attrs.qname;
>
<!ATTLIST %span.qname;
%aria.extra.attrs.qname;
>
<!ATTLIST %p.qname;
%aria.extra.attrs.qname;
>
<!ATTLIST %th.qname;
%aria.extra.attrs.qname;
>
<!ATTLIST %td.qname;
%aria.extra.attrs.qname;
>
<!ATTLIST %li.qname;
%aria.extra.attrs.qname;
>
<!ENTITY % aria.prefixed "INCLUDE">
<!-- End xhtml11-aria-base.dtd -->
This DTD requires the use of the "aria" prefix.
<!-- DTD XHTML 1.1 For Accessible Adaptable Applications -->
<!-- File: xhtml11-aria.dtd
This DTD module is identified by the PUBLIC and SYSTEM identifiers:
PUBLIC "-//W3C//DTD XHTML 1.1 For Accessible Rich Internet Applications//EN"
SYSTEM "http://www.w3.org/2005/07/aaa/xhtml11-aria.dtd"
xmlns:aria="http://www.w3.org/2005/07/aaa"
The DOCTYPE declaration that should be used is as follows;
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.1 For Accessible Rich Internet Applications//EN"
"http://www.w3.org/2005/07/aaa/xhtml11-aria.dtd">
...................................................................... -->
<!ENTITY % XHTML.version
"-//W3C//DTD XHTML 1.1 For Accessible Rich Internet Applications//EN"
>
<!-- Enable prefixing -->
<!ENTITY % aria.prefixed "INCLUDE">
<!ENTITY % xhtml11-aria.mod
PUBLIC "-//W3C//ELEMENTS DTD XHTML 1.1 For Accessible Rich Internet Applications//EN"
"http://www.w3.org/2005/07/aaa/xhtml11-aria-base.dtd" >
%xhtml11-aria.mod;
<!-- End xhtml11-aria.dtd -->
While some terms are defined in place, the following definitions are used throughout this document. Familiarity with W3C XHTML 1.1 Recommendation [XHTML] and the W3C XML 1.0 Recommendation [XML] is highly recommended to understand these definitions.
Todo: Al has suggested some additional content for the definitions that are not all present. Should we incorporate more of that content, or borrow from it as introductory material in certain sections?
Do any of these terms need to be declared normative?
Operating systems and other platforms provide a set of interfaces that expose information about objects and events to assistive technology. Assistive technology uses these interfaces to get information about and interact with those controls. Examples of this are the Java Accessibility API [JAPI], Microsoft Active Accessibility [MSAA], Apple Accessibility for COCOA [AAC], the Gnome Accessibility Toolkit (ATK) [ATK], and IAccessible2 [IA2].
Hardware and/or software that acts as a user agent, or along with a mainstream user agent, to provide services to meet the requirements of users with disabilities that go beyond those offered by the mainstream user agents.
Services provided by assistive technology include alternative presentations (e.g., as synthesized speech or magnified content), alternative input methods (e.g., voice), additional navigation or orientation mechanisms, and content transformations (e.g., to make tables more accessible).
Assistive technologies often communicate data and messages with mainstream user agents by using and monitoring APIs.
The distinction between mainstream user agents and assistive technologies is not absolute. Many mainstream user agents provide some features to assist individuals with disabilities. The basic difference is that mainstream user agents target broad and diverse audiences that usually include people with and without disabilities. Assistive technologies target narrowly defined populations of users with specific disabilities. The assistance provided by an assistive technology is more specific and appropriate to the needs of its target users. The mainstream user agent may provide important services to assistive technologies like retrieving Web content from program objects or parsing markup into identifiable bundles.
Examples of assistive technologies that are important in the context of this document include the following:
In this specification, attribute is used as it is in markup languages. Attributes are structural features added to elements to provide information about the states and properties of the object represented by the element.
An assertion which can be a constraint. Todo: expand
An abstract type of object.
In this specification, element is used as it is in markup languages. Elements are the structural elements in markup language that contains the data profile for objects.
A programmatic message used to communicate discrete changes in the state of an object to other objects in a computational system. User input to a web page is commonly mediated through abstract events that describe the interaction and can provide notice of changes to the state of a document object.
Todo
A collection of related names. Qualifying a name in terms of the namespace to which it belongs allows these names to be distinguished from names in other namespaces that are spelled alike. Namespaces in this document are used in accordance with Namespaces in XML [XML-NAMES].
A "thing" in the perceptual user experience, instantiated in markup languages by one or more elements, and converted into the object-oriented pattern by user agents. Objects are instances of abstract classes, which defines the general characteristics of object instances. A single DOM object may or may not correspond with a single object in accessibility API. An object in accessibility API encapsulates one ore more DOM objects.
Attributes that are essential to the nature of a given object. As such, they are less likely to change than states; a change of a property may significantly impact the meaning or presentation of an object. Properties mainly provide limitations on objects from the most general case implied by roles without properties applied.
A fact connecting two distinct, articulable things. Relationships may be of various types to indicate which object labels another, controls another, etc.
An indicator of type. The object's role is the class of objects of which it is a member. This semantic association allows tools to present and support interaction with the object in a manner that is consistent with user expectations about other objects of that type.
A state is a dynamic property expressing characteristics of an object that may change in response to user action or automated processes. States do not affect the essential nature of the object, but represent data associated with the object or user interaction possibilities.
Any software that retrieves and renders Web content for users, such as Web browsers, media players, plug-ins, and other programs including assistive technologies that help retrieve and render Web content.
A literal that concretizes the information expressed by a state or property.
Todo: are any of these references normative?
This section is informative.
The following contributed to the development of this document.
Special thanks to Aaron Leventhal for effort and insight as he implemented a working prototype of accessibility API bindings.
Jim Allan (TSBVI), Simon Bates, Judy Brewer (W3C/MIT), Christian Cohrs, Becky Gibson (IBM), Andres Gonzalez (Adobe), Georgios Grigoriadis (SAP AG), Jeff Grimes (Oracle), Barbara Hartel, Sean Hayes (Microsoft), John Hrvatin (Microsoft), Earl Johnson (Sun), Masahiko Kaneko (Microsoft), Jael Kurz, Alex Li (SAP AG), William Loughborough, Linda Mao (Microsoft), Anders Markussen (Opera), Dave Pawson (RNIB), T.V. Raman (Google), Vitaly Sourikov, Ryan Williams (Oracle), Tom Wlodkowski.
This publication has been funded in part with Federal funds from the U.S. Department of Education under contract number ED05CO0039. The content of this publication does not necessarily reflect the views or policies of the U.S. Department of Education, nor does mention of trade names, commercial products, or organizations imply endorsement by the U.S. Government.