Label for input1 Label for input3

Summary

Harness status: OK

Found 4 tests

Details

ResultTest NameMessage
FailSetting ariaLabelledByElements should determine the computed label for the labelled elementpromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
    at assert (https://wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://wpt.live/resources/testharness.js:764:29)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at https://wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran
FailSetting ariaLabelledByElements before inserting the elements referred to in the document should cause the label to be updated once elements are insertedpromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
    at assert (https://wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://wpt.live/resources/testharness.js:764:29)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at https://wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran
FailSetting ariaLabelledByElements on an element before inserting it in the document should cause the label to be updated once the element is insertedpromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://wpt.live/resources/testharness.js:4564:22)
    at assert (https://wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://wpt.live/resources/testharness.js:764:29)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at https://wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran
FailMoving the label from shadow DOM to light DOM causes the reference to become validassert_array_equals: References into shadow DOM are invalid lengths differ, expected array [Element node <span>Label for input4</span>] length 1, got [] length 0
    at Test.<anonymous> (https://wpt.live/html/dom/aria-element-reflection-labelledby.html:92:7)
    at Test.step (https://wpt.live/resources/testharness.js:2642:25)
    at https://wpt.live/resources/testharness.js:738:36
    at new Promise (<anonymous>)
    at https://wpt.live/resources/testharness.js:737:20
Asserts run
Fail
assert_array_equals([], [Element node <span>Label for input4</span>], "References into shadow DOM are invalid")
    at Test.<anonymous> ( /html/dom/aria-element-reflection-labelledby.html:92:7)