Summary
This test consists in checking the relevancy of the title
tag in the page.
Business description
Criterion
Test
Description
Pour chaque page web ayant un titre de page (balise
<title>
), le contenu de cette balise est-il pertinent ?
Level
A
Technical description
Scope
Page
Decision level
Semi-Decidable
Algorithm
Set1
The content of the <title>
tag within the <head>
CSS selector:
head title
Process
Test1
We check whether the title is found amoung the blacklisted titles loaded by the nomenclature “UnexplicitPageTitle”.
For each element returning false in Test1, raise a MessageA. Raise a MessageB instead.
MessageA : Irrelevant title
- code: NotPertinentTitle
- status: Failed
- parameter: the textual content, snippet
- present in source: yes
MessageB : Check title pertinence
- code: CheckTitlePertinence
- status: Pre-Qualified
- parameter: the textual content, snippet
- present in source: yes
Analysis
Not Applicable
The page has no <title>
tag (Set1 is empty)
Failed
The title of the page has been found in the blacklist (Test1 returns true)
Pre-Qualified
The title of the page has not been found in the blacklist (Test1 returns false)