CARVIEW |
HTML Accessibility API Mappings 1.0
W3C Working Draft
- This version:
- https://www.w3.org/TR/2018/WD-html-aam-1.0-20180907/
- Latest published version:
- https://www.w3.org/TR/html-aam-1.0/
- Latest editor's draft:
- https://w3c.github.io/html-aam/
- Previous version:
- https://www.w3.org/TR/2018/WD-html-aam-1.0-20180802/
- Editors:
- Steve Faulkner (The Paciello Group)
- Alexander Surkov (Mozilla Foundation)
- Scott O'Hara (The Paciello Group)
- Bogdan Brinza (until July 2018) (Microsoft)
- Jason Kiss (until June 2018) (Invited Expert)
- Cynthia Shelly (until September 2013) (Microsoft)
Copyright © 2015-2018 W3C® (MIT, ERCIM, Keio, Beihang). W3C liability, trademark and permissive document license rules apply.
Abstract
HTML Accessibility API Mappings (HTML-AAM) defines how user agents map HTML 5.2 [HTML52] elements and attributes to platform accessibility application programming interfaces (APIs). It leverages and extends the Core Accessibility API Mappings 1.1 [CORE-AAM] and the Accessible Name and Description: Computation and API Mappings 1.1 [ACCNAME-AAM] for use with the HTML 5.2 host language. Documenting these mappings promotes interoperable exposure of roles, states, properties, and events implemented by accessibility APIs and helps to ensure that this information appears in a manner consistent with author intent.
The HTML-AAM is part of the WAI-ARIA suite described in the WAI-ARIA Overview.
Status of This Document
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 https://www.w3.org/TR/.
This document is subject to change without notice.
You can file a bug on this specification
This document was initially developed by and with the approval of the HTML Accessibility Taskforce, a joint task force of the Protocols and Formats Working Group and the HTML Working Group. Work continued with the successor groups Accessible Rich Internet Applications Working Group and the Web Platform Working Group. The document is now maintained solely by the Web Platform WG.
This document was published by the Web Platform Working Group as a Working Draft. This document is intended to become a W3C Recommendation.
Comments regarding this document are welcome. Please send them to public-html-comments@w3.org (archives).
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 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.
This document is governed by the 1 February 2018 W3C Process Document.
1. Introduction
This section is non-normative.
This specification defines how HTML user agents must respond to and expose role, state and property information provided for Web content. Unless indicated otherwise, an HTML element or attribute with default Accessible Rich Internet Applications (WAI-ARIA) 1.1 [WAI-ARIA] semantics must be exposed to the platform accessibility APIs according to the relevant WAI-ARIA mappings defined in the Core Accessibility API Mappings [CORE-AAM] specification. In some cases, often due to features of the HTML host language or the accessibility API in question, an element or attribute's mapping differs from the corresponding ARIA mappings specified in the [CORE-AAM]. Where an HTML element or attribute does not have any default WAI-ARIA semantics, the applicable mapping for each platform accessibility API is defined by this specification.
This document also adapts the Accessible Name and Description: Computation and API Mappings [ACCNAME-AAM] for deriving the accessible names and accessible descriptions of HTML 5.1 [HTML51] elements, and provides accessible implementation examples for specific HTML 5.1 elements and features.
Users often access HTML content using assistive technologies that rely on platform accessibility API to obtain and interact with information from the page. This document is part of the following suite of accessibility API mapping specifications for content rendered by user agents:
- Accessible Name and Description: Computation and API Mappings [ACCNAME-AAM]
- Core Accessibility API Mappings [CORE-AAM]
- HTML Accessibility API Mappings [HTML-AAM]
- SVG Accessibility API Mappings [SVG-AAM]
1.1 Accessibility APIs
Accessibility APIs covered by this document are:
- MSAA with IAccessible2 1.3 [IAccessible2]
- User Interface Automation [UI-AUTOMATION]
- Linux/GNOME ATK - Accessibility Toolkit [ATK] and Assistive Technology Service Provider Interface [AT-SPI], referred to hereafter as "ATK/AT-SPI"
- Mac OS X Accessibility Protocol Mac OS 10.10 [AXAPI]
If user agent developers need to expose information using other accessibility APIs, it is recommended that they work closely with the developer of the platform where the API runs, and assistive technology developers on that platform.
For more information regarding accessibility APIs, refer to section 1.1 Accessibility APIs of the Core Accessibility API Mappings [CORE-AAM].
2. Conformance
As well as sections marked as non-normative, all authoring guidelines, diagrams, examples, and notes in this specification are non-normative. Everything else in this specification is normative.
The key words MAY and MUST are to be interpreted as described in [RFC2119].
These RFC2119 key words are formatted in uppercase and contained in a strong
element with class="rfc2119"
. When these key words are used, but do not share this format, they do not convey any formal conformance requirements in the RFC2119 sense, and are merely explanatory, i.e., informative. As much as possible, such usage is avoided in this specification.
The classification of a section as normative or non-normative applies to the entire section and all sub-sections of that section.
Normative sections provide requirements that authors, user agents, and assistive technologies MUST follow for an implementation to conform to this specification.
Non-normative 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.
3. Important Terms
While some terms are defined in place, the following definitions are used throughout this document.
- Accessibility API
-
Operating systems and other platforms provide a set of interfaces that expose information about objects and events to assistive technologies. Assistive technologies use these interfaces to get information about and interact with those widgets. Examples of accessibility APIs are Microsoft Active Accessibility [MSAA], Microsoft User Interface Automation [UI-AUTOMATION], MSAA with UIA Express [UIA-EXPRESS], the Mac OS X Accessibility Protocol [AXAPI], the Linux/Unix Accessibility Toolkit [ATK] and Assistive Technology Service Provider Interface [AT-SPI], and IAccessible2 [IAccessible2].
- Accessibility Subtree
-
An accessible object in the accessibility tree and its descendants in that tree. It does not include objects which have relationships other than parent-child in that tree. For example, it does not include objects linked via
aria-flowto
unless those objects are also descendants in the accessibility tree. - Accessibility Tree
-
Tree of accessible objects that represents the structure of the user interface (UI). Each node in the accessibility tree represents an element in the UI as exposed through the accessibility API; for example, a push button, a check box, or container.
- Accessible Description
-
An accessible description provides additional information, related to an interface element, that complements the accessible name. The accessible description might or might not be visually perceivable.
- Accessible Name
-
The accessible name is the name of a user interface element. Each platform accessibility API provides the accessible name property. The value of the accessible name may be derived from a visible (e.g., the visible text on a button) or invisible (e.g., the text alternative that describes an icon) property of the user interface element. See related accessible description.
A simple use for the accessible name property may be illustrated by an "OK" button. The text "OK" is the accessible name. When the button receives focus, assistive technologies may concatenate the platform's role description with the accessible name. For example, a screen reader may speak "push-button OK" or "OK button". The order of concatenation and specifics of the role description (e.g., "button", "push-button", "clickable button") are determined by platform accessibility APIs or assistive technologies.
- Accessible object
-
A node in the accessibility tree of a platform accessibility API. Accessible objects expose various states, properties, and events for use by assistive technologies. In the context of markup languages (e.g., HTML and SVG) in general, and of WAI-ARIA in particular, markup elements and their attributes are represented as accessible objects.
- Activation behavior
-
The action taken when an event, typically initiated by users through an input device, causes an element to fulfill a defined role. The role may be defined for that element by the host language, or by author-defined variables, or both. The role for any given element may be a generic action, or may be unique to that element. For example, the activation behavior of an HTML or SVG
<a>
element shall be to cause the user agent to traverse the link specified in thehref
attribute, with the further optional parameter of specifying the browsing context for the traversal (such as the current window or tab, a named window, or a new window); the activation behavior of an HTML<input>
element with thetype
attribute valuesubmit
shall be to send the values of the form elements to an author-defined IRI by the author-defined HTTP method. - Assistive Technologies
Hardware and/or software that:
- relies on services provided by a user agent to retrieve and render Web content
- works with a user agent or web content itself through the use of APIs, and
- provides services beyond those offered by the user agent to facilitate user interaction with web content by people with disabilities
This definition may differ from that used in other documents.
Examples of assistive technologies that are important in the context of this document include the following:
- screen magnifiers, which are used to enlarge and improve the visual readability of rendered text and images;
- screen readers, which are most-often used to convey information through synthesized speech or a refreshable Braille display;
- text-to-speech software, which is used to convert text into synthetic speech;
- speech recognition software, which is used to allow spoken control and dictation;
- alternate input technologies (including head pointers, on-screen keyboards, single switches, and sip/puff devices), which are used to simulate the keyboard;
- alternate pointing devices, which are used to simulate mouse pointing and clicking.
- Attribute
-
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.
- Class
-
A set of instance objects that share similar characteristics.
- Deprecated
-
A deprecated role, state, or property is one which has been outdated by newer constructs or changed circumstances, and which may be removed in future versions of the WAI-ARIA specification. User agents are encouraged to continue to support items identified as deprecated for backward compatibility. For more information, see Deprecated Requirements in the Conformance section.
- Desktop focus event
-
Event from/to the host operating system via the accessibility API, notifying of a change of input focus.
- Element
-
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.
- Event
-
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. In some programming languages, events are more commonly known as notifications.
- Expose
-
Translated to platform-specific accessibility APIs as defined in the Core Accessibility API Mappings. [CORE-AAM-1.1]
- Graphical Document
-
A document containing graphic representations with user-navigable parts. Charts, maps, diagrams, blueprints, and dashboards are examples of graphical documents. A graphical document is composed using any combination of symbols, images, text, and graphic primitives (shapes such as circles, points, lines, paths, rectangles, etc).
- Hidden
-
Indicates that the element is not visible, perceivable, or interactive to any user. An element is considered hidden if it or any one of its ancestor elements is not rendered or is explicitly hidden.
- Informative
-
Content provided for information purposes and not required for conformance. Content required for conformance is referred to as normative.
- Keyboard Accessible
-
Accessible to the user using a keyboard or assistive technologies that mimic keyboard input, such as a sip and puff tube. References in this document relate to WCAG 2.1 Guideline 2.1: Make all functionality available from a keyboard [WCAG21].
- Landmark
-
A type of region on a page to which the user may want quick access. Content in such a region is different from that of other regions on the page and relevant to a specific user purpose, such as navigating, searching, perusing the primary content, etc.
- Live Region
-
Live regions are perceivable regions of a web page that are typically updated as a result of an external event when user focus may be elsewhere. These regions are not always updated as a result of a user interaction. This practice has become commonplace with the growing use of Ajax. Examples of live regions include a chat log, stock ticker, or a sport scoring section that updates periodically to reflect game statistics. Since these asynchronous areas are expected to update outside the user's area of focus, assistive technologies such as screen readers have either been unaware of their existence or unable to process them for the user. WAI-ARIA has provided a collection of properties that allow the author to identify these live regions and process them: aria-live, aria-relevant, aria-atomic, and aria-busy.
- Primary Content Element
-
An implementing host language's primary content element, such as the
body
element in HTML. - Managed State
-
Accessibility API state that is controlled by the user agent, such as focus and selection. These are contrasted with "unmanaged states" that are typically controlled by the author. Nevertheless, authors can override some managed states, such as aria-posinset and aria-setsize. Many managed states have corresponding CSS pseudo-classes, such as :focus, and pseudo-elements, such as ::selection, that are also updated by the user agent.
- Nemeth Braille
-
The Nemeth Braille Code for Mathematics is a braille code for encoding mathematical and scientific notation. See Nemeth Braille on Wikipedia.
- Node
-
Basic type of object in the DOM tree or accessibility tree. DOM nodes are further specified as Element or Text nodes, among other types. The nodes of an accessibility tree are accessible objects.
- Normative
-
Required for conformance. By contrast, content identified as informative or "non-normative" is not required for conformance.
- Object
-
In the context of user interfaces, an item in the perceptual user experience, represented in markup languages by one or more elements, and rendered by user agents.
In the context of programming, the instantiation of one or more classes and interfaces which define the general characteristics of similar objects. An object in an accessibility API may represent one or more DOM objects. Accessibility APIs have defined interfaces that are distinct from DOM interfaces. - Ontology
-
A description of the characteristics of classes and how they relate to each other.
- Operable
-
Usable by users in ways they can control. References in this document relate to WCAG 2.1 Principle 2: Content must be operable [WCAG21]. See Keyboard Accessible.
- Owned Element
-
An 'owned element' is any DOM descendant of the element, any element specified as a child via
aria-owns
, or any DOM descendant of the owned child. - Owning Element
-
An 'owning element' is any DOM ancestor of the element, or any element with an
aria-owns
attribute which references the ID of the element. - Perceivable
-
Presentable to users in ways they can sense. References in this document relate to WCAG 2.1 Principle 1: Content must be perceivable [WCAG21].
- Property
-
Attributes that are essential to the nature of a given object, or that represent a data value associated with the object. A change of a property may significantly impact the meaning or presentation of an object. Certain properties (for example,
aria-multiline
) are less likely to change than states, but note that the frequency of change difference is not a rule. A few properties, such asaria-activedescendant
,aria-valuenow
, andaria-valuetext
are expected to change often. See clarification of states versus properties. - Relationship
-
A connection between two distinct things. Relationships may be of various types to indicate which object labels another, controls another, etc.
- Role
-
Main indicator of type. 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.
- Root WAI-ARIA node
-
The primary element containing non-metadata content. In many languages, this is the document element but in HTML, it is the
<body>
. - Semantics
-
The meaning of something as understood by a human, defined in a way that computers can process a representation of an object, such as elements and attributes, and reliably represent the object in a way that various humans will achieve a mutually consistent understanding of the object.
- State
-
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. See clarification of states versus properties.
- Sub-document
-
Any document created from a
<frame>
,<iframe>
or similar mechanism. A sub-document may contain a document, an application or any widget such as a calendar pulled in from another server. In the accessibility tree there are two accessible objects for this situation—one represents the<frame>
/<iframe>
element in the parent document, which parents a single accessible object child representing the spawned document contents. - Target Element
-
An element specified in a WAI-ARIA relation. For example, in
<div aria-controls=”elem1”>
, where“elem1”
is the ID for the target element. - Taxonomy
-
A hierarchical definition of how the characteristics of various classes relate to each other, in which classes inherit the properties of superclasses in the hierarchy. A taxonomy can comprise part of the formal definition of an ontology.
- Text node
-
Type of DOM node that represents the textual content of an attribute or an element. A Text node has no child nodes.
- Tooltip attribute
-
Any host language attribute that would result in a user agent generating a tooltip such as in response to a mouse hover in desktop user agents.
- Understandable
-
Presentable to users in ways they can construct an appropriate meaning. References in this document relate to WCAG 2.1 Principle 3: Information and the operation of user interface must be understandable [WCAG21].
- User Agent
-
Any software that retrieves, renders and facilitates end user interaction with Web content. This definition may differ from that used in other documents.
- Valid IDREF
-
A reference to a target element in the same document that has a matching ID
- Widget
-
Discrete user interface object with which the user can interact. Widgets range from simple objects that have one value or operation (e.g., check boxes and menu items), to complex objects that contain many managed sub-objects (e.g., trees and grids).
4. Mapping HTML to Accessibility APIs
4.1 General Rules for Exposing WAI-ARIA Semantics
WAI-ARIA support was first introduced to HTML in HTML5 [HTML5]. Where an HTML element or attribute has default WAI-ARIA semantics, it MUST be exposed to the platform accessibility APIs in a way that conforms to General rules for exposing WAI-ARIA semantics in the Core Accessibility API Mappings [CORE-AAM].
4.2 Conflicts Between Native Markup Semantics and WAI-ARIA
Where the host language is HTML 5.1 [HTML51], user agents MUST conform to Conflicts between native markup semantics and WAI-ARIA in the Core Accessibility API Mappings [CORE-AAM].
4.3 Exposing HTML Features That Do Not Directly Map to Accessibility APIs
HTML may have features that are not supported by accessibility APIs at the time of publication. There is not a one to one relationship between all features and platform accessibility APIs. When HTML roles, states and properties do not directly map to an accessibility API, and there is a method in the API to expose a text string, user agents MUST expose the undefined role, states and properties via that method.
For HTML elements or attributes with default WAI-ARIA semantics, user agents MUST conform to Exposing attributes that do not directly map to accessibility API properties in the Core Accessibility API Mappings [CORE-AAM].
4.3.1 Other Accessibility Implementations
4.3.1.1 Use of MSAA VARIANT by Some User Agents
In MSAA, the value of an accessible object's Role property is retrieved with the IAccessible::get_accRole method. This method returns a VARIANT that is limited to a finite number of integer role constants insufficient for describing the role of every HTML element, especially new elements introduced by HTML5. To address this limitation, some user agents, e.g., Firefox and Chrome in cooperation with some screen readers, have elected to expose certain roles by returning a string value (BSTR) in that VARIANT in a way that is not described by the MSAA specification.
For example, Firefox returns the element's tag name as a BSTR for the following: abbr
, address
, aside
, blockquote
, canvas
, caption
, dd
, div
, figcaption
, footer
, form
, h1
–h6
, header
, iframe
, input type="file"
, main
, menu
, nav
, output
, p
, pre
, q
, section
, time
.
Similarly, Chrome returns the element's tag name for: blockquote
, div
, dl
, figcaption
, form
, h1-h6
, menu
, meter
, p
, pre
.
4.3.1.2 Use of the DOM by Some Assistive Technologies
to do
4.4 HTML Element Role Mappings
Notes:
- HTML elements with default WAI-ARIA role semantics must be mapped to platform accessibility APIs according to those WAI-ARIA roles' mappings as defined in the Core Accessibility API Mappings [CORE-AAM] specification.
- A '?' in a cell indicates the data has yet to be provided.
- "Not mapped" (Not Applicable) means the element does not need to be exposed via an accessibility API. This is usually because the element is not displayed as part of the user interface.
- Where applicable, how an element participates in the computation of its own or another element's accessible name and/or accessible description is described in the Accessible Name and Description Computation section below.
- Where an element is indicated as having "No corresponding [WAI-ARIA] role", user agents must not expose the
aria-roledescription
property value in the accessibility tree unless the element has an explicit, conformingrole
attribute value. - IAccessible2:
- All elements with accessible objects should implement the IAccessible, IAccessible2 and IAccessible2_2 interfaces.
- UIA:
- When a labelable element is referenced by a
label
element'sfor
attribute, or a descendant of alabel
element, the labelable element's UIALabeledBy
property points to the UIA element for thelabel
element. - Elements mapped to the
Text
Control Type are not generally represented as accessible objects in the accessibility tree, but are just part of theText
Control Pattern implemented for the whole HTML document. However, if they have anyaria-
attributes or an explicttabindex
specified, elements mapped to theText
Control Type will be represented as accessible objects in the accessibility tree.
- When a labelable element is referenced by a
- AXAPI:
- User agents should return a user-presentable, localized string value for the Mac Accessibility AXRoleDescription.
Element | WAI-ARIA | MSAA + IAccessible2 | UIA | ATK | AX | Comments | |
---|---|---|---|---|---|---|---|
a (represents a hyperlink) |
link role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
a (represents a hyperlink and parent is a menu) |
menuitem role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
a (no href attribute) |
No corresponding role |
Roles:
ROLE_SYSTEM_TEXT ; IA2_ROLE_TEXT_FRAME
Interfaces:
IAccessibleHyperlink ; IAccessibleText2 ; IAccessibleHypertext2 ;
|
Control Type:
Text
|
Role:
ATK_ROLE_STATIC
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
abbr |
No corresponding role |
Roles:
ROLE_SYSTEM_TEXT ; IA2_ROLE_TEXT_FRAME
Object attributes:
"abbr" attribute on the containing
td if a single child,
text content used as a value
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2 ;
|
Control Type:
Text
|
Role:
ATK_ROLE_STATIC
Object attributes:
"abbr" attribute on the containing
td if a single child,
text content used as a value
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
address |
No corresponding role |
Role:
ROLE_SYSTEM_GROUPING
Object attributes:
xml-roles:address
|
Control Type:
Group
Localized Control Type:
"address"
|
Role:
ATK_ROLE_PANEL
Object attributes:
xml-roles:address
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"address"
|
||
area (represents a hyperlink) |
link role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
area (no href attribute) |
No corresponding role |
Roles:
ROLE_SYSTEM_TEXT ; IA2_ROLE_SHAPE
|
Control Type:
Text
|
Role:
ATK_ROLE_STATIC
|
Not mapped |
||
article |
article role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
aside |
complementary role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping
Localized Control Type:
"aside" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
audio |
No corresponding role |
Role:
ROLE_SYSTEM_GROUPING
|
Control Type:
Group
Localized Control Type:
"audio" Note: If the
controls attribute is present, UI controls (e.g. play, volume) are exposed as children of the audio element in the accessibility tree, and mapped as appropriate for the type of control (e.g. button or slider ).Text objects associated with loading or error messages, and any UI control not currently displayed, MAY be present in the accessibility tree and marked as hidden or off-screen.
|
Role:
ATK_ROLE_AUDIO
|
AXRole:
AXGroup
AXSubrole:
AXAudio
AXRoleDescription:
"audio playback"
Note: If the
controls attribute is present, UI controls (e.g. play, volume) are exposed as descendants of an accessible object with a role of toolbar , and mapped as appropriate for the type of control (e.g. button or slider ). |
||
b |
No corresponding role |
No accessible object. Exposed as
"font-weight" text attribute on the text container.
The value depends on the platform.
|
No accessible object. Exposed by the
FontWeight attribute of the TextRange Control Pattern implemented on a parent accessible object.
|
No accessible object. Exposed as
"font-weight" text attribute on the text container.
The value depends on the platform.
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
base |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
bdi |
No corresponding role |
No accessible object. May affect on
"writing-mode" text attribute on its text container.
|
Control Type:
Text
|
No accessible object. May affect on
"writing-mode" text attribute on its text container.
|
|||
bdo |
No corresponding role |
Role:
ROLE_SYSTEM_TEXT
Text attributes:
writing-mode on the text container
|
Control Type:
Text
|
No accessible object.
Exposed as "writing-mode" text attribute on its text container.
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
blockquote |
No corresponding role |
Roles:
ROLE_SYSTEM_GROUPING ; IA2_ROLE_SECTION
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2 ;
|
Control Type:
Group
Localized Control Type:
"blockquote" |
Role:
ATK_ROLE_BLOCK_QUOTE
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
body |
No corresponding role |
Roles:
ROLE_SYSTEM_DOCUMENT
|
Control Type:
Pane
Localized Control Type:
"pane" |
Role:
ATK_ROLE_DOCUMENT_WEB
|
AXRole:
AXWebArea
AXSubrole:
(nil)
AXRoleDescription:
"HTML content"
|
||
br |
No corresponding role |
No accessible object. Exposed as '\n' character
via
IAccessibleText2 interface on the text container.
|
Not mapped |
No accessible object. Exposed as '\n' character
via
AtkText interface on the text container.
|
Not mapped |
||
button |
button role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
canvas |
No corresponding role |
Roles:
ROLE_SYSTEM_GRAPHIC ; IA2_ROLE_CANVAS
|
Control Type:
Image
Descendants of the
canvas element are mapped separately.
|
Role:
ATK_ROLE_CANVAS
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
""
|
||
caption |
No corresponding role |
Roles:
ROLE_SYSTEM_TEXT ; IA2_ROLE_CAPTION
States:
STATE_SYSTEM_READONLY
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2 ;
|
Control Type:
Text
Other properties: The
LabeledBy property for the parent table element points to the UIA element for the caption element
|
Role:
ATK_ROLE_CAPTION
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
cite |
No corresponding role |
No accessible object. Styles used are mapped into text attributes on its text container.
|
No accessible object. Styles used are exposed by UIA text attributes of the
TextRange
Control Pattern implemented on a parent accessible object.
|
No accessible object. Styles used are
mapped into text attributes on its text container.
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
code |
No corresponding role |
No accessible object. Styles used are mapped into text attributes on its text container.
|
No accessible object. Styles used are exposed by UIA text attributes of the
TextRange
Control Pattern implemented on a parent accessible object.
|
No accessible object. Styles used are
mapped into text attributes on its text container.
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
col |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
colgroup |
No corresponding role |
Role:
ROLE_SYSTEM_GROUPING
|
Control Type:
Group
Localized Control Type: "colgroup" |
Not mapped |
Not mapped |
||
data |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|||
datalist
(represents pre-defined options for input element)
|
listbox role, with the aria-multiselectable property set to "true" if the datalist 's selection model allows multiple option elements to be selected at a time, and "false" otherwise |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
If datalist is not linked to a proper input element,
then datalist element is not mapped to accessibility APIs.
|
|
dd |
definition role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
del |
No corresponding role |
No accessible object. Styles used are mapped
into text attributes on its text container.
|
No accessible object. Styles used are exposed by UIA text attributes of the
TextRange
Control Pattern implemented on a parent accessible object.
|
No accessible object. Styles used are mapped
into text attributes on its text container.
|
AXRole:
AXGroup
AXSubrole:
AXDeleteStyleGroup
AXRoleDescription:
"group"
|
||
details |
No corresponding role |
Role:
ROLE_SYSTEM_GROUPING
|
Control Type:
Group
Localized Control Type:
"details" |
Role:
ATK_ROLE_PANEL
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription: "group"
|
||
dfn |
term role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
dialog |
dialog role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
div |
No corresponding role |
May not have an accessible object if has no semantic meaning. Otherwise,
Roles:
ROLE_SYSTEM_GROUPING ; IA2_ROLE_SECTION
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2 ;
|
Control Type:
Group |
May not have an accessible object if has no semantic meaning. Otherwise
Role:
ATK_ROLE_SECTION
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
dl |
No corresponding role |
Role:
ROLE_SYSTEM_LIST
States:
STATE_SYSTEM_READONLY
|
Control Type:
List
|
Role:
ATK_ROLE_DESCRIPTION_LIST
|
AXRole:
AXList
AXSubrole:
AXDefinitionList
AXRoleDescription:
"definition list"
|
||
dt |
term role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
em |
No corresponding role |
No accessible object. Styles used are mapped into text attributes on its text container.
|
No accessible object. Styles used are exposed by UIA text attributes of the
TextRange Control Pattern implemented on a parent accessible object.
|
No accessible object. Styles used are mapped
into text attributes on its text container
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
embed |
No corresponding role |
Roles:
ROLE_SYSTEM_CLIENT ; IA2_ROLE_EMBEDDED_OBJECT
States:
STATE_SYSTEM_UNAVAILABLE for windowless plugin
|
Control Type:
Pane
|
Role:
ATK_ROLE_EMBEDDED
|
Depends on format of data file | ||
fieldset |
group role |
Role: Use WAI-ARIA mapping
|
Role: Use WAI-ARIA mapping
|
Role: Use WAI-ARIA mapping
|
Role: Use WAI-ARIA mapping
AXSubrole:
AXFieldset
AXDescription: value from child
legend subtree |
||
figcaption |
No corresponding role |
Roles:
ROLE_SYSTEM_TEXT ; IA2_ROLE_CAPTION
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2 ;
|
Control Type:
Text
|
Role:
ATK_ROLE_CAPTION
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
figure |
figure role |
Role: Use WAI-ARIA mapping
|
Role: Use WAI-ARIA mapping Accessible name derived from
figcaption according to the figure Element Accessible Name Computation |
Role: Use WAI-ARIA mapping
Name:
related
figcaption content
|
AXRole: Use WAI-ARIA mapping
|
||
footer (scoped to the body element) |
contentinfo role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping
Localized Control Type:
"footer" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping
AXRoleDescription:
"footer" |
||
footer (scoped to the main element, a sectioning content element, or a sectioning root element other than body ) |
No corresponding role |
Roles:
ROLE_SYSTEM_GROUPING ; IA2_ROLE_SECTION
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2 ;
|
Control Type:
Group
Localized Control Type:
"footer"
|
Role:
ATK_ROLE_SECTION
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
form with an accessible name |
form role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
form without an accessible name |
No corresponding role | Role:
ROLE_SYSTEM_GROUPING ; IA2_ROLE_SECTION Interfaces: IAccessibleText2 ; IAccessibleHypertext2 ; |
Control Type:
Group Localized Control Type: "form" |
Role:
ATK_ROLE_SECTION Interfaces: AtkText ; AtkHypertext |
AXRole:
AXGroup AXSubrole:
(nil) AXRoleDescription: "group" |
||
h1 , h2 , h3 , h4 , h5 , h6 |
heading role, with the aria-level property set to the number in the element's tag name. |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
head |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
header (scoped to the body element) |
banner role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping
Localized Control Type:
"header" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
header (scoped to the main element, a sectioning content element, or a sectioning root element other than body ) |
No corresponding role |
Role:
ROLE_SYSTEM_GROUPING ; IA2_ROLE_SECTION
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2 ;
|
Control Type:
Group
Localized Control Type:
"header"
|
Role:
ATK_ROLE_SECTION
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
hr |
separator role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
html |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
i |
No corresponding role |
No accessible object.
Text attributes:
font-style:italic on the text container
|
No accessible object. Exposed by the
IsItalic attribute of the TextRange Control Pattern implemented on a parent accessible object.
|
No accessible object. Exposed as
"font-style:italic" text attribute on its text container.
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
iframe |
No corresponding role |
Role:
IA2_ROLE_INTERNAL_FRAME
Child:
ROLE_SYSTEM_DOCUMENT with STATE_SYSTEM_READONLY
|
Control Type:
Pane
|
Role:
ATK_ROLE_INTERNAL_FRAME
Child:
ATK_ROLE_DOCUMENT_FRAME
|
AXRole:
AXWebArea
AXSubrole:
(nil)
AXRoleDescription:
"html content"
|
||
img |
img role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
img (alt attribute value is an empty string, i.e. alt="" or alt with no value in the markup) |
See also the Note under
img element Accessible Name Computation. |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Button state) |
button role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Button state and parent is a menu) |
menuitem role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Checkbox state) |
checkbox role, with the aria-checked state set to "mixed" if the element's indeterminate IDL attribute is true, or "true" if the element's checkedness is true, or "false" otherwise |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Checkbox state and parent is a menu) |
menuitemcheckbox role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Color state) |
No corresponding role |
If implemented as a textbox:
Roles:
ROLE_SYSTEM_TEXT If implemented as a color picker:
Roles:
IA2_ROLE_COLOR_CHOOSER |
If implemented as a textbox:
Control Type:
Edit Localized Control Type: "edit"
If implemented as a color picker:
Control Type:
Button Localized Control Type: "Color Picker"
|
Implemented as a color picker:
Role:
ATK_ROLE_COLOR_CHOOSER |
If implemented as a textbox:
AXRole:
AXTextField AXSubrole:
(nil) AXRoleDescription:
"text field" If implemented as a color picker:
AXRole:
AXColorWell AXSubrole:
(nil) AXRoleDescription:
"color well" |
If implemented as a color picker, any UI controls presented for selecting a color are exposed in the accessibility tree, associated with the
input element, and mapped as appropriate for the type of control (e.g. button or slider). |
|
input (type attribute in the Date state) |
No corresponding role |
If implemented as a textbox:
Role:
ROLE_SYSTEM_TEXT
Object attributes:
text-input-type:date
If implemented as a date picker:
Role:
IA2_ROLE_DATE_EDITOR
|
Depends on UI design of implementation. The UI in Windows 10 Edge, for example, is a composite of multiple spinners.
|
Role:
ATK_ROLE_CALENDAR
|
AXRole:
AXDateField
AXSubrole:
(nil)
AXRoleDescription:
"date field"
|
||
input (type attribute in the E-mail state with no suggestions source element) |
textbox role |
Use WAI-ARIA mapping
Object attributes:
text-input-type:email |
Use WAI-ARIA mapping
Localized Control Type:
"email"
|
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the File Upload state) |
No corresponding role |
Implementation dependent. If represented by a container with a button a text label inside then:
Roles:
IA2_ROLE_TEXT_FRAME
Children:
ROLE_SYSTEM_PUSHBUTTON and IA2_ROLE_LABEL for a button and a text label elements.
|
Can be rendered as a single button control, or as a button control with a text input field.
Button control:
Control Type:
Button
Text input field:
Control Type:
Edit
Localized Control Type:
"file" |
Role:
ATK_ROLE_STATIC
Children:
ATK_ROLE_PUSH_BUTTON when pressed ATK_ROLE_FILE_CHOOSER dialog shown
|
AXRole:
AXButton
AXSubrole:
AXFileUploadButton
AXRoleDescription:
file upload button
|
||
input (type attribute in the Hidden state) |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
input (type attribute in the Image Button state) |
button role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Image Button state and parent is a menu) |
menuitem role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Local Date and Time state) |
No corresponding role |
Role:
IA2_ROLE_DATE_EDITOR
|
Depends on UI design of implementation. The UI in Windows 10 Edge, for Example, is a composit of multiple spinners.
|
Role:
ATK_ROLE_CALENDAR
|
AXRole:
AXTextField
AXSubrole:
(nil)
AXRoleDescription:
"text field"
|
||
input (type attribute in the Month state) |
No corresponding role |
Role:
IA2_ROLE_DATE_EDITOR
|
Depends on UI design of implementation. The UI in Windows 10 Edge, for Example, is a composit of multiple spinners.
|
Role:
ATK_ROLE_DATE_EDITOR
|
AXRole:
AXTextField
AXSubrole:
(nil)
AXRoleDescription:
"text field"
|
||
input (type attribute in the Number state) |
spinbutton role |
If implemented as a spin button, use WAI-ARIA mapping for
spinbutton .
If implemented as a text input, use WAI-ARIA mapping for
textbox .
Object attributes:
text-input-type:number
|
If implemented as a spin button, use WAI-ARIA mapping for
spinbutton .If implemented as a text input:
Control Type:
Edit
Localized Control Type:
"number"
|
If implemented as a spin button, use WAI-ARIA mapping for
spinbutton .
If implemented as a text input, use WAI-ARIA mapping for
textbox .
Object attributes:
text-input-type:number
|
Use WAI-ARIA mapping |
||
input (type attribute in the Password state) |
No corresponding role |
Role: ROLE_SYSTEM_TEXT
States:
STATE_SYSTEM_PROTECTED ; IA2_STATE_SINGLE_LINE ; STATE_SYSTEM_READONLY if readonly, otherwise IA2_STATE_EDITABLE |
Control Type:
Edit Localized Control Type:
"password" Other properties: Set
isPassword to true |
Role:
ATK_ROLE_PASSWORD_TEXT States:
ATK_STATE_SINGLE_LINE ; ATK_STATE_READ_ONLY if readonly, otherwise ATK_STATE_EDITABLE
|
AXRole:
AXTextField
AXSubrole:
AXSecureTextField
AXRoleDescription:
"secure text field"
|
||
input (type attribute in the Radio Button state) |
radio role, with the aria-checked state set to "true" if the element's checkedness is true, or "false" otherwise. With aria-setsize value reflecting number of type=radio input elements within the radio button group and aria-posinset value reflecting the elements position within the radio button group. |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Radio Button state and parent is a menu) |
menuitemradio role, with the aria-checked state set to "true" if the element's checkedness is true, or "false" otherwise |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Range state) |
slider role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Reset Button state) |
button role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Search state with no suggestions source element) |
searchbox role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Submit Button state) |
button role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Telephone state with no suggestions source element) |
textbox role |
Use WAI-ARIA mapping
Object attributes:
text-input-type:telephone |
Use WAI-ARIA mapping
Localized Control Type:
"telephone" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Text state with no suggestions source element) |
textbox role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Text, Search, Telephone, URL, or E-mail states with a suggestions source element) |
combobox role, with the aria-owns property set to the same value as the list attribute |
Use WAI-ARIA mapping
Object attributes: text-input-type:as per input type |
Use WAI-ARIA mapping
Other properties:
ControllerFor points to the suggestions source element
|
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Time state) |
No corresponding role |
Role:
ROLE_SYSTEM_SPINBUTTON if implemented as a simple widget; ROLE_SYSTEM_GROUPING with child controls mapped as appropriate if implemented as a complex widget
Object attributes:
text-input-type:time
|
Depends on UI design of implementation. The UI in Windows 10 Edge, for Example, is a composit of multiple spinners.
|
AXRole:
AXTimeField
AXSubrole:
(nil)
AXRoleDescription:
"time field"
|
|||
input (type attribute in the URL state with no suggestions source element) |
textbox role |
Use WAI-ARIA mapping
Object attributes:
text-input-type:url
|
Use WAI-ARIA mapping
Localized Control Type:
"url" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
input (type attribute in the Week state) |
No corresponding role |
Role:
IA2_ROLE_DATE_EDITOR
Object attributes:
text-input-type:week
|
Depends on UI design of implementation. The UI in Windows 10 Edge, for Example, is a composit of multiple spinners.
|
Role:
ATK_ROLE_CALENDAR
|
AXRole:
AXTextField
AXSubrole:
(nil)
AXRoleDescription:
"text field"
|
||
ins |
No corresponding role |
No accessible object. Styles used are mapped into text attributes on its text container.
|
No accessible object. Styles used are exposed by UIA text attributes of the
TextRange Control Pattern implemented on a parent accessible object.
|
No accessible object. Styles used are mapped
into text attributes on its text container.
|
AXRole:
AXGroup
AXSubrole:
AXInsertStyleGroup
AXRoleDescription:
"group"
|
||
kbd |
No corresponding role |
No accessible object.
Text attributes:
font-family:monospace on the text container
|
No accessible object. Styles used are exposed by UIA text attribute identifiers of the
TextRange Control Pattern implemented on a parent accessible object.
|
No accessible object. Mapped into
"font-family:monospace" text attribute on its text
container.
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
keygen |
listbox role, with the aria-multiselectable property set to "false" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
label |
No corresponding role |
Roles:
ROLE_SYSTEM_STATICTEXT ; IA2_ROLE_LABEL
Relations:
IA2_RELATION_LABEL_FOR with a form control that is child to the label or referred to by the label element's for attribute. The associated form element has IA2_RELATION_LABELLED_BY pointing to the label .
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2
|
Control Type:
Text
Other properties: When the
label element contains an input element, the LabeledBy property for the input element points to the UIA element for the label element.
When the |
Role:
ATK_ROLE_LABEL
Relations:
ATK_RELATION_LABEL_FOR for a child form element or form element
referred by for attribute. Note,
related form element provides ATK_RELATION_LABELLED_BY
pointing to the label.
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
legend |
No corresponding role |
Roles:
ROLE_SYSTEM_STATICTEXT ; IA2_ROLE_LABEL
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2
|
Control Type:
Text
Other properties: The
LabeledBy property for the parent fieldset points to the UIA element for the legend element.
|
Role :
ATK_ROLE_LABEL
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
li (parent is an ol or ul ) |
listitem role with aria-setsize value reflecting number of li elements within the parent ol or ul and aria-posinset value reflecting the li elements position within the set. |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
li (parent is a menu ) |
listitem role with aria-setsize value reflecting number of li elements within the parent menu and aria-posinset value reflecting the li elements position within the set. |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
link |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
main |
main role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
map |
No corresponding role |
Not mapped if used as an image map. Otherwise,
Role:
IA2_ROLE_TEXT_FRAME
|
Not mapped |
Not mapped if used as an image map, otherwise:
Role:
ATK_ROLE_STATIC
|
Not mapped |
||
mark |
No corresponding role | Role:
IA2_ROLE_TEXT_FRAME Object attributes: Styles used are mapped to text attributes on the accessible object. Interfaces: |
Control Type:
Text Localized Control Type:
"mark" |
Role: Object attributes: Styles used are mapped to text attributes on the accessible object. Interfaces:
AtkText ; AtkHypertext |
AXRole:
AXGroup AXSubrole:
(nil) AXRoleDescription: "highlighted content" |
||
math |
math role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
menu (type attribute in the popup menu state) |
menu role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
menuitem (type attribute in the Checkbox state) |
menuitemcheckbox role, with the aria-checked state set to "true" if the checked attribute is present, and "false" otherwise |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
menuitem (type attribute in the Command state) |
menuitem role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
menuitem (type attribute in the Radio state) |
menuitemradio role, with the aria-checked state set to "true" if the checked attribute is present, and "false" otherwise |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
meta |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
meter |
No corresponding role |
Role:
IA2_ROLE_LEVEL_BAR
Interfaces:
IAccessibleValue ;
|
?
|
Role:
ATK_ROLE_LEVEL_BAR
Interfaces:
AtkValue
Properties:
AtkRange |
?
|
See GitHub issue #2. | |
nav |
navigation role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
noscript |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
object |
No corresponding role |
Depends on format of data file. If it contains a plugin then,
Role:
IA2_ROLE_EMBEDDED_OBJECT
States:
STATE_SYSTEM_UNAVAILABLE for windowless plugin
|
Depends on format of data file.
|
Depends on format of data file. If contains a plugin then
Role:
ATK_ROLE_EMBEDDED
|
Depends on format of data file. | ||
ol |
list role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
optgroup |
group role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
option (in a list of options or represents a suggestion in a datalist ) |
option role, with the aria-selected state set to "true" if the element's selectedness is true, or "false" otherwise. |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
output |
status role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping
Localized Control Type:
"output" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
p |
No corresponding role |
Roles:
ROLE_SYSTEM_TEXT ; IA2_ROLE_PARAGRAPH
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2
|
Control Type:
Text
|
Role:
ATK_ROLE_PARAGRAPH
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
param |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
picture |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
pre |
No corresponding role |
Roles:
ROLE_SYSTEM_GROUPING ; IA2_ROLE_SECTION
Styles used are mapped to text attributes on the parent accessible object.
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2
|
Control Type:
Text
Localized Control Type:
"pre" |
Role:
ATK_ROLE_SECTION
Styles used are mapped to text attributes on the accessible object.
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
progress |
progressbar role, with, if the progress bar is determinate, the aria-valuemax property set to the maximum value of the progress bar, the aria-valuemin property set to zero, and the aria-valuenow property set to the current value of the progress bar |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
q |
No corresponding role |
Roles:
ROLE_SYSTEM_TEXT ; IA2_ROLE_TEXT_FRAME
Children:
ROLE_SYSTEM_TEXT wrapped by quote marks using ROLE_SYSTEM_STATICTEXT
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2
|
Control Type:
Text
Localized Control Type:
"q" |
Role:
ATK_ROLE_STATIC
Interfaces:
AtkText ; AtkHypertext
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
rb |
No corresponding role | ? | ? | ? |
AXRole:
AXGroup
AXSubrole:
AXRubyBase
AXRoleDescription:
"group"
|
||
rp |
No corresponding role |
No accessible object. No child elements are exposed if
ruby is supported by the browser.
|
No accessible object.
|
No accessible object. No child elements are
exposed if
ruby is supported by the browser.
|
Not mapped | ||
rt |
No corresponding role |
No accessible object. No child elements are exposed if
ruby is supported by the browser.
|
No accessible object.
|
No accessible object.
|
AXRole:
AXGroup
AXSubrole:
AXRubyText
AXRoleDescription:
"group"
|
||
rtc |
No corresponding role | ? | ? | ? | ? | ||
ruby |
No corresponding role |
Role:
ROLE_SYSTEM_TEXT ; IA2_ROLE_TEXT_FRAME
|
Control Type:
Text
Localized Control Type:
"ruby" |
Role:
ATK_ROLE_STATIC
|
AXRole:
AXGroup
AXSubrole:
AXRubyInline
AXRoleDescription:
"group"
|
||
s |
No corresponding role |
No accessible object.
Text attributes:
text-line-through-style:solid on the text container
|
No accessible object. Styles used are exposed by UIA text attribute identifiers of the
TextRange Control Pattern implemented on a parent accessible object.
|
No accessible object. Exposed as
"text-line-through-style:solid" text attribute on the text container.
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
samp |
No corresponding role |
No accessible object. Styles are mapped into text attributes on its text container.
|
No accessible object. Styles used are exposed by UIA text attribute identifiers of the
TextRange Control Pattern implemented on a parent accessible object.
|
No accessible object. Styles are mapped into
text attributes on its text container.
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
script |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
section |
region role if the section element has an accessible name. Otherwise, no corresponding role.
|
If the
section element has an accessible name, use WAI-ARIA mapping. Otherwise:
Roles:
ROLE_SYSTEM_GROUPING ; IA2_ROLE_SECTION
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2 ;
|
If the
section element has an accessible name:Control Type:
Group Localized Control Type:
"section" (all lower-case)Landmark Type:
Custom Localized Landmark Type:
"region" (all lower-case)Otherwise:
Control Type:
Group |
If the
section element has an accessible name, use WAI-ARIA mapping. Otherwise:
Role:
ATK_ROLE_SECTION
Interfaces:
AtkText ; AtkHypertext
|
If the
section element has an accessible name, use WAI-ARIA mapping. Otherwise:
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
select
(with a multiple attribute or
size attribute having value greater than 1 )
|
listbox role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
select
(with NO multiple attribute
and NO size attribute having value greater than 1 )
|
combobox role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
small |
No corresponding role |
No accessible object.
Text attributes:
font-size on the text container
|
No accessible object. Exposed by
FontSize attribute of the TextRange Control Pattern implemented on a parent accessible object.
|
No accessible object. Exposed as "font-size"
text attribute on the text container.
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
source |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
span |
No corresponding role | Not mapped |
Control Type:
Group
|
Not mapped |
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
strong |
No corresponding role |
No accessible object. Styles used are mapped into text attributes on its text container.
|
No accessible object. Styles used are exposed by UIA text attribute identifiers of the
TextRange Control Pattern implemented on a parent accessible object.
|
No accessible object. Styles used are mapped
into text attributes on its text container.
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
style |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
Note: There are instances where CSS properties can affect what is exposed by accessibility APIs. For instance,
display: none or visibility: hidden will remove an element from the accessibility tree and hide its presence from assistive technologies.
|
|
sub |
No corresponding role |
No accessible object.
Text attributes:
text-position:sub on the text container
|
No accessible object. Exposed by
IsSubscript attribute of the TextRange Control Pattern implemented on a parent accessible object.
|
Role:
ATK_ROLE_SUBSCRIPT
|
AXRole:
AXGroup
AXSubrole:
AXSubscriptStyleGroup
AXRoleDescription:
"group"
|
||
summary |
No corresponding role |
Role:
ROLE_SYSTEM_PUSHBUTTON
States:
STATE_SYSTEM_EXPANDED / STATE_SYSTEM_COLLAPSED
Actions:
expand / collapse
|
Control Type:
Button
Control Pattern:
ExpandCollapse
|
Role:
ATK_ROLE_PUSHBUTTON
|
AXRole:
AXDisclosureTriangle
AXSubrole:
(nil)
AXRoleDescription:
"disclosure triangle"
|
||
sup |
No corresponding role |
No accessible object.
Text attributes:
text-position:super on the text container
|
No accessible object. Exposed by
IsSuperscript attribute of the TextRange Control Pattern implemented on a parent accessible object.
|
Role:
ATK_ROLE_SUPERSCRIPT
|
AXRole:
AXGroup
AXSubrole:
AXSuperscriptStyleGroup
AXRoleDescription:
"group"
|
||
svg |
graphics-document role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
table |
table role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
tbody |
rowgroup role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
td (ancestor table element has table role) |
cell role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
td (ancestor table element has grid role) |
gridcell role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
template |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
textarea |
textbox role, with the aria-multiline property set to "true" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
tfoot |
rowgroup role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
th (is neither column header nor row header, and ancestor table element has table role) |
cell role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
th (is neither column header nor row header, and ancestor table element has grid role) |
gridcell role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
th (is a column header) |
columnheader role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
th (is a row header) |
rowheader role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
thead |
rowgroup role |
Use WAI-ARIA mapping |
Control Type:
Header
|
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
time |
No corresponding role |
Role:
IA2_ROLE_TEXT_FRAME
Object attributes:
xml-roles:time
Interfaces:
IAccessibleText2 ; IAccessibleHypertext2
|
Control Type:
Text
Localized Control Type:
"time"
Note: create a separate UIA Control of type Text. This is different from most UIA text mappings, which only create ranges in the page text pattern.
|
Role:
Object attributes:
xml-roles:time
Interfaces:
AtkText ; AtkHypertext |
AXRole:
AXGroup
AXSubrole:
AXTimeGroup
AXRoleDescription:
"group"
|
||
title |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
tr |
row role |
Use WAI-ARIA mapping |
Generally not mapped. If the element must be included per Core-AAM Section 5.1.2, map as Group . |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
track |
No corresponding role | Not mapped |
Not mapped |
Not mapped |
Not mapped |
||
u |
No corresponding role |
No accessible object. Exposed as "text-underline-style:solid" text attribute on its text container.
|
No accessible object. Exposed by
UnderlineStyle attribute of the TextRange Control Pattern implemented on a parent accessible object.
|
No accessible object. Exposed as
"text-underline-style:solid" text attribute on its text container.
|
? | ||
ul |
list role |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
||
var |
No corresponding role |
No accessible object. Styles used are mapped to text attributes on its text container.
|
No accessible object. Styles used are exposed by UIA text attribute identifiers of the
TextRange Control Pattern implemented on a parent accessible object.
|
No accessible object. Styles used are mapped to text attributes on its text container.
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
||
video |
No corresponding role |
Role:
ROLE_SYSTEM_GROUPING
|
Control Type:
Group
Localized Control Type:
"group" Note: If the
controls attribute is present, UI controls (e.g. play, volume) are exposed as children of the video element in the accessibility tree, and mapped as appropriate for the type of control (e.g. button or slider ).Text objects associated with loading or error messages, and any UI control not currently displayed, MAY be present in the accessibility tree and marked as hidden or off-screen.
|
Role:
ATK_ROLE_VIDEO
|
AXRole:
AXGroup
AXSubrole:
AXVideo
AXRoleDescription:
"video playback"
Note: If the
controls attribute is present, UI controls (e.g. play, volume) are exposed as descendants of an accessible object with a role of toolbar , and mapped as appropriate for the type of control (e.g. button or slider ). |
||
wbr |
No corresponding role |
If a line break is added, expose it with
IAccessibleText on the text container
|
Not mapped |
A line break if added is exposed via Text interface on its text container
|
AXRole:
AXGroup
AXSubrole:
(nil)
AXRoleDescription:
"group"
|
4.5 HTML Attribute State and Property Mappings
Notes:
- HTML attributes with default WAI-ARIA state and property semantics must be mapped to platform accessibility APIs according to those WAI-ARIA state and property mappings as defined in the Core Accessibility API Mappings [CORE-AAM] specification.
- A '?' in a cell indicates the data has yet to be provided.
- "Not mapped" (Not Applicable) means the attribute does not need to be exposed via an accessibility API. This is usually because the attribute is not displayed as part of the user interface.
- All elements having an accessible object in IAccessible2 mapping are supposed to implement IAccessible, IAccessible2 and IAccessible2_2 interfaces.
Attribute | Element(s) | WAI-ARIA | MSAA + IAccessible2 | UIA | ATK | AX | Comments |
---|---|---|---|---|---|---|---|
abbr |
th |
Not mapped |
Object attributes:
"abbr" until child
abbr element is provided
|
Not mapped |
Object attributes:
"abbr" until child
abbr element is provided
|
AXDescription: <value> |
|
accept |
input |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
accept-charset |
form |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
accesskey |
HTML elements |
Not mapped |
a key binding accessible by
accKeyboardShortcut
and IAccessibleAction::keyBinding
|
Properties:
AccessKey: <value>
|
atk_action_get_keybinding
|
AXAccessKey: <value> |
|
action |
form |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
allowfullscreen |
iframe |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
alt |
area ; img ; input |
Not mapped |
Used for accessible name, exposed via accName
|
Properties:
Name
|
Used for accessible name, exposed via
atk_object_get_name
|
AXDescription: <value> |
|
async |
script |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
autocomplete "on|off" |
form |
Note: the ARIA attribute and the HTML attribute have disparate features. |
States:
STATE_SUPPORTS_AUTOCOMPLETION on text form controls unitl the value is overriden by control
|
Not mapped |
States:
ATK_STATE_SUPPORTS_AUTOCOMPLETION
on text form controls unitl the value is overriden by control
|
Not mapped |
If the element includes both autocomplete and aria-autocomplete attributes with valid values, User Agents MUST expose only the autocomplete attribute value. |
autocomplete |
input ; select ; textarea |
Note: the ARIA attribute and the HTML attribute have disparate features. |
States:
STATE_SUPPORTS_AUTOCOMPLETION
|
Not mapped |
States:
ATK_STATE_SUPPORTS_AUTOCOMPLETION
|
Not mapped |
If the element includes both autocomplete and aria-autocomplete attributes with valid values, User Agents MUST expose only the autocomplete attribute value. |
autofocus |
button ; input ; keygen ; select ; textarea |
Not mapped - aria-flowto ? |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
autoplay |
audio ; video |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
challenge |
keygen |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
charset |
meta |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
charset |
script |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
checked (if present) |
menuitem ; input |
aria-checked (state)="true" |
States:
STATE_SYSTEM_CHECKED
|
Expose as ToggleState property in Toggle control pattern |
States:
ATK_STATE_CHECKED
|
AXValue: 1 |
If the element includes both the checked attribute and the aria-checked attribute with a valid value, User Agents MUST expose only the checked attribute value. |
checked (if absent) |
menuitem ; input |
aria-checked (state)="false" |
Not mapped |
Expose as ToggleState property in Toggle control pattern. |
Not mapped |
AXValue: 0 |
|
cite |
blockquote ; del ; ins ; q |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
AXURL: <value> |
|
class |
HTML elements | Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
cols |
textarea |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
AXRangeForLine: <value> |
Not mapped |
colspan |
td ; th |
aria-colspan |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
|
content |
meta |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
contenteditable |
HTML elements | ? |
States:
IA2_STATE_EDITABLE on this and every nested text accessible object
Interfaces:
IAccessibleEditableText on this and every nested text accessible object
|
Control Pattern:
TextEdit
|
States:
ATK_STATE_EDITABLE on this and every nested text accessible object
Interfaces:
AtkEditableText on this and every nested text accessible object
|
Role: AXtextArea Use WAI-ARIA mapping |
If the element has the contenteditable attribute and aria-readonly="true ", User Agents MUST expose only the contenteditable state. |
contextmenu |
HTML elements | aria-haspopup ="true" |
Linked menu is available in browser's context menu on the element
|
Expose state of the pop-up activities in the ExpandCollapseState property in the ExpandCollapse control pattern. |
Linked menu is available in browser's context menu on the element
|
Actions:
AXShowMenu ; AXPress
|
|
controls |
audio ; video |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Controls exposed as AXToolbar |
|
coords |
area |
Not mapped |
Defines an accessible object's dimensions (
IAccessible::accLocation )
|
Defines an accessible object's dimensions (
BoundingRectangle )
|
Defines an accessible object's dimensions, exposed via
atk_component_get_position and atk_component_get_size
|
Defines an accessible object's dimensions, exposed via Frame property |
|
crossorigin |
audio ; img ; link ; script ; video |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
data |
object |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
datetime |
del ; ins |
Not mapped |
Object attributes:
datetime: <value>
|
Not mapped |
Object attributes:
datetime: <value>
|
AXDateTimeValue: <value> |
|
datetime |
time |
Not mapped |
Object attributes:
datetime: <value> |
Properties:
FullDescription: <value> |
Object attributes:
datetime: <value> |
AXDateTimeValue: <value> |
|
default |
track |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
defer |
script |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
dir |
HTML elements | Not mapped |
Exposed as "writing-mode" text attribute on the text container.
|
Exposed by
TextFlowDirections attribute of the TextRange Control Pattern implemented on a parent accessible object.
|
Exposed as "writing-mode" text attribute on the text container.
|
Not mapped |
|
dirname |
input ; textarea |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
disabled |
button ; fieldset ; input ; keygen ; menuitem ; optgroup ; option ; select ; textarea |
aria-disabled ="true" |
States:
STATE_SYSTEM_UNAVAILABLE
|
States:
No interactive states like
ATK_STATE_FOCUSABLE
|
AXEnabled: NO |
If the element includes both the disabled attribute and the aria-disabled attribute with a valid value, User Agents MUST expose only the disabled attribute value. |
|
download |
a ; area |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
draggable |
HTML elements | Not mapped |
Object attributes:
draggable:true
|
Not mapped |
Object attributes:
draggable:true
|
Not mapped |
|
dropzone |
HTML elements | Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
enctype |
form |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
for |
label |
Not mapped |
Used for accessible name
Relations:
IA2_RELATION_LABEL_FOR and IA2_RELATION_LABEL_BY relations between
label and referred element
|
Not mapped |
Used for accessible name
Relations:
ATK_RELATION_LABEL_FOR and ATK_RELATION_LABEL_BY relations between
label and referred element
|
Not mapped |
|
for |
output |
Not mapped |
Relations:
IA2_RELATION_CONTROLLED_BY with an element pointed by the attribute. Paired element exposes IA2_RELATION_CONTROLLER_FOR relation.
|
Not mapped |
Relations:
ATK_RELATION_CONTROLLED_BY with an element pointed by the attribute.
Paired element exposes ATK_RELATION_CONTROLLER_FOR relation.
|
Not mapped |
|
form |
button ; fieldset ; input ; keygen ; label ; object ; output ; select ; textarea |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
formaction |
button ; input |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
formenctype |
button ; input |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
formmethod |
button ; input |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
formnovalidate |
button ; input |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
formtarget |
button ; input |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
headers |
td ; th |
Not mapped |
Links the cell to its header cells. Exposed via
IAccessibleTableCell::rowHeaderCells and IAccessibleTableCell::columnHeaderCells .
|
Links the cell to its header cells. Exposed via
Table.ItemColumnHeaderItems and Table.ItemRowHeaderItems .
|
Links the cell to its row and column header cells
(note, only one row and one column header cells can be exposed because of API restrictions).
See
atk_table_get_row_header and atk_table_get_column_header .
|
Expose via AXColumnHeaderUIElements and AXRowHeaderUIElements |
|
height |
canvas ; embed ; iframe ; img ; input ; object ; video |
Not mapped |
Defines an accessible object's height (
IAccessible::accLocation )
|
Defines an accessible object's height (
BoundingRectangle )
|
Defines an accessible object's height (
atk_component_get_size )
|
Defines an accessible object's height ( |
|
hidden |
HTML elements | aria-hidden ="true" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
|
high |
meter |
? | Not mapped |
RangeValue.Maximum |
Not mapped |
Not mapped |
|
href |
a ; area |
Not mapped |
Creates a link accessible object. For details, refer to
a and area element mappings. The value of the href attribute is stored in the Value.Value UIA property.
|
AXURL: <value> |
|||
href |
link |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
hreflang |
a ; area ; link |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
http-equiv |
meta |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
icon |
menuitem |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
id |
HTML elements | Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
indeterminate [IDL] |
HTML elements; menuitem ; input |
aria-checked (state)="mixed" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
If the element has the indeterminate [IDL] set and the aria-checked attribute set, User Agents MUST expose only theindeterminate [IDL] state. |
ismap |
img |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
keytype |
keygen |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
kind |
track |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
label |
menuitem ; menu ; optgroup ; option ; track |
? |
Associates the accessible name
|
The target element of the label attribute has a LabeledBy property pointing to the element with the label atrribute. Participates in name computation |
Associates the accessible name
|
AXTitle : <value> |
See Also: Accessible Name and Description: Computation and API Mappings 1.1 |
lang |
HTML elements | Not mapped |
Exposed as "language" text attribute on the text container
|
The value of the
lang attribute is exposed as a locale identifier by Culture property of the UIA element representing the HTML element, and by Culture attribute of the TextRange Control Pattern implemented on a parent accessible object.
|
Exposed as "language" text attribute on the text container
|
AXLanguage: <value> |
|
list |
input
|
aria-controls
|
IA2_RELATION_CONTROLLER_FOR pointing to a datalist element referred by the list attribute.
|
ControllerFor pointing to a datalist element referred by the list attribute.
|
ATK_RELATION_CONTROLLER_FOR pointing to a datalist element referred by the list attribute.
|
Not mapped |
Refer to datalist and input elements mapping.
|
longdesc |
img , frame , iframe |
Not mapped |
Actions:
showlongdesc (exposed on
img only)
|
Not mapped |
Actions:
showlongdesc (exposed on
img only)
|
Not mapped |
IE 8+ populates the accdescription with the value of the longdesc attribute. This is brittle as it is overwritten when aria-describedby is used. |
loop |
audio ; video |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
low |
meter |
? | Not mapped |
RangeValue.Minimum |
Not mapped |
Not mapped |
|
max |
input |
? |
Exposed as
IAccessibleValue::maximumValue if the element
implements the interface
|
RangeValue.Maximum |
Exposed as
atk_value_get_maximum_value if the element
implements the AtkValue interface
|
AXMaxValue: <value> |
|
max |
meter ; progress |
? |
Exposed as
IAccessibleValue::maximumValue if the element
implements the interface
|
RangeValue.Maximum |
Exposed as
atk_value_get_maximum_value if the element
implements the AtkValue interface
|
AXMaxValue: <value> |
|
maxlength |
input ; textarea |
? | Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
media |
link ; source ; style |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
method |
form |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
min |
input |
? |
Exposed as
IAccessibleValue::minimumValue if the element
implements the interface
|
RangeValue.Minimum |
Exposed as
atk_value_get_minimum_value if the element
implements the AtkValue interface
|
AXMinValue: <value> |
|
min |
meter |
? |
Exposed as
IAccessibleValue::minimumValue if the element
implements the interface
|
RangeValue.Minimum |
Exposed as
atk_value_get_minimum_value if the element
implements the AtkValue interface
|
AXMinValue: <value> |
|
multiple |
input |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
multiple |
select |
aria-multiselectable ="true" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
|
muted |
audio ; video |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
name |
button ; fieldset ; input ; keygen ; output ; select ; textarea |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
name |
form |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
name |
iframe ; object |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
name |
map |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
name |
meta |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
name |
param |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
novalidate |
form |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
open |
details |
aria-expanded ="true | false" |
STATE_SYSTEM_EXPANDED STATE_SYSTEM_COLLAPSED |
ExpandCollapsePattern
|
States:
ATK_STATE_COLLAPSED or ATK_STATE_EXPANDED depending
on the attribute value
|
AXExpanded: YES|NO |
Set properties on the summary element. |
open |
dialog |
aria-expanded ="true | false" |
STATE_SYSTEM_EXPANDED STATE_SYSTEM_COLLAPSED |
ExpandCollapsePattern
|
States:
ATK_STATE_COLLAPSED or ATK_STATE_EXPANDED depending
on the attribute value
|
AXExpanded: YES|NO |
|
optimum |
meter |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
pattern |
input |
Not mapped |
States:
IA2_STATE_INVALID_ENTRY if value doesn't meet the pattern
|
States:
IsDataValidForForm if value doesn't meet the pattern
|
States:
ATK_STATE_INVALID_ENTRY if value doesn't meet the pattern
|
? | |
placeholder |
input ; textarea |
aria-placeholder |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
When the placeholder and aria-placeholder attributes are both present, and the placeholder attribute's value is non-empty, user agents MUST expose the value of the placeholder attribute, and ignore aria-placeholder . If the placeholder attribute's value is empty, then user agents MUST expose the value of the aria-placeholder attribute. |
poster |
video |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
preload |
audio ; video |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
radiogroup |
menuitem |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
readonly |
input ; textarea |
aria-readonly="true" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
|
rel |
a ; area ; link |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
required |
input ; select ; textarea |
aria-required |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
|
reversed |
ol |
Not mapped |
Reverses the numbering of the child list item accessible objects.
|
Reverses the order of the child list items in the accessibility tree and reverses the numbering of the child list items. |
Reverses the numbering of the child list item accessible objects.
|
? | |
rows |
textarea |
? | Not mapped |
Not mapped |
Not mapped |
? | |
rowspan |
td ; th |
aria-rowspan |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
|
sandbox |
iframe |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
scope |
th |
? |
Defines whether the element is a row or column header (refer to
th element)
|
Defines whether the element is a row or column header (refer to
th element)
|
Defines whether the element is a row or column header (refer to
th element)
|
? | |
selected |
option |
aria-selected="true" |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
Use WAI-ARIA mapping |
|
shape |
area |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
size |
input ; select |
? |
If greater than 1, then creates a listbox accessible object. Refer to
select element for details.
|
If greater than 1, then creates a
List accessible object. Refer to select element for details.
|
If greater than 1, then creates a listbox accessible object. Refer to
select element for details.
|
? | |
sizes |
link |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
span |
col ; colgroup |
? |
exposed as
IAccessibleTableCell::columnExtent on
all cells at the column
|
Exposed as
GridItem.ColumnSpan on
all cells at the column
|
Exposed via
atk_table_get_column_extent_at
|
? | |
spellcheck |
HTML elements | Not mapped |
Mapped to "invalid" text attribute on the text container
|
Mapped to
SpellingError AnnotationTypes text attribute on the text range
|
Mapped to "invalid" text attribute on the text container
|
? | |
src |
audio ; embed ; iframe ; img ; input ; script ; source ; track ; video |
Not mapped |
Object attributes:
src on
img only
|
Object attributes:
src on
img only
|
Object attributes:
src on
img only
|
? | |
srcdoc |
iframe |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
srclang |
track |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
start |
ol |
Not mapped |
Changes the first number of the child list item accessible objects to match the
start attribute's value.
|
Changes the first number of the child list item accessible objects to match the
start attribute's value.
|
Changes the first number of the child list item accessible objects to match the
start attribute's value.
|
? | |
step |
input |
Not mapped |
Not mapped |
If the input is in the Range state, set both RangeValue.SmallChange and RangeValue.LargeChange to the value of step |
Exposed as
atk_value_get_minimum_increment if the element
implements the AtkValue interface
|
? | |
style |
HTML elements | Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
tabindex |
HTML elements | Not mapped |
States:
STATE_SYSTEM_FOCUSABLE ; also set STATE_SYSTEM_FOCUSED when the element has DOM focus
|
States:
IsKeyboardFocusable ; also set HasKeyboardFocus when the element has DOM focus
|
States:
ATK_STATE_FOCUSABLE ; also set ATK_STATE_FOCUSED when the element has DOM focus
|
? | |
target |
a ; area |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
target |
base |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
target |
form |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
title |
HTML elements | ? |
Associates the accessible name or if it was provided otherwise then
accessible description
|
Associates the accessible name or if it was provided otherwise then
accessible description
|
Associates the accessible name or if it was provided otherwise then
accessible description
|
AXHelp: <value> |
|
title |
abbr ; dfn |
Not mapped |
Associates the accessible name
|
Associates the accessible name
|
Associates the accessible name
|
AXExpandedTextValue: <value> |
|
title |
menuitem |
? |
Associates the accessible name or if it was provided otherwise then
accessible description
|
Associates the accessible name or if it was provided otherwise then
accessible description
|
Associates the accessible name or if it was provided otherwise then
accessible description
|
AXHelp: <value> |
|
title |
link |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
title |
link ; style |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
translate |
HTML elements | Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
type |
a ; link |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
type |
button |
? |
submit type may be a default button in the form
|
submit type may be a default button in the form
|
submit type may be a default button in the form
|
? | |
type |
embed ; object ; script ; source ; style |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
type |
input |
? | ? | ||||
type |
menu |
? | Not mapped |
Not mapped |
Not mapped |
? | |
type |
menuitem |
? |
Defines the accessible role and states, refer to
type="
command "
|
Defines the accessible role and states, refer to
type="
command "
|
Defines the accessible role and states:
type="
command "
|
? | |
type |
ol |
None |
Defines the list item marker, which has no accessible object, but is exposed as content in the accessible text of the associated list item.
Interfaces:
IAccessibleText2
|
Defines the list item marker, which has no accessible object, but is exposed as content in the accessible text of the associated list item.
Control Pattern: Text
|
Defines the list item marker, which has no accessible object, but is exposed as content in the accessible text of the associated list item.
Interfaces:
ATKText
|
Defines the list item marker, which is exposed as content in
AXValue , and rendered as an accessible object:
AXRole:
AXListMarker
AXSubrole:
(nil)
AXRoleDescription:
"list marker"
|
Some platforms (IAccessible2, ATK, UIA) do not expose an accessible object for the list item marker, whether it was created and then pruned from the accessibility tree, or never created in the first place. Instead, they expose the list item marker as part of the associated list item's accessible text. In these cases, implementors need to consider such things as adjusting the offsets (e.g. for caret-moved events, text-selection events, etc.) for the updated list item text that now also contains the list item marker as content, rather than just taking the offsets unmodified from the list item renderer.
|
typemustmatch |
object |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
usemap |
img |
Not mapped |
Responsible for image map creation, refer to
img element
|
Responsible for image map creation, refer to
img element
|
Responsible for image map creation, refer to
img element
|
? | |
value |
button ; option |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
value |
input |
? |
Associates the accessible value for entry type input elements
and accessible name for button type input elements
|
Associates the accessible value for entry type input elements
and accessible name for button type input elements
|
Associates the accessible value for entry type input elements
and accessible name for button type input elements
|
AXValue: <value> |
|
value |
li |
Not mapped |
Exposed as first text node of
li 's accessible object.
|
Expose the value of the value attribute as the first text node in the list item. If the value of the value attribute is an iteger, set the UIA PositionInSet property to the integer value. |
Exposed as first text node of
li 's accessible object.
|
Exposed as
AXValue: <value> with accessible object:
AXRole:
AXLlistMarker
AXSubrole:
(nil)
AXRoleDescription:
list marker
|
|
value |
meter ; progress |
? |
Exposed as
IAccessibleValue::currentValue
|
Exposed as
Value.Value
|
Exposed as
atk_value_get_current_value
|
AXValue: <value> |
|
value |
param |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
|
width |
canvas ; embed ; iframe ; img ; input ; object ; video |
Not mapped |
Defines an accessible object's width (
IAccessible::accLocation )
|
Defines an accessible object's width (
BoundingRectangle )
|
Defines an accessible object's width (
atk_component_get_size )
|
AXSize: w=n |
|
wrap |
textarea |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
Not mapped |
5. Accessible Name and Description Computation
The terms accessible name and accessible description are properties provided in all accessibility APIs. The name of the properties may differ across APIs but they serve the same function: as a container for a short (name) or longer (description) string of text.
The text alternative computation is used to generate both the accessible name and accessible description. There are different rules provided for several different types of elements, nodes, and combinations of markup.
5.1 input type="text"
, input type="password"
, input type="search"
, input type="tel"
, input type="url"
and textarea
Element
5.1.1 input type="text"
, input type="password"
, input type="search"
, input type="tel"
, input type="email"
, input type="url"
and textarea
Element Accessible Name Computation
- If the control has an
aria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the associated
label
element(s) accessible name(s) - if more than one label is associated; concatenate by DOM order, delimited by spaces. - Otherwise use the
title
attribute - If none of the above yield a usable text string there is no accessible name
5.1.2 input type="text"
, input type="password"
, input type="search"
, input type="tel"
, input type="email"
, input type="url"
and textarea
Element Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute if it wasn't used as the accessible name. - If none of the above yield a usable text string there is no accessible description
5.2 input type="button"
, input type="submit"
and input type="reset"
5.2.1 input type="button"
, input type="submit"
and input type="reset"
Accessible Name Computation
- If the control has an
aria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
value
attribute - For
input type=submit
: If steps 1 to 2 do not yield a usable text string, the accessible name is a localized string of the word "submit" - For
input type=reset
: If steps 1 to 2 do not yield a usable text string, the accessible name is a localized string of the word "reset" - Otherwise use
title
attribute - If none of the above yield a usable text string there is no accessible name
5.2.2 input type="button"
, input type="submit"
and input type="reset"
Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
value
attribute if it wasn't used as the accessible name - Otherwise use the
title
attribute if it wasn't used as the accessible name - If none of the above yield a usable text string there is no accessible description
5.3 input type="image"
5.3.1 input type="image"
Accessible Name Computation
- If the control has an
aria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use
alt
attribute - Otherwise use
value
attribute - Otherwise the user agent may provide an accessible name via a localized string of the phrase "Submit Query"
- Otherwise use
title
attribute - If none of the above yield a usable text string there is no accessible name
5.3.2 input type="image"
Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute if it wasn't used as the accessible name. - If none of the above yield a usable text string there is no accessible description
5.4 button
Element
5.4.1 button
Element Accessible Name Computation
- If the
button
element has anaria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
button
element subtree - Otherwise use
title
attribute - If none of the above yield a usable text string there is no accessible name
5.4.2 button
Element Accessible Description Computation
- use
aria-describedby
- Otherwise use the
title
attribute if it wasn't used as the accessible name.
5.5 fieldset
and legend
Elements
5.5.1 fieldset
Element Accessible Name Computation
- If the
fieldset
element has anaria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - If the accessible name is still empty, then: if the
fieldset
element has a child that is alegend
element, then use the subtree of the first such element - If the accessible name is still empty, then:, if the
fieldset
element has atitle
attribute, then use that attribute - Otherwise, there is no accessible name
5.5.2 fieldset
Element Accessible Description Computation
- If the
fieldset
element has anaria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute if it wasn't used as the accessible name - If none of the above yield a usable text string there is no accessible description
5.6 output
Element
5.6.1 output
Element Accessible Name Computation
- If the
output
element has anaria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
output
element subtree - Otherwise use
title
attribute - If none of the above yield a usable text string there is no accessible name
5.6.2 output
Element Accessible Description Computation
- use
aria-describedby
- Otherwise use the
title
attribute if it wasn't used as the accessible name. - If none of the above yield a usable text string there is no accessible description
5.7 Other Form Elements
5.7.1 Other Form Elements Accessible Name Computation
- If the control has an
aria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use
label
element - Otherwise use
title
attribute - If none of the above yield a usable text string there is no accessible name
5.7.2 Other Form Elements Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute if it wasn't used as the accessible name. - If none of the above yield a usable text string there is no accessible description
5.8 summary
Element
5.8.1 summary
Element Accessible Name Computation
- If the
summary
element has anaria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use
summary
element subtree - Otherwise use
title
attribute - If none of the above yield a usable text string the user agent should provide its own text string (e.g. "Details")
5.8.2 summary
Element Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use
summary
element subtree if not used as the accessible name - Otherwise use the
title
attribute if it wasn't used as the accessible name - If none of the above yield a usable text string there is no accessible description
5.9 figure
and figcaption
Elements
5.9.1 figure
Element Accessible Name Computation
- If the
figure
element has anaria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - If the accessible name is still empty, then: if the
figure
element has a child that is afigcaption
element, then use the subtree of the first such element - If the accessible name is still empty, then: if the
figure
element has atitle
attribute, then use that attribute - Otherwise, there is no accessible name
5.9.2 figure
Element Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute if it wasn't used as the accessible name - If none of the above yield a usable text string there is no accessible description
5.10 img
Element
5.10.1 img
Element Accessible Name Computation
- If the
img
element has anaria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use
alt
attribute - Otherwise use
title
attribute - If none of the above yield a usable text string there is no accessible name
5.10.2 img
Element Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute if it wasn't used as the accessible name - If none of the above yield a usable text string there is no accessible description
5.11 table
Element
5.11.1 table
Element Accessible Name Computation
- If the table element has an
aria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - If the accessible name is still empty, then: if the
table
element has a child that is acaption
element, then use the subtree of the first such element - If the accessible name is still empty, then: if the
table
element has atitle
attribute, then use that attribute - Otherwise, there is no accessible name
5.11.2 table
Element Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - If the accessible description is still empty, then:, if the
table
element has a child that is acaption
element and it wasn't used as the accessible name, then use the subtree of the first such element - If the accessible description is still empty, then: if the
table
element has atitle
attribute and it wasn't used as the accessible name, then use that attribute - Otherwise, there is no accessible description
5.12 Other Tabular data elements
5.12.1 tr
, td
, th
Elements Accessible Name Computation
- If the table element has an
aria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute - If none of the above yield a usable text string there is no accessible name
5.12.2 tr
, td
, th
Elements Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute if it wasn't used as the accessible name - If none of the above yield a usable text string there is no accessible description
5.13 a
Element
5.13.1 a
Element Accessible Name Computation
-
If the
a
element has anaria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use
a
element subtree - Otherwise use the
title
attribute - If none of the above yield a usable text string there is no accessible name
5.13.2 a
Element Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute if it wasn't used as the accessible name - If none of the above yield a usable text string there is no accessible description
5.14 iframe
Element
5.14.1 iframe
Element Accessible Name Computation
- If the element has an
aria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute - If none of the above yield a usable text string there is no accessible name
The document referenced by the src
of the iframe
element gets its name from that document's title
element, like any other document. If there is no title
provided, there is no accessible name.
5.14.2 iframe
Element Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute if it wasn't used as the accessible name - If none of the above yield a usable text string there is no accessible description
5.15 Section Elements and Grouping Content Elements Not listed Elsewhere
5.15.1 Section and Grouping Element Accessible Name Computation
- If the element has an
aria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute - If none of the above yield a usable text string there is no accessible name
5.15.2 Section and Grouping Element Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute if it wasn't used as the accessible name - If none of the above yield a usable text string there is no accessible description
5.16 Text Level Elements Not Listed Elsewhere
abbr
, b
, bdi
, bdo
, br
, cite
, code
, dfn
, em
, i
, kbd
, mark
, q
, rp
, rt
, ruby
, s
, samp
, small
, strong
, sub
and sup
, time
, u
, var
, wbr
5.16.1 Text Level Element Accessible Name Computation
- If the element has an
aria-label
or anaria-labelledby
attribute the accessible name is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the text element's subtree
- Otherwise use the
title
attribute - If none of the above yield a usable text string there is no accessible name
5.16.2 Text Level Element Accessible Description Computation
- If the element has an
aria-describedby
attribute the accessible description is to be calculated using the algorithm defined in Accessible Name and Description: Computation and API Mappings 1.1. - Otherwise use the
title
attribute if it wasn't used as the accessible name - If none of the above yield a usable text string there is no accessible description
6. Accessible Feature Implementation Examples
This section is non-normative.
6.1 summary
and details
Elements
6.1.1 Focus and Keyboard Interaction
The summary
element should be focusable by default.
The details
element should not focusable by default.
Pressing the spacebar or enter key when the summary
element has focus will show the details
element content if the content is hidden. If the details
element content is showing and the summary
element has focus, pressing the spacebar or enter key will hide the details element content.
6.1.2 Role, Name, State and Property Mapping
The summary
element should be mapped to a disclosure triangle role in accessibility APIs that have such a role. For example the Mac accessibility API includes the AXDisclosureTriangle
role. In accessibility APIs that do not have such a fine grained role, the summary
element should be mapped to a button
role. The role mapping table contains recommended mappings for the summary element.
The default accessible name for the summary
element is the text content of the summary
element.
When the details
element content is hidden, the state of the content should be reflected by an accessible state or property.
Example 1: In the Mac accessibility API on the summary
element (AXDisclosureTriangle
), set AXExpanded
property to NO
. When the details
element content is shown, on the summary
element (AXDisclosureTriangle
), set theAXExpanded
property to YES
. The hidden and shown states of the details
element content is reflected by the absence or presence of the open
attribute.
Example 2: In the IA2 accessibility API on the summary
element (ROLE_SYSTEM_PUSHBUTTON
), set STATE_SYSTEM_COLLAPSED
. When the details
element content is shown, on the summary
element (ROLE_SYSTEM_PUSHBUTTON
), set STATE_SYSTEM_EXPANDED
. The hidden and shown states of the details
element content is reflected by the absence or presence of the open
attribute.
6.2 The figure
and figcaption
Elements
to do
A. Appendices
A.1 Change Log
A.1.1 Substantive changes since moving entirely to the Web Platform Working Group (01-Oct-2016)
- 07-Feb-2018: Added entries for the
rb
andrtc
elements, and updated AXAPI mappings for therb
,rt
andruby
elements. See GitHub issue #115. - 07-Feb-2018: Updated mappings for the
svg
element. See GitHub issue #43. - 07-Feb-2018: Updated AXAPI mappings for the
del
andins
elements, and thedatetime
attribute. - 07-Feb-2018: Aligned mappings with CORE-AAM as appropriate for
header
andfooter
when scoped tobody
,aside
, andoutput
. See GitHub issue #119. - 07-Feb-2018: Updated ATK and AX mappings for the
multiple
attribute oninput
element. See GitHub issue #96. - 07-Feb-2018: Updated ATK mappings for the
sub
andsup
elements. See GitHub issue #121. - 07-Feb-2018: Updated mappings for the
body
element. See GitHub issue #117. - 01-Feb-2018: Updated IA2 mapping for the
meter
element. See GitHub issue #2. - 29-Jan-2018: Updated heading mapping to reflect implementations. See GitHub issue #116.
- 23-Jan-2018: Added note regarding effect of some CSS properties. See GitHub issue #234.
- 23-Jan-2018: Updated mappings for the
address
element. See GitHub issue #33. - 23-Jan-2018: Updated mappings for the
dt
element. See GitHub issue #78. - 23-Jan-2018: Updated AXAPI mappings for the
mark
element. - 08-Jan-2018: Updated mappings for the
input
element with thetype
attribute in the Color state. See GitHub issue #48. - 06-Jan-2018: Updated IA2 mappings for the
pre
,q
, andruby
elements, and themultiple
attribute for theinput
element. See GitHub issue #94. - 18-Dec-2017: Rewrote first paragraph in Introduction to better reflect the relationship between the HTML-AAM and CORE-AAM specifications. See GitHub issue #66.
- 18-Dec-2017: Updated
readonly
attribute to usearia-readonly="true"
WAI-ARIA mappings. See GitHub issue #93. - 08-Dec-2017: Changed AXAPI mapping for the
canvas
element fromAXImage
toAXGroup
. - 01-Dec-2017: Updated mappings for the
dfn
element. See GitHub issue #6. - 30-Nov-2017: Updated mappings for the
meter
element. See GitHub issue #2. - 24-Nov-2017: Updated mappings for the
audio
andvideo
elements. See GitHub issue #80. - 23-Nov-2017: Updated
figure
element mappings to reflect the WAI-ARIAfigure
role mappings. - 23-Nov-2017: Updated mappings for the
form
element based on presence of accessible name. See GitHub issue #106. - 23-Nov-2017: Removed the accessible name computation requirement to ignore an
img
element'stitle
attribute when the element'salt
attribute is empty. See GitHub issue #99. - 23-Nov-2017: Added note to not expose
aria-roledescription
unless element also a conformingrole
attribute value. See GitHub issue #98. - 09-Aug-2017: Updated mappings for the
type
attribute on theol
element. See GitHub issue #91. - 25-July-2017: Updated UIA mappings for multiple elements and attributes. See GitHub issue #95 and GitHub pull request #101.
- 02-June-2017: Updated AXAPI mappings for
title
attribute onabbr
element, andabbr
attribute onth
element. See GitHub issue #16. - 31-May-2017: Updated mappings for
hidden
attribute. See GitHub issue #38. - 24-May-2017: Updated mappings for
selected
attribute. See GitHub issue #92. - 01-May-2017: Updated AXAPI mapping for
time
element. See GitHub issue #88. - 27-Apr-2017: Updated UIA mappings for
lang
anddir
attributes. See GitHub issue #19. - 19-Apr-2017: Updated mapping for
colspan
androwspan
attributes. See GitHub issue #56 and issue #57. - 03-Apr-2017: Updated mapping for
section
element. See GitHub issue #79. - 23-Dec-2016: No mapping for
datalist
element if not linked withinput
element. See GitHub issue #26. - 23-Dec-2016: Updated IA2 mapping for
list
attribute. See GitHub issue #21. - 22-Dec-2016: Sync mappings for
footer
andheader
elements. See GitHub issue #59. - 22-Dec-2016: Updated IA2 mapping for
input@type='date'
attribute. See GitHub issue #61. - 22-Dec-2016: Updated IA2 mapping for
input@type='file'
element. See GitHub issue #62. - 22-Dec-2016: Updated IA2 mapping for
summary
element. See GitHub issue #64. - 14-Dec-2016: Updated wording distinguishing when
header
andfooter
elements are or are not ARIA landmarks. See GitHub issue #65. - 07-Dec-2016: Modified
aria-multiselectable
mapping fordatalist
to reflect listbox selection model. See GitHub issue #71. - 07-Dec-2016: Mappings for the
multiple
attribute oninput
andselect
elements. See GitHub issue #72. - 27-Nov-2016: Added implementation rules for the
checked
,contenteditable
,disabled
, andindeterminate
attributes. - 21-Nov-2016: Removed
placeholder
attribute from accessible description computation for variousinput
elements.
A.2 Acknowledgments
This section is non-normative.
The following people contributed to the development of this document.
A.2.1 Participants active in the HTML Accessibility Task Force active at the time of publication
- @@
A.2.2 Enabling funders
This publication has been funded in part with U.S. Federal funds from the Department of Education, National Institute on Disability, Independent Living, and Rehabilitation Research (NIDILRR), initially under contract number ED-OSE-10-C-0067 and currently under contract number HHSP23301500054C. 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.
B. References
B.1 Normative references
- [ACCNAME-AAM]
- Accessible Name and Description: Computation and API Mappings 1.1. Joseph Scheuhammer; Michael Cooper; Andi Snow-Weaver; Aaron Leventhal et al. W3C. W3C Working Draft. URL: https://www.w3.org/TR/accname-aam-1.1/
- [CORE-AAM]
- Core Accessibility API Mappings 1.1. Joseph Scheuhammer; Michael Cooper; Andi Snow-Weaver; Aaron Leventhal et al. W3C. W3C Working Draft. URL: https://www.w3.org/TR/core-aam-1.1/
- [HTML5]
- HTML5. Ian Hickson; Robin Berjon; Steve Faulkner; Travis Leithead; Erika Doyle Navara; Theresa O'Connor; Silvia Pfeiffer. W3C. 27 March 2018. W3C Recommendation. URL: https://www.w3.org/TR/html5/
- [HTML51]
- HTML 5.1 2nd Edition. Steve Faulkner; Arron Eicholz; Travis Leithead; Alex Danilo. W3C. 3 October 2017. W3C Recommendation. URL: https://www.w3.org/TR/html51/
- [HTML52]
- HTML 5.2. Steve Faulkner; Arron Eicholz; Travis Leithead; Alex Danilo; Sangwhan Moon. W3C. 14 December 2017. W3C Recommendation. URL: https://www.w3.org/TR/html52/
- [RFC2119]
- Key words for use in RFCs to Indicate Requirement Levels. S. Bradner. IETF. March 1997. Best Current Practice. URL: https://tools.ietf.org/html/rfc2119
- [WAI-ARIA]
- Accessible Rich Internet Applications (WAI-ARIA) 1.1. James Craig; Michael Cooper; Shane McCarron et al. W3C. W3C Working Draft. URL: https://www.w3.org/TR/wai-aria-1.1/
B.2 Informative references
- [AT-SPI]
- Assistive Technology Service Provider Interface. The GNOME Project. URL: https://developer.gnome.org/libatspi/stable/
- [ATK]
- ATK - Accessibility Toolkit. The GNOME Project. URL: https://developer.gnome.org/atk/stable/
- [AXAPI]
- The Mac OS X Accessibility Protocol Mac OS 10.10. Apple Corporation. URL: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSAccessibility_Protocol/index.html
- [CORE-AAM-1.1]
- Core Accessibility API Mappings 1.1. Joanmarie Diggs; Joseph Scheuhammer; Richard Schwerdtfeger; Michael Cooper; Andi Snow-Weaver; Aaron Leventhal. W3C. 14 December 2017. W3C Recommendation. URL: https://www.w3.org/TR/core-aam-1.1/
- [HTML-AAM]
- HTML Accessibility API Mappings 1.0. Steve Faulkner; Jason Kiss; Cynthia Shelly; Alexander Surkov et al. W3C. W3C Working Draft. URL: https://www.w3.org/TR/html-aam-1.0/
- [IAccessible2]
- IAccessible2. Linux Foundation. URL: https://www.linuxfoundation.org/collaborate/workgroups/accessibility/iaccessible2
- [MSAA]
- Microsoft Active Accessibility (MSAA) 2.0. Microsoft Corporation. URL: https://msdn.microsoft.com/en-us/library/ms697707.aspx
- [SVG-AAM]
- SVG2 Accessibility API Mappings 1.0. Amelia Bellamy-Royds; Richard Schwerdtfeger et al. W3C. W3C Working Draft. URL: https://www.w3.org/TR/svg-aam-1.0/
- [UI-AUTOMATION]
- UI Automation. Microsoft Corporation. URL: https://msdn.microsoft.com/en-us/library/ee684009%28v=vs.85%29.aspx
- [UIA-EXPRESS]
- The IAccessibleEx Interface. Microsoft Corporation. URL: https://msdn.microsoft.com/en-us/library/windows/desktop/dd561898%28v=vs.85%29.aspx
- [WCAG21]
- Web Content Accessibility Guidelines (WCAG) 2.1. Andrew Kirkpatrick; Joshue O Connor; Alastair Campbell; Michael Cooper. W3C. 5 June 2018. W3C Recommendation. URL: https://www.w3.org/TR/WCAG21/