Skip to content

Commit f138256

Browse files
committed
Review tweaks
- WAI-ARIA in non-bilbio -> ARIA - Explain default ~ native ~ implicit ~ host language in a note - Single quotes - Map is initially empty
1 parent c18ef3c commit f138256

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

source

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12837,7 +12837,7 @@ interface <dfn>DOMStringMap</dfn> {
1283712837

1283812838
<p>User agent requirements for implementing Accessibility API semantics on <span>HTML
1283912839
elements</span> are defined in <cite>HTML Accessibility API Mappings</cite>. In addition to the
12840-
rules there, for a <span>custom element</span> <var>element</var>, the default WAI-ARIA role
12840+
rules there, for a <span>custom element</span> <var>element</var>, the default ARIA role
1284112841
semantics are determined as follows: <ref spec=HTMLAAM></p>
1284212842

1284312843
<ol>
@@ -12850,7 +12850,7 @@ interface <dfn>DOMStringMap</dfn> {
1285012850
<li><p>Otherwise, return no role.</p></li>
1285112851
</ol>
1285212852

12853-
<p>Similarly, for a <span>custom element</span> <var>element</var>, the default WAI-ARIA state and
12853+
<p>Similarly, for a <span>custom element</span> <var>element</var>, the default ARIA state and
1285412854
property semantics, for a state or property named <var>stateOrProperty</var>, are determined as
1285512855
follows:</p>
1285612856

@@ -12864,6 +12864,9 @@ interface <dfn>DOMStringMap</dfn> {
1286412864
<li><p>Otherwise, return the default value for <var>stateOrProperty</var>.</p></li>
1286512865
</ol>
1286612866

12867+
<p class="note">The "default semantics" referred to here are sometimes also called "native",
12868+
"implicit", or "host language" semantics in <cite>ARIA</cite>. <ref spec=ARIA></p>
12869+
1286712870
<p>For an example of this in action, see <a href="#custom-elements-accessibility-example">the
1286812871
custom elements section</a>.</p>
1286912872

@@ -66500,7 +66503,7 @@ customElements.define('my-checkbox', MyCheckbox);</code></pre>
6650066503
this._checked = false;
6650166504
this.addEventListener('click', this._onClick.bind(this));
6650266505

66503-
<mark> this._internals.role = "checkbox";
66506+
<mark> this._internals.role = 'checkbox';
6650466507
this._internals.ariaChecked = false;</mark>
6650566508
}
6650666509

@@ -68401,9 +68404,9 @@ dictionary <dfn>ValidityStateFlags</dfn> {
6840168404
<div w-nodev>
6840268405

6840368406
<p>Each <span>custom element</span> has a <dfn>native accessibility semantics map</dfn>, which is
68404-
a <span>map</span>. See the <a href="#wai-aria">Requirements related to ARIA and to platform
68405-
accessibility APIs</a> section for information on how this impacts platform accessibility
68406-
APIs.</p>
68407+
a <span>map</span>, initially empty. See the <a href="#wai-aria">Requirements related to ARIA and
68408+
to platform accessibility APIs</a> section for information on how this impacts platform
68409+
accessibility APIs.</p>
6840768410

6840868411
<p><code>ElementInternals</code> includes the <code>AccessibilityMixin</code> mixin. The IDL
6840968412
attributes provided by this mixin are used to manipulate the <span

0 commit comments

Comments
 (0)