Check for no <title> and empty <title>#155
Conversation
- Add detection for missing or empty title (missing uses has which is experimental, note added as code comment) - Update code and features - Update demo page (leave title empty) - Add tests for new feature - Build and minify
jackdomleo7
left a comment
There was a problem hiding this comment.
Thanks for this @alvaromontoro! 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 Maybe it would be good to create a ticket for a warning in case the |
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