Skip to content

Commit 7e55e37

Browse files
committed
Trim whitespaces
1 parent bd03476 commit 7e55e37

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

index.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6013,7 +6013,7 @@ <h5>Note regarding the ARIA 1.1 <code>none</code> role.</h5>
60136013
<p>In certain conditions, a user agent MAY provide an implicit value for <sref>aria-selected</sref> for each <rref>option</rref> in a <rref>listbox</rref>, and if it does, the user agent MUST ensure the following conditions are met before providing an implicit value:</p>
60146014
<ul>
60156015
<li>The value of <pref>aria-multiselectable</pref> on the <rref>listbox</rref> is <code>false</code> or <code>undefined</code>.</li>
6016-
<li>None of the <rref>option</rref> elements in the <rref>listbox</rref> have an explicitly declared value for <sref>aria-selected</sref> or <sref>aria-checked</sref>.</li>
6016+
<li>None of the <rref>option</rref> elements in the <rref>listbox</rref> have an explicitly declared value for <sref>aria-selected</sref> or <sref>aria-checked</sref>.</li>
60176017
</ul>
60186018
<p>
60196019
If a user agent provides an implicit <sref>aria-selected</sref> value for an <rref>option</rref>, the value SHOULD be <code>true</code> if the <rref>option</rref> has DOM focus or the <rref>listbox</rref> has DOM focus and the <rref>option</rref> is referenced by <pref>aria-activedescendant</pref>.
@@ -8704,7 +8704,7 @@ <h5>Note regarding the ARIA 1.1 <rref>none</rref> role.</h5>
87048704
<p>In certain conditions, a user agent MAY provide an implicit value for <sref>aria-selected</sref> for each <rref>tab</rref> in a <rref>tablist</rref>, and if it does, the user agent MUST ensure the following conditions are met before providing an implicit value:</p>
87058705
<ul>
87068706
<li>The value of <pref>aria-multiselectable</pref> on the <rref>tablist</rref> is <code>false</code> or <code>undefined</code>.</li>
8707-
<li>None of the <rref>tab</rref> elements in the <rref>tablist</rref> have an explicitly declared value for <sref>aria-selected</sref> or <sref>aria-expanded</sref>.</li>
8707+
<li>None of the <rref>tab</rref> elements in the <rref>tablist</rref> have an explicitly declared value for <sref>aria-selected</sref> or <sref>aria-expanded</sref>.</li>
87088708
</ul>
87098709
</div>
87108710
<table class="role-features">
@@ -9917,7 +9917,7 @@ <h5>Note regarding the ARIA 1.1 <rref>none</rref> role.</h5>
99179917
<p>In certain conditions, a user agent MAY provide an implicit value for <sref>aria-selected</sref> for each <rref>treeitem</rref> in a <rref>tree</rref>, and if it does, the user agent MUST ensure the following conditions are met before providing an implicit value:</p>
99189918
<ul>
99199919
<li>The value of <pref>aria-multiselectable</pref> on the <rref>tree</rref> is <code>false</code> or <code>undefined</code>.</li>
9920-
<li>None of the <rref>treeitem</rref> elements in the <rref>tree</rref> have an explicitly declared value for <sref>aria-selected</sref> or <sref>aria-checked</sref>.</li>
9920+
<li>None of the <rref>treeitem</rref> elements in the <rref>tree</rref> have an explicitly declared value for <sref>aria-selected</sref> or <sref>aria-checked</sref>.</li>
99219921
</ul>
99229922
<p>
99239923
If a user agent provides an implicit <sref>aria-selected</sref> value for a <rref>treeitem</rref>, the value SHOULD be <code>true</code> if the <rref>treeitem</rref> has DOM focus or the <rref>tree</rref> has DOM focus and the <rref>treeitem</rref> is referenced by <pref>aria-activedescendant</pref>.
@@ -10228,33 +10228,33 @@ <h3>Value</h3>
1022810228
<h2>ARIA Attributes</h2>
1022910229
<section id="enumerated-attribute-values">
1023010230
<h3>Multi-value Attribute Values</h3>
10231-
<p>When the ARIA attribute definition includes a table listing the attribute's allowed <span>values</span>,
10232-
that attribute is a multi-value nullable attribute.
10231+
<p>When the ARIA attribute definition includes a table listing the attribute's allowed <span>values</span>,
10232+
that attribute is a multi-value nullable attribute.
1023310233
Each value in the table is a keyword for the attribute, mapping to a state of the same name. </p>
1023410234
</section>
1023510235
<section id="idl-reflection-attribute-values">
1023610236
<h3>IDL reflection of ARIA attributes</h3>
10237-
<p>All ARIA attributes reflect in IDL as [=nullable type|nullable=] {{DOMString}} attributes.
10237+
<p>All ARIA attributes reflect in IDL as [=nullable type|nullable=] {{DOMString}} attributes.
1023810238
This includes the boolean-like <a href="#valuetype_true-false">true/false</a> type, and all other ARIA attributes.</p>
10239-
<p>Default values from the ARIA values tables MUST NOT reflect to IDL as the
10240-
<a data-cite="html/common-microsyntaxes.html#missing-value-default">missing value default</a> or the
10241-
<a data-cite="html/common-microsyntaxes.html#invalid-value-default">invalid value default</a> for the attribute.
10242-
On getting, a missing ARIA attribute will return <code>null</code>. ARIA attributes are not validated on get.
10239+
<p>Default values from the ARIA values tables MUST NOT reflect to IDL as the
10240+
<a data-cite="html/common-microsyntaxes.html#missing-value-default">missing value default</a> or the
10241+
<a data-cite="html/common-microsyntaxes.html#invalid-value-default">invalid value default</a> for the attribute.
10242+
On getting, a missing ARIA attribute will return <code>null</code>. ARIA attributes are not validated on get.
1024310243
If an ARIA value is invalid, on getting, it will return its set value as a literal string, and will not return an invalid value default.</p>
1024410244
</section>
1024510245
<section id="os-aapi-attribute-mapping">
1024610246
<h3>Operating System Accessibility API mapping of multi-value ARIA attributes</h3>
10247-
<p>Unlike IDL reflection, operating system accessibility API mappings of ARIA attributes can have defaults.
10248-
Any default values from the ARIA values tables are exposed to the operating system accessibility API as described in
10247+
<p>Unlike IDL reflection, operating system accessibility API mappings of ARIA attributes can have defaults.
10248+
Any default values from the ARIA values tables are exposed to the operating system accessibility API as described in
1024910249
[[[#supportedState]]], and in [[[CORE-AAM]]].</p>
1025010250
</section>
1025110251
<section id="enumerated-attribute-values-html">
1025210252
<h3>ARIA nullable DOMString Attributes</h3>
1025310253
<p>As noted in [[[#typemapping]]], attributes are included in host languages, and the syntax for representation of WAI-ARIA types is governed by the host language.</p>
1025410254
<p>The following algorithm should be used for ARIA nullable {{DOMString}} attributes in HTML:</p>
10255-
<p>On getting, if the corresponding content attribute is not present, then the IDL attribute must return null,
10256-
otherwise, the IDL attribute must get the value in a transparent, case-preserving manner.
10257-
On setting, if the new value is null, the content attribute must be removed, and otherwise,
10255+
<p>On getting, if the corresponding content attribute is not present, then the IDL attribute must return null,
10256+
otherwise, the IDL attribute must get the value in a transparent, case-preserving manner.
10257+
On setting, if the new value is null, the content attribute must be removed, and otherwise,
1025810258
the content attribute must be set to the specified new value in a transparent, case-preserving manner.</p>
1025910259
<p class="note">
1026010260
Note: As of ARIA 1.2, all ARIA attributes exposed via IDL are defined as nullable {{DOMStrings}}. This matches the current implementation of all major rendering engines. This specification change should result in no implementation changes; it will merely represent the current reality of web engines.

0 commit comments

Comments
 (0)