Abstract

SVG Accessibility API Mappings (SVG-AAM) defines how user agents map Scalable Vector Graphics (SVG) [SVG] markup to platform accessibility application programming interfaces (APIs). It is intended for SVG user agent developers responsible for SVG accessibility in their user agent.

This specification allows SVG authors to create accessible rich internet applications, including charts, graphs, and other drawings. It does this by extending the Core Accessibility API Mappings 1.1 (CORE-AAM) [CORE-AAM] and the Accessible Name and Description: Computation and API Mappings 1.1 (ACCNAME-AAM) [ACCNAME-AAM] specifications for user agents. It leverages those core mappings and provides SVG-specific guidance to define how the SVG user agent must respond to keyboard focus and role, state, and property attributes provided in Web content via WAI-ARIA [WAI-ARIA]. The SVG-AAM also adapts the ACCNAME-AAM to make use of standard SVG features used to compute accessible names and description information exposed by platform accessibility APIs.

The SVG-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 http://www.w3.org/TR/.

This is a First Public Working Draft of SVG Accessibility API Mappings 1.0 by the SVG Accessibility Task Force, a joint task force of the Protocols & Formats Working Group and the SVG Working Group. It provides the first concrete guidance on mapping SVG language features to accessibility APIs, and addresses both native SVG features and ARIA additions. It extends Core Accessibility API Mappings 1.1 and Accessible Name and Description: Computation and API Mappings 1.1, and is part of a suite of similar technology-specific Accessibility API Mappings specifications.

Feedback on any aspect of the specification is accepted. For this publication, the SVG Accessibility Task Force particularly seeks feedback on the following questions:

To comment, send email to public-svg-a11y@w3.org (comment archive) or file an issue in W3C Bugzilla. Comments are requested by 27 March 2015. In-progress updates to the document may be viewed in the publicly visible editors' draft.

Publication as a First Public Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.

This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures (Protocols and Formats Working Group, SVG Working Group) 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 August 2014 W3C Process Document.

Table of Contents §

1. Introduction §

This section is non-normative.

In traditional Graphical User Interface (GUI) applications, components of the User Interface (UI) are displayed when needed and hidden when not needed based on user interactions. Accessibility APIs are used to communicate semantic information about the user interface to assistive technology software used by people with disabilities. These APIs constitute a contract between applications and assistive technologies, such as screen readers, magnifiers, alternate input devices, and speech command and control, to enable them to access the appropriate semantics needed to produce a usable alternative to interactive applications. For example, screen reading software for blind users can determine whether a particular UI component is a menu, button, text field, list box, etc.

In traditional SVG documents most SVG elements do not provide semantic information of value to assistive technologies as they represent low level vector graphics drawing directives. Consequently, it is when the author provides alternative text, descriptions, or WAI-ARIA semantics when that element has meaning to assistive technologies. SVG 2 now incorporates traditional keyboard navigation from HTML 5. Therefore, the user agent provides focus navigation to SVG elements known to receive focus by default or to that may receive focus through the use of tabindex. Assistive technologies obtain the essential semantic information from the Document Object Model (DOM) through user agent mappings to platform Accessibility API.

Both Scalable Vector Graphics (SVG) 1 [SVG1] and Scalable Vector Graphics (SVG) 1.1 [SVG11] included elements for accessibility purposes, such as <title> and <desc> , but prior to this specification there was no normative guidance as to how user agents should expose this information to assistive technologies, or how to integrate it with host languages and validators that support WAI-ARIA.

SVG closely aligns with the DOM Level 3 Core and HTML5 events to facilitate JavaScript use. Through the use of technologies such as JavaScript, Ajax, and CSS authors can make SVG look and behave more interactive without having to reload the page with each user interaction. In SVG, authors are able to produce accessible rich interactive charts, and drawings allowing the author to dynamically supply their intended semantics through through the use of WAI-ARIA. WAI-ARIA enables rich SVG drawn Internet applications to have the same accessibility features as GUI applications. Authors may include WAI-ARIA in their markup and user agents translate the WAI-ARIA markup to the platform accessibility APIs.

