Skip to content

Commit df5d60a

Browse files
authored
Merge pull request #2504 from w3c/htmlaam-571
Fix incorrect role specified for html element - 571
2 parents 3c5c393 + af4cdc1 commit df5d60a

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

html-aam/index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2977,7 +2977,7 @@ <h4 id="el-html">`html`</h4>
29772977
</tr>
29782978
<tr>
29792979
<th>[[wai-aria-1.2]]</th>
2980-
<td><a class="core-mapping" href="#role-map-document">`document`</a> role</td>
2980+
<td><a class="core-mapping" href="#role-map-generic">`generic`</a> role</td>
29812981
</tr>
29822982
<tr>
29832983
<th><a data-cite="core-aam-1.2/#roleMappingComputedRole">Computed Role</a></th>
@@ -3012,7 +3012,10 @@ <h4 id="el-html">`html`</h4>
30123012
<!-- <th><a href="#accessible-name-and-description-computation">Naming Algorithm</a></th> -->
30133013
<tr>
30143014
<th>Comments</th>
3015-
<td>User agents MUST ignore the `aria-hidden` attribute if specified on the `html` element.</td>
3015+
<td>
3016+
<p>User agents MUST ignore the `aria-hidden` attribute if specified on the `html` element.</p>
3017+
<p class="note">The `document` role of a web page is not exposed by the `html` element, but rather from a parent `document node` created by the user agent.</p>
3018+
</td>
30163019
</tr>
30173020
</tbody>
30183021
</table>

index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14020,9 +14020,9 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
1402014020
<code>aria-hidden</code> attribute value set to <code>true</code>.
1402114021
</p>
1402214022
<p>
14023-
Authors MUST NOT use <code>aria-hidden</code> to hide the root element or the host language element that <a data-cite="html/dom.html#represents">represents</a> the contents of the
14024-
primary document in view. For instance, the <code>html</code> or <code>body</code> elements in an HTML document. Authors MAY, with caution, use <code>aria-hidden</code> to hide visibly
14025-
rendered content from assistive technologies <em>only</em> if the act of hiding this content is intended to improve the experience for users of assistive technologies by removing
14023+
Authors MUST NOT use <code>aria-hidden</code> to hide the root element or the host language element that <a data-cite="html/dom.html#represents">represents</a> or contains the contents
14024+
of the primary document in view. For instance, the <code>html</code> or <code>body</code> elements in an HTML document. Authors MAY, with caution, use <code>aria-hidden</code> to hide
14025+
visibly rendered content from assistive technologies <em>only</em> if the act of hiding this content is intended to improve the experience for users of assistive technologies by removing
1402614026
redundant or extraneous content. Authors using <code>aria-hidden</code> to hide visible content from screen readers MUST ensure that identical or equivalent meaning and functionality is
1402714027
exposed to assistive technologies.
1402814028
</p>
@@ -14042,10 +14042,10 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
1404214042
</p>
1404314043
<p>
1404414044
To prevent authors erroneously hiding entire window-rendered documents only to those using assistive technology, user agents MUST NOT expose the hidden state to assistive technologies if
14045-
it is specified on the root element or the host language element that <a data-cite="html/dom.html#represents">represents</a> the contents of the primary document in view. For instance,
14046-
the <code>html</code> or <code>body</code> elements in an HTML document, or the root <code>svg</code> element if it is rendered as its own primary document in the browser window. If
14047-
authors were to specify <code>aria-hidden="true"</code> on the opening tag for an embedded document, for instance on a <code>math</code> or <code>svg</code> embedded within an HTML
14048-
document, user agents would still be expected to hide these elements from assistive technologies.
14045+
it is specified on the root element or the host language element that <a data-cite="html/dom.html#represents">represents</a> or contains the contents of the primary document in view. For
14046+
instance, the <code>html</code> or <code>body</code> elements in an HTML document, or the root <code>svg</code> element if it is rendered as its own primary document in the browser
14047+
window. If authors were to specify <code>aria-hidden="true"</code> on the opening tag for an embedded document, for instance on a <code>math</code> or <code>svg</code> embedded within an
14048+
HTML document, user agents would still be expected to hide these elements from assistive technologies.
1404914049
</p>
1405014050
</div>
1405114051
<table class="def">

0 commit comments

Comments
 (0)