diff --git a/Libraries/LibWeb/DOM/Node.cpp b/Libraries/LibWeb/DOM/Node.cpp index 8f0e5330901..67ec312a65d 100644 --- a/Libraries/LibWeb/DOM/Node.cpp +++ b/Libraries/LibWeb/DOM/Node.cpp @@ -2290,6 +2290,15 @@ ErrorOr Node::name_or_description(NameOrDescription target, Document con for (u32 i = 0; i < labels->length(); i++) { auto nodes = labels->item(i)->children_as_vector(); for (auto const& node : nodes) { + // AD-HOC: https://wpt.fyi/results/accname/name/comp_host_language_label.html has “encapsulation” + // tests, from which can be induced a requirement that when computing the accessible name for a + //