For an introduction to WAI-ARIA, see the WAI-ARIA Overview. The Core Accessibility API Mappings specification how WAI-ARIA roles, states, and properties should be supported in user agents using platform accessibility APIs. It is part of a set of resources that define and support the WAI-ARIA specification which includes the following documents:

This specification begins by providing a general overview of accessibility APIs and the accessible object hierarchy known as the accessibility tree. The following sections define how SVG host language elements, with or without WAI-ARIA roles, states, and properties applied map content to accessibility APIs. Other sections give guidance on calculating text alternatives, mapping actions to events, event processing, special document handling procedures, and error handling.

This guide relies heavily on the accessibility API mappings defined in the [CORE-AAM] and [ACCNAME-AAM] specifications but defines changes in mappings due to features in the [SVG] host language. Key areas of difference are:

1.1 Accessibility APIs  §

To provide access to desktop GUI applications, assistive technologies originally used heuristic techniques to determine the meaning of the user interface and build an alternative off-screen model. For example, a row of labels displayed horizontally near the top of an application window might be a menu. Labels with a border drawn around them might be buttons. Heuristic techniques are not always accurate, however, and require assistive technologies to be updated whenever the software application is updated.

A much better technique is for the software application to provide the necessary information for interoperability with assistive technology. To meet this need, platform owners have developed specialized interfaces, called accessibility API s, which can be used to communicate accessibility information about user interfaces to assistive technologies.

In Web pages the Document Object Model (DOM) is used to represent the structure and state of the elements in the document being rendered by a user agent. The elements of the document are organized into a hierarchy of nodes known as the DOM tree. User agents map DOMto accessibility APIs in the same way desktop applications map UI components do to support assistive technologies with the expectation that the information passed from the DOM matches the semantic intent of the author.

When the first rich Internet applications came out, authors created custom UI controls where the author created content that visibly matched the intent of the author but not the semantic intent. This is because there was no vehicle in early versions of HTML or SVG to provide the necessary semantics needed for user agents to expose them to assistive technologies through the platform accessibility APIs of the underlying operating system, throughout a web applications life cycle. This problem is worse in SVG as most its elements have no intrinsic host language semantics that make sense to users of assistive technologies as it consists primarily of low level drawing calls. Today, the information needed is provided when developers use WAI-ARIA to supply semantics in the form of role, state, and property information for elements. The screen reader or other assistive technology uses the semantic information exposed via the accessibility API to provide an alternative rendering of an application that is meaningful to a user.

Accessibility APIs covered by this document are:

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.

1.2 The Accessibility Tree and the DOM Tree §

The accessibility tree and the DOM tree are parallel structures. Roughly speaking the accessibility tree is a subset of the DOM tree. It includes the user interface objects of the user agent and the objects of the document. Accessible objects are created in the accessibility tree for every DOM element that should be exposed to an assistive technology, either because it may fire an accessibility event or because it has a property, relationship or feature which needs to be exposed. Generally if something can be trimmed out it will be, for reasons of performance and simplicity. For example, a <span> with just a style change and no semantics may not get its own accessible object, but the style change will be exposed by other means.

2. Normative User Agent Implementation Requirements for SVG §

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.

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 the href 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 the type attribute value submit 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.

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 WAI-ARIA User Agent Implementation Guide. [WAI-ARIA-IMPLEMENTATION]

Hidden

Indicates that the element is not visible or perceivable to any user. An element is considered hidden if it or any one of its ancestor elements is not rendered or 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 Guideline 2.1; "Make all functionality available from a keyboard" [WCAG20].

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 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 how to process them: aria-live, aria-relevant, aria-atomic, and aria-busy. Pre-defined live region roles are listed in the Choosing Between Special Case Live Regions ([WAI-ARIA-PRACTICES], Section 5.3).

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 Principle 2; content must be operable [WCAG20]. 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 Principle 1; content must be perceivable [WCAG20].

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 as aria-activedescendant, aria-valuenow, and aria-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> or <frameset>.

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 accessible 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.

Understandable

Presentable to users in ways they can construct an appropriate meaning. References in this document relate to WCAG 2 Principle 3; Information and the operation of user interface must be understandable [WCAG20].

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. Supporting Keyboard Navigation §

