Skip to content

Commit e88317c

Browse files
jnurthenscottaoharapkra
authored
Restrict aria-owns on roles with children presentational (#1812)
Co-authored-by: Scott O'Hara <[email protected]> Co-authored-by: Peter Krautzberger <[email protected]>
1 parent 4d5d364 commit e88317c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -706,6 +706,7 @@ <h3>Presentational Children</h3>
706706
</dd>
707707
</dl>
708708
<p>The <abbr title="Document Object Model">DOM</abbr> descendants are presentational. [=user agents=] SHOULD NOT expose descendants of this <a>element</a> through the platform <a>accessibility <abbr title="Application Programing Interface">API</abbr></a>. If [=user agents=] do not hide the descendant nodes, some information might be read twice.</p>
709+
<p>Authors MUST NOT specify <pref>aria-owns</pref> on an element which has Presentational Children.</p>
709710
</section>
710711
<section id="implictValueForRole">
711712
<h3>Implicit Value for Role</h3>
@@ -12173,6 +12174,7 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
1217312174
<p>The value of the <pref>aria-owns</pref> <a>attribute</a> is a space-separated ID reference list that references one or more elements in the document by ID. The reason for adding <pref>aria-owns</pref> is to expose a parent/child contextual relationship to <a>assistive technologies</a> that is otherwise impossible to infer from the <abbr title="Document Object Model">DOM</abbr>.</p>
1217412175
<p>If an element has both <pref>aria-owns</pref> and <abbr title="Document Object Model">DOM</abbr> children then the order of the child elements with respect to the parent/child relationship is the <abbr title="Document Object Model">DOM</abbr> children first, then the elements referenced in <pref>aria-owns</pref>. If the author intends that the <abbr title="Document Object Model">DOM</abbr> children are not first, then list the DOM children in <pref>aria-owns</pref> in the desired order. Authors SHOULD NOT use <pref>aria-owns</pref> as a replacement for the <abbr title="Document Object Model">DOM</abbr> hierarchy. If the relationship is represented in the DOM, do not use <pref>aria-owns</pref>.</p>
1217512176
<p>Authors MUST ensure that an element's ID is not specified in more than one other element's <pref>aria-owns</pref> attribute at any time. In other words, an element can have only one explicit owner. Authors MUST NOT create circular references with <pref>aria-owns</pref>. In the case of authoring error with <pref>aria-owns</pref>, the user agent MAY ignore some <pref>aria-owns</pref> element references in order to build a consistent model of the content.</p>
12177+
<p>Authors MUST NOT specify <pref>aria-owns</pref> on an element which has <a href="#childrenArePresentational">Presentational Children</a>.</p>
1217612178
</div>
1217712179
<table class="property-features">
1217812180
<caption>Characteristics:</caption>

0 commit comments

Comments
 (0)