@@ -5547,9 +5599,9 @@ math
If a rendering engine does not support a native math format such as MathML, authors MAY use JavaScript to downgrade the content to a format the browser can display, such as this HTML image using a data URI and plain text alternative.
-
+
<img role="math" src="..." alt="x=⟮−b±√⟮b²−4ac⟯⟯÷2a">
@@ -6623,9 +6675,9 @@
For any element with a role of presentation and which is not focusable, the user agent MUST NOT expose the implicit native semantics of the element (the role and its states and properties) to accessibility APIs. However, the user agent MUST expose content and descendant elements that do not have an explicit or inherited role of presentation. Thus, the presentation
role causes a given element to be treated as having no role or to be removed from the accessibility tree, but does not cause the content contained within the element to be removed from the accessibility tree.
For example, the following two markup snippets will be exposed similarly to an accessibility API.
-
+
<h1 role="presentation"> Sample Content <a href="...">let's go!</a> </h1>
@@ -6638,9 +6690,9 @@
For any element with an explicit or inherited role of presentation and which is not focusable, user agents MUST ignore role-specific WAI-ARIA states and properties for that element. For example, in HTML, a ul
or ol
element with a role of presentation
will have the implicit native semantics of its li
elements removed because the list
role to which the ul
or ol
corresponds has a required owned element of listitem
. Likewise, the implicit native semantics of an HTML table
element's thead
/tbody
/tfoot
/tr
/th
/td
descendants will also be removed, because the HTML specification indicates that these are required structural descendants of the table
element.
Note
Only the implicit native semantics of elements that correspond to WAI-ARIA required owned elements are removed. All other content remains intact, including nested tables or lists, unless those elements also have an explicit role of presentation
specified.
For example, according to an accessibility API, the following markup elements would appear to have identical role semantics (no roles) and identical content.
-
+
<ul role="presentation">
<li> Sample Content </li>
@@ -6657,18 +6709,18 @@
For any element with an explicit or inherited role of presentation
, user agents MUST apply an inherited role of presentation
to all host-language-specific labeling elements for the presentational element. For example, a table
element with a role of presentation
will have the implicit native semantics of its caption
element removed, because the caption is merely a label for the presentational table.
Authors SHOULD NOT provide meaningful alternative text (for example, use alt=""
in HTML) when the presentation
role is applied to an image.
In the following code sample, the containing img
and is appropriately labeled by the caption paragraph. In this example the img
element can be marked as presentation because the role and the text alternatives are provided by the containing element.
-
+
<div role="img" aria-labelledby="caption">
<img src="example.png" role="presentation" alt="">
<p id="caption">A visible text caption labeling the image.</p>
</div>
In the following code sample, because the anchor (HTML a
element) is acting as the treeitem, the list item (HTML li
element) is assigned an explicit WAI-ARIA role of presentation to override the user agent's implicit native semantics for list items.
-
+
<ul role="tree">
<li role="presentation">
<a role="treeitem" aria-expanded="true">An expanded tree node</a>
@@ -8761,9 +8813,9 @@
Authors MUST ensure that a suggestion
contains either one insertion
child or one deletion
child or ensure that it contains two children where one is an insertion
and the other is a deletion
. Authors MUST ensure a suggestion
does not contain any other children.
Authors MAY use aria-details
or aria-description
to associate the suggestion
with related information such as comments, authoring info, and time stamps.
-
+
<p>
The best pet is a
<span role="suggestion">
@@ -9583,8 +9635,8 @@ time
An element that represents a specific point in time.
Note
At the present time, there are no WAI-ARIA properties corresponding to the datetime
attribute supported on <time>
in [HTML]. The addition of this property will be considered for ARIA version 1.3.
Authors SHOULD limit text contents to a valid date- or time-related string, or apply this future datetime
-equivalent property to the element which has role time
.
-