Enabling keyboard navigation in web applications is a necessary step toward making accessible web applications possible. Neither Scalable Vector Graphics (SVG) 1 [SVG1] and Scalable Vector Graphics (SVG) 1.1 [SVG11] included keyboard support. Keyboard support for SVG begins with Scalable Vector Graphics (SVG) 2 [SVG2]. Conforming user agents MUST conform to Supporting Keyboard Navigation requirements in [CORE-AAM].

5. Mapping WAI-ARIA to Accessibility APIs §

WAI-ARIA support was first introduced to SVG in Scalable Vector Graphics (SVG) 2 [SVG2]. This section defines how WAI-ARIA semantics are exposed to assistive technologies through platform Accessibility APIs and how SVG elements are mapped to Accessibility APIs based on WAI-ARIA.

5.1 General rules for exposing WAI-ARIA semantics §

This section MUST conform to General rules for exposing WAI-ARIA semantics in [CORE-AAM].

5.2 Conflicts between native markup semantics and WAI-ARIA §

SVG user agents MUST conform to Conflicts between native markup semantics and WAI-ARIA in [CORE-AAM] where the host language is [SVG].

5.3 Exposing attributes that do not directly map to accessibility API properties §

SVG user agents MUST conform to Exposing attributes that do not directly map to accessibility API properties in [CORE-AAM].

5.4 Role mapping §

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.

5.4.1 General Rules §

[SVG] user agents MUST conform to the Role Mapping General Rules accessibility API computational requirements in [CORE-AAM].

5.4.2 SVG Element Mapping Table §

This section defines how elements in SVG2 map to platform accessibility APIs based on their native host language semantics and when WAI-ARIA roles are applied. This section refers directly to the Core Accessibility API Mappings specification.

Note

[Note 1] Issue 698: Need to address mappings when tabindex or aria relationships are applied to elements whose native host language semantics have a role="none". Typically these should not be mapped. tabindex is allowed on all elements even though authors are unlikely to do it.

Note

[Note 2] Issue 699: Address use of map to generic container vs. a "group" role and role="none" mapping to concrete objects in some platforms. A role of "none" should not be mapped unless there is an error condition to avoid unnecessary growth of the accessibility tree.

Table describing mapping of WAI-ARIA roles to accessibility APIs.
SVG ELement Default Platform WAI-ARIA Role Mappings Platform WAI-ARIA Role Mappings for each WAI-ARIA Role Applied
a link Role Mappings
animate none Role Mappings
animateMotion none Role Mappings
animateTransform none Role Mappings
audio Map to group except for platform ATK/ATSPI that maps to role: ATK_ROLE_AUDIO application
canvas group Role Mappings
circle none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mapping Role Mappings
clipPath none Role Mappings
cursor none Role Mappings
defs none No role may be applied.
desc none No role may be applied.
discard none No role may be applied.
ellipse none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mapping Role Mappings
feBlend none No role may be applied.
feColorMatrix none No role may be applied.
feComponentTransfer none No role may be applied.
feComposite none No role may be applied.
feConvolveMatrix none No role may be applied.
feDiffuseLighting none No role may be applied.
feDisplacementMap none No role may be applied.
feDistantLight none No role may be applied.
feDropShadow none No role may be applied.
feFlood none No role may be applied.
feFuncA none No role may be applied.
feFuncB none No role may be applied.
feFuncG none No role may be applied.
feFuncR none No role may be applied.
feGaussianBlur none No role may be applied.
feImage none No role may be applied.
feMerge none No role may be applied.
feMergeNode none No role may be applied.
feMorphology none No role may be applied.
feOffset none No role may be applied.
fePointLight none No role may be applied.
feSpecularLighting none No role may be applied.
feSpotLight none No role may be applied.
feTile none No role may be applied.
feTurbulence none No role may be applied.
filter none No role may be applied.
foreignObject none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mapping Role Mappings
g none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mapping Role Mappings
hatch none No role may be applied.
hatchPath none No role may be applied.
iframe none application, document, img
image img No role may be applied.
line none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mapping Role Mappings
linearGradient none No role may be applied.
marker none No role may be applied.
mask none No role may be applied.
meshGradient none No role may be applied.
meshPatch none No role may be applied.
meshRow none No role may be applied.
metadata none No role may be applied.
mpath none No role may be applied.
path none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mapping Role Mappings
pattern none No role may be applied.
polygon none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mappingRole Mappings
polyline none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mappingRole Mappings
radialGradient none No role may be applied.
rect none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mappingRole Mappings
script none No role may be applied.
set none No role may be applied.
solidColor none No role may be applied.
source none No role may be applied.
stop none No role may be applied.
style none No role may be applied.
svg group Role Mappings
switch none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mappingRole Mappings
symbol none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mappingRole Mappings
text
Note

