summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/accname/name/comp_label.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/accname/name/comp_label.html')
-rw-r--r--testing/web-platform/tests/accname/name/comp_label.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/web-platform/tests/accname/name/comp_label.html b/testing/web-platform/tests/accname/name/comp_label.html
index 8b569ba6ff..3eda2a5367 100644
--- a/testing/web-platform/tests/accname/name/comp_label.html
+++ b/testing/web-platform/tests/accname/name/comp_label.html
@@ -186,6 +186,12 @@ x
x
</button>
+<span style="display: none">
+<button data-expectedlabel="" data-testname="Hidden button's label should be the empty string" class="ex">
+x
+</button>
+</span>
+
<!-- Step 2B: LabelledBy supercedes 2D: AriaLabel, also see wpt/accname/name/comp_labelledby.html -->
<a href="#" aria-labelledby="span6" aria-label="foo" data-expectedlabel="label" data-testname="link's aria-labelledby name supercedes aria-label" class="ex">x</a>
<span id="span6">label</span>