Skip to content

http-equiv validators#102

Merged
rviscomi merged 8 commits intomainfrom
validate-http-equiv
Apr 18, 2024
Merged

http-equiv validators#102
rviscomi merged 8 commits intomainfrom
validate-http-equiv

Conversation

@rviscomi
Copy link
Owner

@rviscomi rviscomi commented Apr 18, 2024

Fixes #70

  • Validates default-style directives and warns when the alternate stylesheet can't be found
  • Validates character encoding declarations and warns when there are redundancies, the declaration arrives too late, or the encoding is not UTF-8
  • Discourages against set-cookie
  • Discourages against refresh to reload or redirect the page
  • Discourages against x-dns-prefetch-control usage (except for legitimate security concerns)
  • Warns on all unsupported http-equiv values and attempts to provide a relevant message about why it's incorrect/discouraged and what to do instead, with specific support for:
    • Known caching headers
    • Known client hints headers
    • Non-conforming <meta name> and <title> alternatives (usually SEO stuff)
    • Non-conforming <html lang> alternatives
    • Non-conforming <meta charset> alternatives
    • Deprecated IE directives

@rviscomi rviscomi merged commit 4b9e9fd into main Apr 18, 2024
@rviscomi rviscomi deleted the validate-http-equiv branch April 18, 2024 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validate meta[http-equiv]

1 participant