The use of the group role here is that of generic container for text. More work is required to address what additional text interfaces are exposed through platform accessibility API services.

group
 
textPath
Note

The use of the group role here is that of generic container for text. More work is required to address what additional text interfaces are exposed through platform accessibility API services.

group
 
title none No role may be applied.
track none No role may be applied.
tspan
Note

The use of the group role here is that of generic container for text. More work is required to address what additional text interfaces are exposed through platform accessibility API services.

group
 
use none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribute; otherwise, group role mappingRole Mappings
video Map to group except for platform ATK/ATSPI that maps to role: ATK_ROLE_VIDEO application
view none role mapping, provided no associated title element, desc element, aria-label attribute, aria-labelledby attribute, or aria-describedby attribu oe; otherwise, group role mappingRole Mappings

5.5 State and Property Mapping §

This section describes how to expose WAI-ARIA states and object properties. SVG user agents MUST conform to the State and Property Mapping accessibility API computational requirements in [CORE-AAM].

5.6 Special Processing Requiring Additional Computation §

5.6.1 Name and Description §

When computing an accessible name or accessible description, user agents MUST conform to the section titled Text Alternative Computation of the [ACCNAME-AAM] specification with the following modifications for the SVG host language:

  1. Replace step 2D with the following:
    Otherwise, if performing a text alternative computation for an accessible name and the current node provides a descendant <title> element chosen based on the language rules for the SVG specification, return the title text alternative as a flat string, unless the element is marked as presentational (role="presentation" or role="none"). If performing a text alternative computation for an accessible description, and the current node provides a descendant <desc> chosen based on the language rules for the SVG specification; return the description text alternative an accessible description computation attribute as presentational (role="presentation" or role="none").
  2. In step 2F skip step iii of Text Alternative Computation

5.6.2 Widget Values §

SVG user agents MUST conform to the Widget Values accessibility API computational requirements in [CORE-AAM].

5.6.3 Relations §

SVG user agents MUST conform to the Relation accessibility API computational requirements in [CORE-AAM].

5.6.4 Group Position §

SVG user agents MUST conform to the Group Position accessibility API computational requirements in [CORE-AAM].

5.7 Actions §

SVG user agents MUST conform to the Actions accessibility API computational requirements in [CORE-AAM].

5.8 Events §

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] Events mappings.

6. Special Document Handling Procedures §

SVG user agents MUST conform to the Special Document Handling Procedures in [CORE-AAM].

A. Appendices §

A.1 References §

Placeholder for references

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 SVG Accessibility Task Force active at the time of publication §

  • Amelia Bellamy-Royds
  • Erik Dahlström (Opera)
  • Amy Dai (Oracle Corporation)
  • Fred Esch (IBM Corporation)
  • Cameron McCormack (Mozilla Foundation)
  • Charles Nevile (Yandex)
  • Charu Pandhi (IBM Corporation)
  • Janina Sajka
  • Doug Schepers (W3C)
  • Rich Schwerdtfeger (IBM Corporation)
  • Léonie Watson (The Paciello Group, LLC)
  • Jason White (Educational Testing Service)

A.2.2 Enabling funders §

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.

B. References §

B.1 Normative references §

