Tests the accName for elements defined in HTML-AAM: Accessible Name Computations By HTML Element. These tests are meant to show whether an element returns a name per the naming mechanism used. See wpt: accname for expanded accName testing.

figure element

x
y
x
y
x
y
x
figcaption text
x
y
figcaption
figcaption
other content
figcaption
labelledby

Summary

Harness status: OK

Found 9 tests

Details

ResultTest NameMessage
Failfigure with figcaption - no namepromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:764:29)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran
Failfigure with figcaption and aria-labelpromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:764:29)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran
Failfigure with figcaption and aria-labelledby pointing to another elementpromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:764:29)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran
Failfigure with aria-labelledby pointing to figcaptionpromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:764:29)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran
Failfigure with figcaption and titlepromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:764:29)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran
Failfigure with figcaption and img without altpromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:764:29)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran
Failimg without alt within a figure with figcaptionpromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:764:29)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran
Failimg without alt but with title within a figure with figcaptionpromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:764:29)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran
Failimg without alt within a figure with figcaption, and with other flow content within the figurepromise_test: Unhandled rejection with value: object "TypeError: window.test_driver_internal.get_computed_label is not a function"
Error
    at get_stack (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4571:21)
    at new AssertionError (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4564:22)
    at assert (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:4548:19)
    at Test.<anonymous> (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:764:29)
    at Test.step (https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2642:25)
    at https://xn--n8j6ds53lwwkrqhv28a.wpt.live/resources/testharness.js:2689:35
Asserts runNo asserts ran