act-rules / act-rules.github.io

Accessibility conformance testing rules for HTML
https://act-rules.github.io/
Other
131 stars 67 forks source link

HTML page has non-empty title [2779a5]: Shadow root example #2179

Open giacomo-petri opened 2 months ago

giacomo-petri commented 2 months ago

Test case: A webpage lacks a <title> element but includes a shadow root that contains a <title>.

While the current phrasing of the expectations encompasses the scenario of a shadow root as a failure, I believe it would be beneficial to provide an example illustrating this case.