Require Document Title
ID |
html.hh_title_require |
Severity |
low |
Remediation Complexity |
low |
Remediation Risk |
low |
Remediation Effort |
low |
Resource |
Reliability |
Language |
Html |
Tags |
accessibility, reliability |
Rationale
The <title> is the only mandatory child of <head>: it names the document in the browser tab and
history, is the heading shown by search engines, and is the first thing a screen reader announces
when a page loads. A document with no title forces every consumer to fall back to the bare URL.
<head> <!-- FLAW — no title -->
<meta charset="utf-8">
</head>
<head> <!-- OK — title present -->
<title>Hi</title>
</head>
Remediation
Add a concise, descriptive <title> inside the <head>, for example
<title>Account settings</title>.