Skip to content

Commit ecf4ff6

Browse files
scottaoharapkraannevk
authored
Remove redundant UA CSS requirement (#2531)
Co-authored-by: Peter Krautzberger <p.krautzberger@gmail.com> Co-authored-by: Anne van Kesteren <annevk@annevk.nl>
1 parent 1df982f commit ecf4ff6

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

index.html

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -789,9 +789,7 @@ <h2>Non-interference with the Host Language</h2>
789789
language.
790790
</p>
791791
<p>
792-
If a CSS selector includes a WAI-ARIA attribute (e.g., <code class="highlight css">input[aria-invalid="true"]</code>), user agents MUST update the visual display of any elements matching (or
793-
no longer matching) the selector any time the attribute is added/changed/removed in the <abbr title="Document Object Model">DOM</abbr>. The user agent MAY alter the mapping of the host
794-
language features into an <a>accessibility <abbr title="Application Programming Interface">API</abbr></a
792+
User agents MAY alter the mapping of host language features into an <a>accessibility <abbr title="Application Programming Interface">API</abbr></a
795793
>, but the user agent MUST NOT alter the <abbr title="Document Object Model">DOM</abbr> in order to remap <abbr title="Accessible Rich Internet Applications">WAI-ARIA</abbr> markup into host
796794
language features.
797795
</p>
@@ -902,10 +900,8 @@ <h2><abbr title="Accessible Rich Internet Applications">WAI-ARIA</abbr> States a
902900
</p>
903901
<p>
904902
Most modern user agents support
905-
<cite
906-
><a href="https://www.w3.org/TR/css3-selectors/#attribute-selectors"><abbr title="Cascading Style Sheets">CSS</abbr> attribute selectors</a></cite
907-
>
908-
([[CSS3-SELECTORS]]), and can allow the author to create <abbr title="User Interface">UI</abbr> changes based on <abbr title="Accessible Rich Internet Applications">WAI-ARIA</abbr> attribute
903+
904+
CSS [=attribute selectors=] ([[SELECTORS-4]]) and allow the author to create <abbr title="User Interface">UI</abbr> changes based on <abbr title="Accessible Rich Internet Applications">WAI-ARIA</abbr> attribute
909905
information, reducing the amount of scripts necessary to achieve equivalent functionality. In the following example, a <abbr title="Cascading Style Sheets">CSS</abbr> selector is used to
910906
determine whether or not the text is bold and an image of a check mark is shown, based on the value of the <sref>aria-checked</sref> attribute.
911907
</p>
@@ -16560,17 +16556,6 @@ <h3>ID Reference Error Processing</h3>
1656016556
</p>
1656116557
</section>
1656216558
</section>
16563-
<section id="document-handling_css-selectors">
16564-
<h3>CSS Selectors</h3>
16565-
<p class="note">This section might be removed in a future version.</p>
16566-
<p>
16567-
Support for <a class="termref">attribute</a> selectors MUST include <abbr title="Accessible Rich Internet Application">WAI-ARIA</abbr> attributes. For example,
16568-
<samp>.fooMenuItem[aria-haspopup=&quot;true&quot;]</samp> would select all [=elements=] with class <code>fooMenuItem</code>, and
16569-
<abbr title="Accessible Rich Internet Application">WAI-ARIA</abbr> property <pref>aria-haspopup</pref> with value of <code>true</code>. The presentation MUST be updated for dynamic changes
16570-
to <abbr title="Accessible Rich Internet Application">WAI-ARIA</abbr> attributes. This allows authors to match styling with
16571-
<abbr title="Accessible Rich Internet Application">WAI-ARIA</abbr> <a>semantics</a>.
16572-
</p>
16573-
</section>
1657416559
</section>
1657516560
<section id="document-handling_author-errors">
1657616561
<h2>Handling Author Errors</h2>

0 commit comments

Comments
 (0)