Documentation
¶
Overview ¶
Package dom contains shared HTML tree rules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccessibleSVGLabel ¶
AccessibleSVGLabel returns the concise label for an SVG that may be handled as an opaque image. Hidden reports all SVG as hidden so generic DOM walkers never descend into SVG text, links, or metadata; callers that explicitly support this representation may use this function before their hidden check.
func HiddenExceptARIA ¶
HiddenExceptARIA reports hidden content while allowing only aria-hidden to be ignored. Math renderers commonly mark their visual glyph branch aria-hidden because an accessible branch is present alongside it. Callers using this exception must still reject non-content elements, CSS-hidden content, hidden/inert subtrees, and modal UI.
Types ¶
This section is empty.