Please check the errata for any errors or issues reported since publication.
See also translations.
Copyright © 2015-2017 W3C® (MIT, ERCIM, Keio, Beihang). W3C liability, trademark and document use rules apply.
The Digital Publishing Accessibility API Mappings (DPub-AAM) defines how user agents map the Digital Publishing WAI-ARIA Module [dpub-aria-1.0] markup to platform accessibility APIs. It is intended for user agent developers responsible for accessibility in their user agent so that they can support the accessibility content produced for digital publishing.
The implementation of this specification in user agents enables authors to produce more accessible e-books, by conveying structural book constructs used by the digital publishing industry to assistive technologies. It does this by extending the Core Accessibility API Mappings 1.1 (CORE-AAM) [core-aam-1.1] and the Accessible Name and Description: Computation and API Mappings 1.1 (ACCNAME-AAM) [accname-aam-1.1] specifications for user agents. It provides Accessibility API Mapping guidance for the roles defined in the Digital Publish WAI-ARIA Module.
The DPub-AAM is part of the WAI-ARIA suite described in the WAI-ARIA Overview.
This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at https://www.w3.org/TR/.
This is the DPub-AAM 1.0 W3C Recommendation by the Accessible Rich Internet Applications Working Group. The Working Group create a DPub-AAM 1.0 Implementation Report to demonstrate that the specification is implementable. A history of changes to Core-AAM 1.1 is available in the appendix.
To comment on this document, file an issue in the W3C dpub-aam GitHub repository. If this is not feasible, send email to public-aria@w3.org (comment archive). Comments received on the DPub-AAM 1.0 Recommendation cannot result in changes to this version of the specification, but may be addressed in errata or future versions of DPub-AAM. The Working Group may not make formal responses to comments but future work undertaken by the Working Group may address comments received on this document. In-progress updates to the document may be viewed in the publicly visible editors' draft.
This document was published by the Accessible Rich Internet Applications Working Group as a Recommendation.
Please see the Working Group's implementation report.
This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or cited from another document. W3C's role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web.
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 March 2017 W3C Process Document.
This section is non-normative.
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, MUST, MUST NOT, OPTIONAL, RECOMMENDED, REQUIRED, SHALL, SHALL NOT, and SHOULD are to be interpreted as described in [RFC2119].
This specification indicates whether a section is normative or informative and the classification applies to the entire section. A statement "This section is normative" or "This section is informative" applies to all sub-sections of that section.
Normative sections provide requirements that user agents must follow for an implementation to conform to this specification. The keywords MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in Keywords for use in RFCs to indicate requirement levels [RFC2119]. RFC-2119 keywords are formatted in uppercase and contained in a strong
element with class="rfc2119"
. When the keywords shown above are used, but do not share this format,
they do not convey formal information in the RFC 2119 sense, and are merely explanatory, i.e., informative. As much as possible, such usages are avoided in this specification.
Informative sections provide information useful to understanding the specification. Such sections may contain examples of recommended practice, but it is not required to follow such recommendations in order to conform to this specification.
While some terms are defined in place, the following definitions are used throughout this document.
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].
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.
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.
Hardware and/or software that:
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:
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.
A set of instance objects that share similar characteristics.
In this specification, element is used as it is in markup languages. Elements are the structural elements in markup language that contains the data profile for objects.
A programmatic message used to communicate discrete changes in the state of an object to other objects in a computational system. User input to a web page is commonly mediated through abstract events that describe the interaction and can provide notice of changes to the state of a document object. In some programming languages, events are more commonly known as notifications.
Content provided for information purposes and not required for conformance. Content required for conformance is referred to as normative.
Required for conformance. By contrast, content identified as informative or "non-normative" is not required for conformance.
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.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 as aria-activedescendant
, aria-valuenow
, and aria-valuetext
are expected to change often. See clarification of states versus properties.
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.
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.
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.
Any software that retrieves, renders and facilitates end user interaction with Web content. This definition may differ from that used in other documents.
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).
Enabling keyboard navigation in web applications is a necessary step toward making accessible web applications possible. Conforming user agents MUST conform to Supporting Keyboard Navigation requirements in [core-aam-1.1].
This section MUST conform to General rules for exposing WAI-ARIA semantics in [core-aam-1.1].
User agents MUST conform to Conflicts between native markup semantics and WAI-ARIA in [core-aam-1.1].
User agents MUST conform to Exposing attributes that do not directly map to accessibility API properties in [core-aam-1.1].
Platform accessibility APIs traditionally have had a finite set of predefined roles that are expected by assistive technologies on that platform and only one or two roles may be exposed. In contrast, WAI-ARIA allows multiple roles to be specified as an ordered set of space-separated valid role tokens. The additional roles are fallback roles similar to the concept of specifying multiple fonts in case the first choice font type is not supported.
User agents MUST conform to the Role Mapping General Rules accessibility API computational requirements in [core-aam-1.1].
Translators: For label text associated with the following table and its toggle buttons, see the mappingTableLabels
object in the <head>
section of this document.
This section defines how WAI-ARIA digital publishing roles map to platform accessibility APIs. Elements having roles with a prefix value of doc-
, that are not listed in this role mapping table, have no normative mappings.
There are a number of roles mappings that are localized. The group needs to look into localizing for non-English languages.
WAI-ARIA Role | MSAA + IAccessible2 Role + Other IAccessible2 Features | UIA Control Type + Other Features | ATK/AT-SPI Role | AXAPI |
---|---|---|---|---|
doc-abstract |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXApplicationGroup AXRoleDescription: 'group'
|
doc-acknowledgments |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-afterword |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-appendix |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-backlink |
Expose
IAccessible2:
|
|
Expose |
AXRole: AXLink AXSubrole: <nil> AXRoleDescription: 'link'
|
doc-biblioentry |
Expose
IAccessible2: Object attribute |
|
Expose |
AXRole: AXGroup AXSubrole: <nil> AXRoleDescription: 'group'
|
doc-bibliography |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-biblioref |
Expose
IAccessible2:
|
|
Expose |
AXRole: AXLink AXSubrole: <nil> AXRoleDescription: 'link'
|
doc-chapter |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-colophon |
Expose
IAccessible2: Object attribute |
|
Expose |
AXRole: AXGroup AXSubrole: AXApplicationGroup AXRoleDescription: 'group'
|
doc-conclusion |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-cover |
Expose
IAccessible2: Object attribute |
Control Type is Image
|
expose |
AXRole: AXImage AXSubrole: <nil> AXRoleDescription: 'image'
|
doc-credit |
Expose
IAccessible2: Object attributexml-roles:doc-credit |
|
Expose |
AXRole: AXGroup AXSubrole: AXApplicationGroup AXRoleDescription: 'group'
|
doc-credits |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-dedication |
Expose
IAccessible2: Object attributexml-roles:doc-dedication |
|
Expose |
AXRole: AXGroup AXSubrole: AXApplicationGroup AXRoleDescription: 'group'
|
doc-endnote |
Expose
IAccessible2: Object attribute |
|
Expose |
AXRole: AXGroup AXSubrole: <nil> AXRoleDescription: 'group'
|
doc-endnotes |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-epigraph |
Expose
IAccessible2: Object attributexml-roles:doc-epigraph |
|
Expose |
AXRole: AXGroup AXSubrole: AXApplicationGroup AXRoleDescription: 'group'
|
doc-epilogue |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-errata |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-example |
Expose
IAccessible2: Object attributexml-roles:doc-example |
|
Expose |
AXRole: AXGroup AXSubrole: AXApplicationGroup AXRoleDescription: 'group'
|
doc-footnote |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXApplicationGroup AXRoleDescription: 'group'
|
doc-foreword |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-glossary |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-glossref |
Expose
IAccessible2:
|
|
Expose |
AXRole: AXLink AXSubrole: <nil> AXRoleDescription: 'link'
|
doc-index |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkNavigation AXRoleDescription: 'navigation'
|
doc-introduction |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-noteref |
Expose
IAccessible2:
|
|
Expose |
AXRole: AXLink AXSubrole: <nil> AXRoleDescription: 'link'
|
doc-notice |
Expose
IAccessible2: Object attributexml-roles:doc-notice . |
|
Expose |
AXRole: AXGroup AXSubrole: AXDocumentNote AXRoleDescription: 'note'
|
doc-pagebreak |
Expose
IAccessible2: Object attributexml-roles:doc-pagebreak .
|
|
Expose |
AXRole: AXSplitter AXSubrole: <nil> AXRoleDescription: 'splitter'
|
doc-pagelist |
Expose IAccessible2:
|
|
Expose
|
AXRole: AXGroup AXSubrole: AXLandmarkNavigation AXRoleDescription: 'navigation'
|
doc-part |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-preface |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-prologue |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkRegion AXRoleDescription: 'region'
|
doc-pullquote |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXApplicationGroup AXRoleDescription: 'group'
|
doc-qna |
Expose
IAccessible2: Object attributexml-roles:doc-qna |
|
Expose |
AXRole: AXGroup AXSubrole: AXApplicationGroup AXRoleDescription: 'group'
|
doc-subtitle |
Expose IAccessible2:
|
|
Expose |
AXRole: AXHeading AXSubrole: <nil> AXRoleDescription: 'heading'
|
doc-tip |
Expose
IAccessible2: Object attributexml-roles:doc-tip
|
|
Expose |
AXRole: AXGroup AXSubrole: AXDocumentNote AXRoleDescription: 'note'
|
doc-toc |
Expose IAccessible2:
|
|
Expose |
AXRole: AXGroup AXSubrole: AXLandmarkNavigation AXRoleDescription: 'navigation'
|
[Note 2] This specification does not currently contain guidance for when user agents should fire system alert events. Some guidance may be added to the specification at a later date but it will be a recommendation (should), not a requirement (must).
This section describes how to expose WAI-ARIA states and object properties. User agents MUST conform to the State and Property Mapping accessibility API computational requirements in [core-aam-1.1].
When computing an accessible name or accessible description, user agents MUST conform to the section titled Text Alternative Computation of the [accname-aam-1.1] specification.
User agents MUST conform to the Widget Values accessibility API computational requirements in [core-aam-1.1].
User agents MUST conform to the Relation accessibility API computational requirements in [core-aam-1.1].
User agents MUST conform to the Group Position accessibility API computational requirements in [core-aam-1.1].
User agents MUST conform to the Actions accessibility API computational requirements in [core-aam-1.1].
User agents fire events for user actions, WAI-ARIA state changes, changes to document content or node visibility, changes in selection, and operation of menus. Conforming user agents MUST support the [core-aam-1.1] Events mappings.
User agents MUST conform to the Special Document Handling Procedures in [core-aam-1.1].
This section is non-normative.
The following people contributed to the development of this document.
The group would like to thank all members of the DAISY and EPUB 3 working groups who developed the structural semantics vocabulary from which this module was drawn, with special thanks to Sanders Kleinfeld for his assistance analyzing the initial set of semantics for inclusion.
This publication has been funded in part with Federal funds from the U.S. Department of Education, National Institute on Disability, Independent Living, and Rehabilitation Research (NIDILRR) under contract number ED-OSE-10-C-0067. 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.