Skip to content

Commit

Permalink
Bug 1880418 [wpt PR 44600] - Remove undefined aria-label tests., a=te…
Browse files Browse the repository at this point in the history
…stonly

Automatic update from web-platform-tests
Remove undefined aria-label tests. (#44600)

Many ARIA attributes do support a value of "undefined".
However, aria-label expects a string value, which is specified as an "Unconstrained value type."
Thus, "undefined" is not a special value for aria-label, and these tests are incorrect.
--

wpt-commits: 1e5aba72c99ed91ba4f4cf7695f1e231cfe0944a
wpt-pr: 44600
  • Loading branch information
jcsteh authored and moz-wptsync-bot committed Apr 10, 2024
1 parent a3e8bf4 commit c41117a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions testing/web-platform/tests/accname/name/comp_label.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,6 @@ <h6 aria-label="label" data-expectedlabel="label" data-testname="label valid on
<textarea aria-label="label" data-expectedlabel="label" data-testname="label valid on textarea element" class="ex">x</textarea>
<ul aria-label="label" data-expectedlabel="label" data-testname="label valid on list (unordered) element" class="ex">x</ul>

<h2>Undefined aria-label tests</h2>
<img alt="alt" aria-label="undefined" data-expectedlabel="alt" data-testname="aria-label undefined on img w/ alt" class="ex" />
<img aria-label="undefined" data-expectedlabel="" data-testname="aria-label undefined on img w/o alt" class="ex" />
<img alt="" aria-label="undefined" data-expectedlabel="" data-testname="aria-label undefined on img w/ empty alt" class="ex" />
<img aria-label="undefined" data-expectedlabel="title" data-testname="aria-label undefined on img w/o alt but w/ title" class="ex" />
<img alt="" aria-label="undefined" data-expectedlabel="title" data-testname="aria-label undefined on img w/ empty alt but w/ title" class="ex" />

<h2>Name computation precedence tests</h2>
<!-- Name computation: https://w3c.github.io/accname/#computation-steps -->

Expand Down

0 comments on commit c41117a

Please sign in to comment.