Files
serenity/Userland/Libraries/LibWeb/DOM/Node.cpp
sideshowbarker 6598ff9926 LibWeb: Ensure spaces get added where expected within accessible names
This change implements the https://w3c.github.io/accname/#comp_append
step in the “Accessible Name and Description Computation” spec — so that
when an accessible name is computed from multiple sources in a document
subtree, the parts of the computed text are joined together with spaces.

Otherwise without this change, in accessible names computed from
multiple sources in a document subtree, the parts of the computed text
are unexpectedly run together, with no spaces between the parts.

(cherry picked from commit 3ba7c536681e8471e9b53aaf8e5dd32d801e26e4)
2024-11-12 07:14:25 -05:00

105 KiB