зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1880418 [wpt PR 44600] - Remove undefined aria-label tests., a=testonly
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
This commit is contained in:
Родитель
7a0e66c892
Коммит
dd22f48106
|
@ -154,13 +154,6 @@
|
||||||
<textarea aria-label="label" data-expectedlabel="label" data-testname="label valid on textarea element" class="ex">x</textarea>
|
<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>
|
<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>
|
<h2>Name computation precedence tests</h2>
|
||||||
<!-- Name computation: https://w3c.github.io/accname/#computation-steps -->
|
<!-- Name computation: https://w3c.github.io/accname/#computation-steps -->
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче