diff --git a/graphics2.html b/graphics2.html index b857c7a..85d7fbc 100644 --- a/graphics2.html +++ b/graphics2.html @@ -1,388 +1,452 @@ -
-Assistive technologies need semantic information about widgets, structures and behaviors to convey appropriate information to persons with disabilities. This specification defines a [[!WAI-ARIA]] module of roles, states and properties specific to web graphics. These semantics allow an author to convey user interface behaviors and structural information to assistive technologies and to enable semantic navigation, styling and interactive features used by readers. It is expected this will complement [[HTML5]] and [[SVG2]].
-This document is part of the WAI-ARIA suite described in the WAI-ARIA Overview.
-Please record issues on this specification through the Github W3C/aria issue tracker, using the prefix "Graphics" for any issue.
-WAI-ARIA is a technical specification that defines a common host language semantic accessibility API and framework that enables web browsers to map the accessibility semantics in web content to platform-specific accessibility APIs. This enables web content to be interoperable with platform assistive technologies similar to native platform applications without platform dependencies.
-This specification is a modular extension of WAI-ARIA designed to support graphics. The goals of this specification include:
-For a more detailed explanation of WAI-ARIA please refer to the WAI-ARIA Introduction and how it applies to Rich Internet Application Accessibility.
- -This specification defines a module of WAI-ARIA for graphics, including roles, states, properties and values. It impacts several audiences:
-Each conformance requirement indicates the audience to which it applies.
- -This module builds on the general User Agent support principles defined in [[!WAI-ARIA]] by also providing the ability for user agents to enhance the general user interface presented to readers.
-The Graphics WAI-ARIA module follows the model for co-evolution of WAI-ARIA and host languages defined in [[!WAI-ARIA]]. It is intended to augment semantics in supporting languages like [[HTML5]], [[!SVG2]] and EPUB, or to be used as an accessibility enhancement technology in other markup-based languages that do not explicitly include support for ARIA. It clarifies semantics to assistive technologies when authors create new types of objects, via style and script, that are not yet directly supported by the language of the page, because the invention of new types of objects is faster than standardized support for them appears in web languages.
-It is not appropriate to create objects with style and script when the host language provides a semantic element for that type of objects. While WAI-ARIA can improve the accessibility of these objects, accessibility is best provided by allowing the user agent to handle the object natively. For example, it is not better to use a div
element than it is to use a native heading element, such as an h1
.
It is expected that, over time, host languages will evolve to provide semantics for objects that currently can only be declared with this specification. This is natural and desirable, as one goal of WAI-ARIA is to help stimulate the emergence of more semantic and accessible markup. When native semantics for a given feature become available, it is appropriate for authors to use the native feature and stop using this module for that feature. Legacy content may continue to use the Graphics WAI-ARIA module, however, so the need for user agents to support it remains.
-While specific features of this module may lose importance over time, the general possibility of the Graphics WAI-ARIA module to add semantics to web graphics or open web based standards, is expected to be a persistent need. Host languages may not implement all the semantics this module provides, and various host languages may implement different subsets of the features. New types of objects are continually being developed, and one goal of this specification is to provide a way to make such objects accessible, because authoring practices often advance faster than host language standards. In this way, this module and host languages both evolve together but at different rates.
-Some host languages exist to create semantics for features other than the user interface. For example, SVG expresses the semantics behind production of graphical objects, not of user interface components that those objects may represent. Host languages such as these might, by design, not provide native semantics that map to this specification's features. In these cases, the Graphics WAI-ARIA module could be adopted as a long-term approach to add semantic information to these host languages.
-Programmatic access to accessibility semantics is essential for assistive technologies. For more information, refer to the Assistive Technologies section in [[!WAI-ARIA]].
-This specification indicates whether a section is normative or informative. Classifying a section as normative or informative 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 authors, user agents and assistive technologies MUST follow for an implementation to conform to 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.
-- This section defines additions to the - WAI-ARIA - role taxonomy - and describes the characteristics and properties of all roles. - See ARIA Roles for descriptions - of the fields provided by this module. -
-Authors are given the ability to influence what is presented to assistive technologies and to influence navigation through
- the use of roles and properties. With graphics, there are many cases where presenting and navigating every element will make the
- graphic harder to understand and use. Authors may mark elements for non-visual exclusion by assigning the role
If an author does not want a user agent to non-visually present an element and does not want the
- element included in navigaion then the element should be given a role of
User agents are expected to use the
+ Assistive technologies need semantic information about widgets, structures and behaviors to convey appropriate information to persons with disabilities. This specification defines a + [[!WAI-ARIA]] module of roles, states and properties specific to web graphics. These semantics allow an author to convey user + interface behaviors and structural information to assistive technologies and to enable semantic navigation, styling and interactive features used by readers. It is expected this will + complement [[HTML5]] and [[SVG2]]. +
++ This document is part of the WAI-ARIA suite described in the + WAI-ARIA Overview. +
+Please record issues on this specification through the Github W3C/aria issue tracker, using the prefix "Graphics" for any issue.
++ WAI-ARIA is a technical specification that defines a common host language semantic accessibility API and framework that enables web + browsers to map the accessibility semantics in web content to platform-specific accessibility APIs. This enables web content to be interoperable with platform assistive technologies similar to + native platform applications without platform dependencies. +
+This specification is a modular extension of WAI-ARIA designed to support graphics. The goals of this specification include:
++ For a more detailed explanation of WAI-ARIA please refer to the + WAI-ARIA Introduction and how it applies to Rich Internet Application Accessibility. +
+ ++ This specification defines a module of WAI-ARIA for graphics, including roles, states, + properties and values. It impacts several audiences: +
+Each conformance requirement indicates the audience to which it applies.
+ ++ This module builds on the general User Agent support principles defined in [[!WAI-ARIA]] by also providing the ability for user + agents to enhance the general user interface presented to readers. +
++ The Graphics WAI-ARIA module follows the model for + co-evolution of WAI-ARIA and host languages defined in [[!WAI-ARIA]]. + It is intended to augment semantics in supporting languages like [[HTML5]], [[!SVG2]] and EPUB, or to be used as an accessibility enhancement technology in other markup-based languages that + do not explicitly include support for ARIA. It clarifies semantics to assistive technologies when authors create new types of objects, via style and script, that are not yet directly + supported by the language of the page, because the invention of new types of objects is faster than standardized support for them appears in web languages. +
+
+ It is not appropriate to create objects with style and script when the host language provides a semantic element for that type of objects. While
+ WAI-ARIA can improve the accessibility of these objects, accessibility is best provided by allowing the user agent to handle the
+ object natively. For example, it is not better to use a div
element than it is to use a native heading element, such as an h1
.
+
+ It is expected that, over time, host languages will evolve to provide semantics for objects that currently can only be declared with this specification. This is natural and desirable, as one + goal of WAI-ARIA is to help stimulate the emergence of more semantic and accessible markup. When native semantics for a given + feature become available, it is appropriate for authors to use the native feature and stop using this module for that feature. Legacy content may continue to use the Graphics + WAI-ARIA module, however, so the need for user agents to support it remains.
- - -- Below is an alphabetical list of the - WAI-ARIA - roles defined in this specification. - They would normally be used in combination with other roles - defined in [[WAI-ARIA]] - to annotate graphics within documents and rich internet applications. +
+ While specific features of this module may lose importance over time, the general possibility of the Graphics WAI-ARIA module to + add semantics to web graphics or open web based standards, is expected to be a persistent need. Host languages may not implement all the semantics this module provides, and various host + languages may implement different subsets of the features. New types of objects are continually being developed, and one goal of this specification is to provide a way to make such objects + accessible, because authoring practices often advance faster than host language standards. In this way, this module and host languages both evolve together but at different rates. +
++ Some host languages exist to create semantics for features other than the user interface. For example, SVG expresses the semantics behind production of graphical objects, not of user + interface components that those objects may represent. Host languages such as these might, by design, not provide native semantics that map to this specification's features. In these cases, + the Graphics WAI-ARIA module could be adopted as a long-term approach to add semantic information to these host languages. +
++ Programmatic access to accessibility semantics is essential for assistive technologies. For more information, refer to the + Assistive Technologies section in [[!WAI-ARIA]]. +
++ This specification indicates whether a section is normative or informative. Classifying a section as normative or informative applies to the entire section. A statement "This + section is normative" or "This section is informative" applies to all sub-sections of that section.
- -Placeholder for compact list of roles
-A type of guide object, usually a comment, explaination or note.
-
+ Normative sections provide requirements that authors, user agents and assistive technologies MUST follow for an implementation to conform to 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.
+
+
+
+ Important Terms
+
+
+
+ Graphics Roles
+
+ This section defines additions to the
+ WAI-ARIA
+ role taxonomy and describes the characteristics and properties of all roles. See ARIA Roles for descriptions of the fields
+ provided by this module.
+
+
+ Authors are given the ability to influence what is presented to assistive technologies and to influence navigation through the use of roles and properties. With graphics, there are many cases
+ where presenting and navigating every element will make the graphic harder to understand and use. Authors may mark elements for non-visual exclusion by assigning the role none .
+ Graphics also have situations where the author intent is ambiguous and the use of the property aria-type should be used to clarify the situation.
+
+
+ If an author does not want a user agent to non-visually present an element and does not want the element included in navigaion then the element should be given a role of none . For
+ example, in the case an author does not want a chart's axis minor tick marks (tick lines without labels between tick marks with labels) presented to assistive technologies since the minor tick
+ marks would add significant noise without increasing comprehension, then the author should assign the minor tick marks the role of none .
+
+
+
+ User agents are expected to use the aria-gtype property for differentiating between graph features. Two elements with the same role and the same semanatic parent and both elements
+ having either no aria-gtype or the same aria-gtype are defined as being part of the same feature. Two elements with a the same role and the same semanatic parent but
+ differing aria-gtype
+ are defined as being two separate features.
+
+
+
+ Definition of Roles
+
+ Below is an alphabetical list of the
+ WAI-ARIA
+ roles defined in this specification. They would normally be used in combination with other roles defined in [[WAI-ARIA]] to annotate graphics within documents and rich
+ internet applications.
+
+
+ Placeholder for compact list of roles
+
+
+
+ graphics-annotation
+
+ A type of guide object, usually a comment, explaination or note.
+
+
<g role="graphics-annotation" font-family="Arial" text-anchor="middle" font-size="12" >
<text x="320" y="12.56" role="graphics-label">Sample map with two-level color coding.</text>
<text x="320" y="26.56" role="graphics-label">The basic hue is set by the region, a categorical variable.</text>
<text x="320" y="40.56" role="graphics-label">The color is then modified by a numeric variable. </text>
<text x="320" y="54.56" role="graphics-label">See the color aesthetics of the element for the general technique. </text>
</g>
-
-
-
-
-
-
-
- Characteristics:
-
-
- Characteristic
- Value
-
-
-
-
- Is Abstract:
-
-
-
- Superclass Role:
- graphics-guide
-
-
- Subclass Roles:
-
-
-
- Base Concept:
-
-
-
- Related Concepts:
- Text annotation
-
-
- Required Context Role:
-
-
-
- Required Owned Elements:
-
-
-
- Required States and Properties:
-
-
-
- Supported States and Properties:
- aria-gtype
-
-
- Inherited States and Properties:
-
-
-
- Name From:
- author
-
-
- Accessible Name Required:
- True
-
-
- Inherits Name Required:
-
-
-
- Children Presentational:
-
-
-
- Inherits Presentational:
-
-
-
- Implicit Value for Role:
-
-
-
-
-
-
-
-
- graphics-axis
-
- A scale often used with charts to show the scale of a dimension (variable).
- When a graph contains more than one axis, an author should distinguish between the
- axes by using
- the aria-gtype property. User agents will be expected to use the aria-gtype property
- when presenting information to a user and for differentiating between graph features. Two elements with a
- graphics-axis role with the same semanatic parent and no aria-gtype or the same aria-gtype are defined as being part of the same axis.
- Two elements with a graphics-axis role with the same semanatic parent but differing aria-gtype
- are defined as being two separate axes.
-
- Differentiating between axes using the aria-gtype can help users understand whether the axis is
- the x, y or z axis and help them understand which variable/data column is associated with the axis. Differentiating between
- axes using aria-gtype can also affect how keyboard users navigate through the axes. This level of control is
- provided to authors so they can convey and control how user agents perceive axes given the author may need to present mulitple y
- axis on opposite sides of the chart (ie left axis in inches, right axis in cm), clustered sets of axes, 3 or more dimension axes and aligned
- axes shared by two charts in the same visualization.
-
-
+
+
+
+
+
+
+
+ Characteristics:
+
+
+
+ Characteristic
+ Value
+
+
+
+
+ Is Abstract:
+
+
+
+ Superclass Role:
+ graphics-guide
+
+
+ Subclass Roles:
+
+
+
+ Base Concept:
+
+
+
+ Related Concepts:
+ Text annotation
+
+
+ Required Context Role:
+
+
+
+ Required Owned Elements:
+
+
+
+ Required States and Properties:
+
+
+
+ Supported States and Properties:
+ aria-gtype
+
+
+ Inherited States and Properties:
+
+
+
+ Name From:
+ author
+
+
+ Accessible Name Required:
+ True
+
+
+ Inherits Name Required:
+
+
+
+ Children Presentational:
+
+
+
+ Inherits Presentational:
+
+
+
+ Implicit Value for Role:
+
+
+
+
+
A scale often used with charts to show the scale of a dimension (variable).
+
+ When a graph contains more than one axis, an author should distinguish between the axes by using the
+ Differentiating between axes using the
<g transform="translate(57 29)" role="graphics-axis" aria-gtype="y" aria-labelledby="yt" font-family="Arial"> <path fill="none" d="m0 0v353"/> <text id="yt" x="176" y="-38" text-anchor="middle" font-weight="bold" transform="matrix(0-1 1 0 0 353)" >Sales @@ -416,202 +480,212 @@-Definition of Roles
</g> </g> </g> -
Characteristic | -Value | -
---|---|
Is Abstract: | -- |
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -Chart axes | -
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
-
|
-
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -- |
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
A visible axis tick label.
- -++
Characteristic | +Value | +
---|---|
Is Abstract: | ++ |
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | +Chart axes | +
Related Concepts: | ++ |
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | +
+
|
+
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | ++ |
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
A visible axis tick label.
+ +<text x="-7.667" y="215.86" role="graphics-axistick">200</text> --
Characteristic | -Value | -
---|---|
Is Abstract: | -- |
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -Chart axes | -
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
-
|
-
Inherited States and Properties: | -- |
Name From: | -content | -
Accessible Name Required: | -False | -
Inherits Name Required: | -- |
Children Presentational: | -True | -
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
A semantic
For example, the group containing the graphics-datagroup
.
For example, in a stacked bar chart, the group containing all the stacks should have a role of graphics-datagroup
- since the group represents the data feature of the chart.
- Each group containing a stack of bars should have a role of graphics-datagroup
as they represent a semantic object which can contain
- data related information like the sum for the stack.
For example, in a pie chart the group containing all the pie wedges should have the role graphics-datagroup
as it represents the data feature of the chart. However,
- if the group containing all the pie wedges, has two child groups that are only there for style inheirtance, for instance to convey text anchor position to their
- children,
- then the two child groups are not semantic groups and should have a role of
++
Characteristic | +Value | +
---|---|
Is Abstract: | ++ |
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | +Chart axes | +
Related Concepts: | ++ |
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | +
+
|
+
Inherited States and Properties: | ++ |
Name From: | +content | +
Accessible Name Required: | +False | +
Inherits Name Required: | ++ |
Children Presentational: | +True | +
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
A semantic
+ For example, the group containing the graphics-datagroup
.
+
+ For example, in a stacked bar chart, the group containing all the stacks should have a role of graphics-datagroup
since the group represents the data feature of the chart.
+ Each group containing a stack of bars should have a role of graphics-datagroup
as they represent a semantic object which can contain data related information like the sum
+ for the stack.
+
+ For example, in a pie chart the group containing all the pie wedges should have the role graphics-datagroup
as it represents the data feature of the chart. However, if the
+ group containing all the pie wedges, has two child groups that are only there for style inheirtance, for instance to convey text anchor position to their children, then the two child
+ groups are not semantic groups and should have a role of
<g role="graphics-datagroup"> <path d="m72.5 50.936h9v26.07h-9z" aria-label="270,000 shares traded on 7/28/80" role="graphics-dataitem" aria-setsize='4' aria-posinset='1' > @@ -630,318 +704,319 @@-Definition of Roles
<title>630,000 shares traded on 7/31/80</title> </path> </g> -
Characteristic | -Value | -
---|---|
Is Abstract: | -False | -
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -|
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
-
|
-
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -- |
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
An object that represents a single data row or a single data entity. A graphics-dataitem
may be further split into child components if needed.
- For example, a graphics-dataitem
for a box and whisker plot may contain the components of the box and whisker (fence, box, median) and each of the components would
- be a graphics-dataitem
. A set of graphics-dataitem
may be ordered. If ordered,
The role graphics-dataitem
is usually associated with charts, graphs, infographics and data visualizations.
- Other domains like technical drawings may prefer using the role
++
Characteristic | +Value | +
---|---|
Is Abstract: | +False | +
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | ++ |
Related Concepts: | +|
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | +
+
|
+
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | ++ |
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
+ An object that represents a single data row or a single data entity. A graphics-dataitem
may be further split into child components if needed. For example, a
+ graphics-dataitem
for a box and whisker plot may contain the components of the box and whisker (fence, box, median) and each of the components would be a
+ graphics-dataitem
. A set of graphics-dataitem
may be ordered. If ordered,
+ The role graphics-dataitem
is usually associated with charts, graphs, infographics and data visualizations. Other domains like technical drawings may prefer using the role
+
<path d="m188 15.01h9v61.995h-9z" aria-label="630,000 shares traded on 7/31/80" role="graphics-dataitem"> <title>630,000 shares traded on 7/31/80</title> </path> --
Characteristic | -Value | -
---|---|
Is Abstract: | -False | -
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -
|
-
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
-
|
-
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -- |
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
A line that defines the length of an object.
- -Characteristic | -Value | -
---|---|
Is Abstract: | -False | -
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -dimension line | -
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
- |
-
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -- |
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
- A graphics document contains complex content
- that a user should be able to explore.
- Similar to
-
- Accessibility technologies that re-format a document
- should avoid altering the layout of a graphical document.
- For this reason, authors should limit the graphical document role
- to regions for which layout has semantic meaning.
- A collection of distinct graphics that can be re-arranged
- without losing meaning
- could instead be described as a
- Future specifications are expected to define - sub-classes of this role - for particular types of graphical documents, - such as charts or maps. -
-- The editors have not finalized the name for this role. -
-
- To support user agents and assistive technologies
- based on the ARIA 1.0 specification,
- authors may wish to include the role="graphics-document document"
.
-
+ -->
Characteristic | +Value | +
---|---|
Is Abstract: | +False | +
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | ++ |
Related Concepts: | +dimension line | +
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | +
+ |
+
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | ++ |
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
+ A graphics document contains complex content that a user should be able to explore. Similar to
+ Accessibility technologies that re-format a document should avoid altering the layout of a graphical document. For this reason, authors should limit the graphical document role to
+ regions for which layout has semantic meaning. A collection of distinct graphics that can be re-arranged without losing meaning could instead be described as a
+
Future specifications are expected to define sub-classes of this role for particular types of graphical documents, such as charts or maps.
+The editors have not finalized the name for this role.
+
+ To support user agents and assistive technologies based on the ARIA 1.0 specification, authors may wish to include the role="graphics-document document"
.
+
<!-- An SVG diagram of an electrical circuit --> <svg xmlns="http://www.w3.org/2000/svg" width="400" height="200" viewBox="0 0 200 100" @@ -972,125 +1047,109 @@-Definition of Roles
Characteristic | -Value | -
---|---|
Is Abstract: | -- |
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -- |
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -False | -
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
- A distinct perceivable
- A figure often has a visible caption. - It may be referenced from the surrounding text - using a hyperlink or a numbered label. - Figures will often contain graphical content. - However, other content types - with a similar position in the document structure, - such as labelled code samples or audio elements, - would also be figures. - Figures may be nested, - if the nested figures are also likely - to be referenced as discrete units within the page. -
-- The semantics of this role are intended to mirror - the native semantics of the - figure - element in [[HTML5]]. - It is expected that future versions of HTML - will make this the default semantic role for that element. -
-
- To support user agents and assistive technologies
- based on the ARIA 1.0 specification,
- authors may wish to include the role="graphics-figure region"
.
-
+
Characteristic | +Value | +
---|---|
Is Abstract: | ++ |
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | ++ |
Related Concepts: | ++ |
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | ++ |
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | +False | +
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
+ A distinct perceivable
+ A figure often has a visible caption. It may be referenced from the surrounding text using a hyperlink or a numbered label. Figures will often contain graphical content. However, other + content types with a similar position in the document structure, such as labelled code samples or audio elements, would also be figures. Figures may be nested, if the nested figures are + also likely to be referenced as discrete units within the page. +
++ The semantics of this role are intended to mirror the native semantics of the + figure + element in [[HTML5]]. It is expected that future versions of HTML will make this the default semantic role for that element. +
+
+ To support user agents and assistive technologies based on the ARIA 1.0 specification, authors may wish to include the role="graphics-figure region"
.
+
<!-- Within an HTML 5 document --> <p><a href="#fig1">Figure 1</a> outlines the basic shape elements available in SVG. As shown in 1(d), a rectangle element @@ -1119,565 +1178,568 @@-Definition of Roles
Characteristic | -Value | -
---|---|
Is Abstract: | -- |
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- HTML figure | -
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -- |
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -False | -
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
A edge (connector) connects two data items, and may have a from/to relationship. - A edge may form a loop, that is the from and to may be the same item. graphics-edge - is the default role for the connector element.
-- This role won't appear in the final spec and is temporarily here for completeness during discussions. This role is tied to - the connector element, which won't make it into SVG 2. -
- - -Characteristic | -Value | -
---|---|
Is Abstract: | -False | -
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -SVG Connector | -
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
- |
-
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -- |
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
A network of lines representing the earth's parallels of latitude and meridians of longitude.
- +Characteristic | +Value | +
---|---|
Is Abstract: | +False | +
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | +SVG Connector | +
Related Concepts: | ++ |
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | +
+ |
+
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | ++ |
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
A network of lines representing the earth's parallels of latitude and meridians of longitude.
+ -Characteristic | -Value | -
---|---|
Is Abstract: | -False | -
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
- |
-
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -- |
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
A network of lines of constant value, usually associated with a value on an axis.
-Characteristic | +Value | +
---|---|
Is Abstract: | +False | +
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | ++ |
Related Concepts: | ++ |
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | +
+ |
+
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | ++ |
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
A network of lines of constant value, usually associated with a value on an axis.
+ -Characteristic | -Value | -
---|---|
Is Abstract: | -False | -
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
- |
-
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -- |
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
A guide object used to help interpret the graphic.
- Even though there are several subclasses of graphics-guide
,
- graphics-guide
is not an abstract role as there are situations where a subclass doesn't
- meet the authors need. When graphics-guide
is used
- the
Characteristic | +Value | +
---|---|
Is Abstract: | +False | +
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | ++ |
Related Concepts: | ++ |
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | +
+ |
+
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | ++ |
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
A guide object used to help interpret the graphic.
+
+ Even though there are several subclasses of graphics-guide
, graphics-guide
is not an abstract role as there are situations where a subclass doesn't meet the
+ authors need. When graphics-guide
is used the
- The preceeding paragraph is dependent on - aria-roledescription being incorporated - into the ARIA 1.1 specification. -
-Characteristic | -Value | -
---|---|
Is Abstract: | -False | -
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
- |
-
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -- |
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
A visible label.
-If the author does not want the user to be able to navigate to the label, they should have
- labeled object's
+The preceeding paragraph is dependent on aria-roledescription being incorporated into the ARIA 1.1 specification.
+
Characteristic | +Value | +
---|---|
Is Abstract: | +False | +
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | ++ |
Related Concepts: | ++ |
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | +
+ |
+
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | ++ |
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
A visible label.
+
+ If the author does not want the user to be able to navigate to the label, they should have labeled object's
<text x="-7.667" y="215.86" role="graphics-label">200</text> --
Characteristic | -Value | -
---|---|
Is Abstract: | -False | -
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
- |
-
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -True | -
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
A scale for data representation, commonly used on charts, maps, instructional drawings and the like. Legends may show any chart aesthetic (color, size, symbol, size, etc).
-
+
+ Characteristic | +Value | +
---|---|
Is Abstract: | +False | +
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | ++ |
Related Concepts: | ++ |
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | +
+ |
+
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | +True | +
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
A scale for data representation, commonly used on charts, maps, instructional drawings and the like. Legends may show any chart aesthetic (color, size, symbol, size, etc).
+
<g transform="translate(100)" role="graphics-legend" font-size="12" font-family="Arial,SanSerif" fill="transparent">
<path stroke-width="1" d="m0 0h40v144h-40z"/>
<path d="m16.5 1.5h7v14h-7z"/>
@@ -1706,142 +1768,131 @@ Definition of Roles
</g>
</g>
-
-
- Characteristic | -Value | -
---|---|
Is Abstract: | -False | -
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
- |
-
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -- |
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
- A section of a graphical document
- that represents a cohesive item or object
- with component parts the user may wish to explore.
- It is in contrast to a
- The editors have not finalized the name for this role. -
-
- To support user agents and assistive technologies
- based on the ARIA 1.0 specification,
- authors may wish to include the role="graphics-object group"
.
-
++ +
Characteristic | +Value | +
---|---|
Is Abstract: | +False | +
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | ++ |
Related Concepts: | ++ |
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | +
+ |
+
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | ++ |
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
+ A section of a graphical document that represents a cohesive item or object with component parts the user may wish to explore. It is in contrast to a
The editors have not finalized the name for this role.
+
+ To support user agents and assistive technologies based on the ARIA 1.0 specification, authors may wish to include the role="graphics-object group"
.
+
<g role="graphics-object group" aria-labelledby="house-label" transform="translate(100,325)"> @@ -1918,233 +1969,213 @@-Definition of Roles
Characteristic | -Value | -||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Is Abstract: | -- | ||||||||||||||||||||||||||||||||||
Superclass Role: | -|||||||||||||||||||||||||||||||||||
Subclass Roles: | -- | ||||||||||||||||||||||||||||||||||
Base Concept: | -- | ||||||||||||||||||||||||||||||||||
Related Concepts: | -
-
- - -
-
- A type of guide object, usually a reference for measuring. - Even though there are several subclasses of |
+ ||||||||||||||||||||||||||||||||||
Required Context Role: | ++ | ||||||||||||||||||||||||||||||||||
Required Owned Elements: | ++ | ||||||||||||||||||||||||||||||||||
Required States and Properties: | ++ | ||||||||||||||||||||||||||||||||||
Supported States and Properties: | ++ | ||||||||||||||||||||||||||||||||||
Inherited States and Properties: | ++ | ||||||||||||||||||||||||||||||||||
Name From: | +
+
|
+ ||||||||||||||||||||||||||||||||||
Accessible Name Required: | +False | +||||||||||||||||||||||||||||||||||
Inherits Name Required: | ++ | ||||||||||||||||||||||||||||||||||
Children Presentational: | +False | +||||||||||||||||||||||||||||||||||
Inherits Presentational: | ++ | ||||||||||||||||||||||||||||||||||
Implicit Value for Role: | ++ |
- The preceeding paragraph is dependent on - aria-roledescription being incorporated - into the ARIA 1.1 specification. -
- - -Characteristic | -Value | -
---|---|
Is Abstract: | -False | -
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -
- |
-
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -- |
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
- A graphic used to convey a simple meaning or category, - where the meaning is more important - than the particular visual appearance. - It may be a component of a larger structured graphic - such as a chart or map. - The symbol itself is an atomic object; - children are presentational. -
-
- When used as part of a structured symbolic language,
- the
- The preceeding paragraph is dependent on - aria-roledescription being incorporated - into the ARIA 1.1 specification. -
-
- To support user agents and assistive technologies
- based on the ARIA 1.0 specification,
- authors may wish to include the role="graphics-symbol img"
,
- if that is not already the default semantic role for the element.
-
+
Characteristic | +Value | +
---|---|
Is Abstract: | +False | +
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | ++ |
Related Concepts: | ++ |
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | +
+ |
+
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | ++ |
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
+ A graphic used to convey a simple meaning or category, where the meaning is more important than the particular visual appearance. It may be a component of a larger structured graphic + such as a chart or map. The symbol itself is an atomic object; children are presentational. +
+
+ When used as part of a structured symbolic language, the
The preceeding paragraph is dependent on aria-roledescription being incorporated into the ARIA 1.1 specification.
+
+ To support user agents and assistive technologies based on the ARIA 1.0 specification, authors may wish to include the role="graphics-symbol img"
, if that is not already the default semantic role for the element.
+
<!-- Within an HTML document listing a restaurant menu --> <h2>Appetizers</h2> <ul> @@ -2157,8 +2188,9 @@-Definition of Roles
</li> <!-- … --> </ul> -
++
<!-- Within an SVG diagram of an electrical circuit --> <g id="lightbulb-1" role="graphics-symbol img" aria-roledescription="load" @@ -2175,7 +2207,7 @@-Definition of Roles
+<!-- Within an architectural blueprint-style SVG diagram --> <g role="graphics-symbol img"> <title>Door</title> @@ -2195,217 +2227,196 @@- -Definition of Roles
Characteristic | -Value | -
---|---|
Is Abstract: | -- |
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -symbol | -
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -- |
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -True | -
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
Something defined or marked by an instant of time or time interval.
- -Characteristic | -Value | -
---|---|
Is Abstract: | -False | -
Superclass Role: | -|
Subclass Roles: | -- |
Base Concept: | -- |
Related Concepts: | -- |
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -- |
Inherited States and Properties: | -- |
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -- |
Inherits Presentational: | -- |
Implicit Value for Role: | -- |
- The definitive role definition for img is
The use of img
can contain
- multiple drawing objects or image files
- that when viewed together give the impression of a single image.
- However, an img
represents an indivisible component
- within a document for navigation purposes.
- If the child elements are arranged
- in a semantically rich structure
- that users may wish to navigate through,
- authors should use a
- The element with the img
role
- may also contain captions and descriptive text within child elements,
- if those elements participate in
- the accessible name or description calculation for that element.
- To ensure that elements with a role of img
- are perceivable,
- authors MUST provide alternative text or a label
- determined by the accessible name calculation.
- Authors SHOULD also provide an accessible description
- that conveys the complete meaning of the image.
- If the image is purely symbolic,
- and the visual details are not relevant,
- the
- The img
role was first defined in ARIA 1.0.
- This specification modifies that definition
- in a backwards-compatible way,
- to clarify the distinction between images
- and other graphical roles.
-
+ -->
Characteristic | +Value | +
---|---|
Is Abstract: | +False | +
Superclass Role: | +|
Subclass Roles: | ++ |
Base Concept: | ++ |
Related Concepts: | ++ |
Required Context Role: | ++ |
Required Owned Elements: | ++ |
Required States and Properties: | ++ |
Supported States and Properties: | ++ |
Inherited States and Properties: | ++ |
Name From: | +author | +
Accessible Name Required: | +True | +
Inherits Name Required: | ++ |
Children Presentational: | ++ |
Inherits Presentational: | ++ |
Implicit Value for Role: | ++ |
The definitive role definition for img is
+ The use of img
can contain
+ multiple drawing objects or image files that when viewed together give the impression of a single image. However, an img
represents an indivisible
+ component within a document for navigation purposes. If the child elements are arranged in a semantically rich structure that users may wish to navigate through, authors should use a
+
+ The element with the img
role may also contain captions and descriptive text within child elements, if those elements participate in the accessible name or description
+ calculation for that element. To ensure that elements with a role of img
are perceivable, authors MUST provide alternative text or a label determined by the
+ accessible name calculation. Authors SHOULD also provide an accessible description that conveys the complete meaning of the image. If the image is purely
+ symbolic, and the visual details are not relevant, the
+ The img
role was first defined in ARIA 1.0. This specification modifies that definition in a backwards-compatible way, to clarify the distinction between images and other
+ graphical roles.
+
<!-- Within an HTML 5 document, an inline SVG may sometimes represent an atomic img --> <p>A repeating SVG gradient is defined using the @@ -2430,7 +2441,7 @@-Definition of Roles
+<!-- Within the fallback DOM dynamically constructed for an HTML 5 canvas game, elements may represent the different images @@ -2451,203 +2462,217 @@-Definition of Roles
</p> <!-- more DOM elements representing game controls --> </canvas> -
Characteristic | -Value | -
---|---|
Is Abstract: | -- |
Superclass Role: | -|
Subclass Roles: | -Placeholder | -
Base Concept: | -- |
Related Concepts: | -
-
|
-
Required Context Role: | -- |
Required Owned Elements: | -- |
Required States and Properties: | -- |
Supported States and Properties: | -- |
Inherited States and Properties: | -Placeholder | -
Name From: | -author | -
Accessible Name Required: | -True | -
Inherits Name Required: | -- |
Children Presentational: | -True | -
Inherits Presentational: | -- |
WAI-ARIA provides a collection of accessibility state and properties which are used to support platform accessibility APIs on various - operating system platforms. Assistive technologies may access this information through an exposed user agent DOM or through a mapping - to the platform accessibility API. When combined with roles, the user agent can supply the assistive technologies with user interface - information to convey to the user at any time. Changes in states or properties will result in a notification to assistive technologies, - which could alert the user that a change has occurred.
-Assistive technology may use
Below is a list of properties that can be used with graphics roles. A detailed definition of each state and property - follows this compact list.
-Placeholder for index of states and properties
-A list of categories.
-Characteristic | -Value | -
---|---|
Related Concepts: | -- |
Used in Roles: | -Placeholder | -
Inherits into Roles: | -Placeholder | -
Value: | -string | -
A differentiator for graphics features with the same role and semantic parent.
-Characteristic | -Value | -
---|---|
Related Concepts: | -- |
Used in Roles: | -Placeholder | -
Inherits into Roles: | -Placeholder | -
Value: | -string | -
The HTML Working Group has incorporated the WAI-ARIA attributes into HTML 5. Official support for WAI-ARIA in HTML is provided in that specification.
-Validation support for the roles defined in this module will be added once the specification reaches recommendation.
-For information on incorporating WAI-ARIA into other grammars, refer to Appendix A of [[!WAI-ARIA]]
-Review whether any additional schemata are necessary for this module.
-A detailed history of changes committed is available from the github repository for this document. When drafts of this document begin to stabilise, human-readable change logs will be incorporated.
- -The following table provides a quick reference to the supported states and properties for all WAI-ARIA roles that may be used in markup.
-In addition to the states and properties shown in the table, the following global states and properties are supported on all roles.
-Placeholder for global states and properties
-Placeholder for quick reference table
-The following people contributed to the development of this document.
-The following table provides a quick reference to the supported states and properties for all WAI-ARIA roles that may be used in markup.
+In addition to the states and properties shown in the table, the following global states and properties are supported on all roles.
+Placeholder for global states and properties
+Placeholder for quick reference table
+The following people contributed to the development of this document.
+