Closed alvaromontoro closed 2 years ago
I was questioning whether this would interfere with
<title>
that can often appear inside<svg>
but it doesn't because you're targeting the<head>
so that's good 👌
@jackdomleo7 an empty <title>
in an SVG would most likely be an accessibility violation too. But I think it would be trickier as the SVG in itself could be pointing to an external element for the title/description. And that part may make it tricky.
Maybe it would be good to create a ticket for a warning in case the <svg>
does not have a <title>
and a <desc>
.
Description
Why is this important?
A missing or empty title would be an accessibility issue because it makes it more difficult for some users to orient themselves and navigate through the pages.
Resolves #153.
Covered test cases
New test cases added to check for empty page title.
Did you test on all major browsers?
Other details
N/A
T&Cs