[ACCNAME-AAM]
Joseph Scheuhammer; Michael Cooper; Andi Snow-Weaver; Aaron Leventhal et al. Accessible Name and Description: Computation and API Mappings 1.1. W3C Working Draft. URL: http://www.w3.org/TR/accname-aam-1.1/
[CORE-AAM]
Joseph Scheuhammer; Michael Cooper; Andi Snow-Weaver; Aaron Leventhal et al. Core Accessibility API Mappings 1.1. W3C Working Draft. URL: http://www.w3.org/TR/core-aam-1.1/
[SVG]
Jon Ferraiolo. Scalable Vector Graphics (SVG) 1.0 Specification. 4 September 2001. W3C Recommendation. URL: http://www.w3.org/TR/SVG/
[WAI-ARIA]
James Craig; Michael Cooper; Shane McCarron et al. Accessible Rich Internet Applications (WAI-ARIA) 1.1. W3C Working Draft. URL: http://www.w3.org/TR/wai-aria-1.1/

B.2 Informative references §

[ARIA-PRACTICES]
Joseph Scheuhammer; Michael Cooper; Lisa Pappas; Richard Schwerdtfeger et al. WAI-ARIA Authoring Practicess 1.0. W3C Working Draft. URL: http://www.w3.org/TR/wai-aria-practices/
[AT-SPI]
Assistive Technology Service Provider Interface. URL: https://developer.gnome.org/libatspi/stable/
[ATK]
ATK - Accessibility Toolkit. URL: https://developer.gnome.org/atk/stable/
[AXAPI]
The Mac OS X Accessibility Protocol Mac OS 10.10. URL: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Protocols/NSAccessibility_Protocol/index.html
[IAccessible2]
IAccessible2. URL: http://www.linuxfoundation.org/collaborate/workgroups/accessibility/iaccessible2
[MSAA]
Microsoft Active Accessibility (MSAA) 2.0. URL: https://msdn.microsoft.com/en-us/library/ms697707.aspx
[SVG1]
John Ferraiolo et al. Scalable Vector Graphics (SVG) 1.0 Specification. W3C Recommendation. URL: http://www.w3.org/TR/SVG10/
[SVG11]
Erik Dahlström; Patrick Dengler; Anthony Grasso; Chris Lilley; Cameron McCormack; Doug Schepers; Jonathan Watt; John Ferraiolo; 藤沢 淳 (FUJISAWA Jun); Dean Jackson et al. Scalable Vector Graphics (SVG) 1.1 (Second Edition). W3C Recommendation. URL: http://www.w3.org/TR/SVG11/
[SVG2]
Nikos Andronikos; Tavmjong Bah; Brian Birtles; Cyril Concolato; Erik Dahlströmx; Chris Lilley; Cameron McCormack; Doug Schepers; Dirk Schulze; Richard Schwerdtfeger; Satoru Takagi; Jonathan Watt et al. Scalable Vector Graphics (SVG) 2. W3C Working Draft. URL: http://www.w3.org/TR/2014/WD-SVG2-20140211/
[UI-AUTOMATION]
UI Automation. URL: https://msdn.microsoft.com/en-us/library/ee684009%28v=vs.85%29.aspx
[UIA-EXPRESS]
The IAccessibleEx Interface. URL: https://msdn.microsoft.com/en-us/library/windows/desktop/dd561898%28v=vs.85%29.aspx
[WAI-ARIA-10]
James Craig; Michael Cooper et al. Accessible Rich Internet Applications (WAI-ARIA) 1.0. W3C Recommendation. URL: http://www.w3.org/TR/wai-aria/
[WAI-ARIA-IMPLEMENTATION]
Joseph Scheuhammer; Michael Cooper. WAI-ARIA 1.0 User Agent Implementation Guide. 20 March 2014. W3C Recommendation. URL: http://www.w3.org/TR/wai-aria-implementation/
[WAI-ARIA-PRACTICES]
Joseph Scheuhammer; Michael Cooper. WAI-ARIA 1.0 Authoring Practices. 7 March 2013. W3C Working Draft. URL: http://www.w3.org/TR/wai-aria-practices/
[WCAG20]
Ben Caldwell; Michael Cooper; Loretta Guarino Reid; Gregg Vanderheiden et al. Web Content Accessibility Guidelines (WCAG) 2.0. 11 December 2008. W3C Recommendation. URL: http://www.w3.org/TR/WCAG20/
[rfc2119]
S. Bradner. Key words for use in RFCs to Indicate Requirement Levels. March 1997. Best Current Practice. URL: https://tools.ietf.org/html/rfc2119