2.1. Provide a descriptive
<title> element on each page
On each page, the
<title> element must include a descriptive title. It must, at least, provide both the name of the page and the name of the website.
- The name of the current page should come first in the
<title>element before other information. For example,
<title>[Current page name] | [Website name]</title>.
- Good practice is to ensure that the content in the
<title>element is consistent throughout the entire website.
In certain circumstances, the title content is modified when the page is reloaded after a user action. Some examples include:
- When filters are used to mask content with keywords.
- When pagination is used to separate sections of an article.
- When a search term is entered into a search field.
When updates are on the server side, the title of the affected page should be modified. For example:
<title>Search results for [Search term] (page 3/7) | [Site name]</title>
Find out more
<title>element when the page reloads to display an error or confirmation message.