Skip to content

Commit

Permalink
Bug 1913244 [wpt PR 47608] - remove invalid expectations for dd, dt, …
Browse files Browse the repository at this point in the history
…associationlist, associationlistkey, associationlistvalue, a=testonly

Automatic update from web-platform-tests
remove invalid expectations for dd, dt, associationlist, associationlistkey, associationlistvalue (#47608)

--

wpt-commits: 35c491477205f3fc43d7b950f125945d2f7d2871
wpt-pr: 47608
  • Loading branch information
cookiecrook authored and moz-wptsync-bot committed Aug 21, 2024
1 parent 22a5929 commit 710c731
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
16 changes: 10 additions & 6 deletions testing/web-platform/tests/accname/name/comp_label.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,7 @@ <h2>Elements with roles that support aria-label use</h2>
<div role="alertdialog" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with alertdialog role" class="ex">x</div>
<div role="application" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with application role" class="ex">x</div>
<div role="article" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with article role" class="ex">x</div>
<div role="associationlist" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with associationlist role" class="ex">x</div>
<div role="associationlistitemkey" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with associationlistitemkey role" class="ex">x</div>
<div role="associationlistitemvalue" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with associationlistitemvalue role" class="ex">x</div>
<!-- associationlist and related removed pending: https://github.com/w3c/aria/issues/1662 -->
<div role="banner" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with banner role" class="ex">x</div>
<div role="blockquote" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with blockquote role" class="ex">x</div>
<div role="button" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with button role" class="ex">x</div>
Expand All @@ -52,6 +50,7 @@ <h2>Elements with roles that support aria-label use</h2>
<div role="list" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with list role" class="ex">x</div>
<div role="listbox" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with listbox role" class="ex">x</div>
<div role="listitem" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with listitem role" class="ex">x</div>
<!-- listitemkey and listitemvalue pending: https://github.com/w3c/aria/issues/1662 -->
<div role="log" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with log role" class="ex">x</div>
<div role="main" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with main role" class="ex">x</div>
<div role="marquee" aria-label="label" data-expectedlabel="label" data-testname="label valid on div with marquee role" class="ex">x</div>
Expand Down Expand Up @@ -100,9 +99,14 @@ <h2>HTML elements that support aria-label</h2>
<aside aria-label="label" data-expectedlabel="label" data-testname="label valid on aside element" class="ex">x</aside>
<blockquote aria-label="label" data-expectedlabel="label" data-testname="label valid on blockquote element" class="ex">x</blockquote>
<button aria-label="label" data-expectedlabel="label" data-testname="label valid on button element" class="ex">x</button>
<dd aria-label="label" data-expectedlabel="label" data-testname="label valid on dd element" class="ex">x</dd>
<dl aria-label="label" data-expectedlabel="label" data-testname="label valid on dl element" class="ex">x</dl>
<dt aria-label="label" data-expectedlabel="label" data-testname="label valid on dt element" class="ex">x</dt>
<dl aria-label="label" data-expectedlabel="label" data-testname="label valid on dl element" class="ex">
<!-- dt/dd pending listitemkey and listitemvalue roles: https://github.com/w3c/aria/issues/1662 -->
<!-- Currently these map to `term` and `definition` for which name is prohibited. -->
<!-- Using aria-label here would be an authoring error, however whether there is a user agent requirement to ignore the author provided role is still pending https://github.com/w3c/accname/issues/240 -->
<!-- See "Priorities of Constituencies" https://www.w3.org/TR/design-principles/#priority-of-constituencies -->
<dt>x</dt>
<dd>x</dd>
</dl>
<footer aria-label="label" data-expectedlabel="label" data-testname="label valid on footer element" class="ex">x</footer>
<fieldset aria-label="label" data-expectedlabel="label" data-testname="label valid on fieldset element" class="ex">x</fieldset>
<figure aria-label="label" data-expectedlabel="label" data-testname="label valid on figure element" class="ex">x</figure>
Expand Down
2 changes: 2 additions & 0 deletions testing/web-platform/tests/html-aam/roles.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
<!-- el-dd -->
<dl>
<dt>x</dt>
<!-- dt/dd pending listitemkey and listitemvalue roles: https://github.com/w3c/aria/issues/1662 -->
<dd data-testname="el-dd" data-expectedrole="definition" class="ex">x</dd>
</dl>

Expand All @@ -56,6 +57,7 @@

<!-- el-dt -->
<dl>
<!-- dt/dd pending listitemkey and listitemvalue roles: https://github.com/w3c/aria/issues/1662 -->
<dt data-testname="el-dt" data-expectedrole="term" class="ex">x</dt>
<dd>x</dd>
</dl>
Expand Down

0 comments on commit 710c731

Please sign in to comment.