MilleCheck
en | fr

Measured Performance

  • Lighthouse
    Score

  • LCP 2.17s
  • TBT 0.32s
  • CLS 0.00
  • FCP 1.94s
  • SI 2.16s
  • TTFB 0.66s
  • Fullyload 4.11s
plus

WebPerf
Impact

1P 67%

3P 33%

Most impactful: Tag Manager (33%)

plus

EcoIndex

  • C
  • DOM 783
  • Weight 0.4 MB
  • Requests 23
plus

Performance best practices

help

By email Ask a question

Best practices compliance

Performance (57 best practices)

Here we list the best practices from well-known performance frameworks such as YellowLabTools or Lighthouse, providing comments based on our experience. While only the FCP, LCP, SI, TBT, and CLS metrics contribute to your Lighthouse performance score, improving code quality by following the best practices below will likely improve these five metrics. Therefore, even indirectly, applying these best practices improves your Lighthouse performance score, your SEO through Web Vitals, and ultimately the user experience.

Weight 97

View analysis

Weight is an indicator of many things.
This is the area of action you must address first. 

#1Weight/ Eco-designLimit the total page weight 100 x 5

According to Artwaï, weight is the most important metric to monitor!

In 2022, the Web Almanac reported a median web page weight of about 2 MB. According to Alex Russell (software engineer at Google), the ideal weight for a page to load in under 5 seconds is 500 KB...

The "reasonable" goal you can set for yourself is to stay under 1 MB, which is already very long to download on a slow connection.

Controlling the weight of your pages is also a good practice in terms of eco-design and counts towards the Ecoindex calculation. Indeed, the weight and execution time, by being lighter, will consume less energy. For example: by cleaning up its JavaScript code, Wikipedia saved 4.3 terabytes of data bandwidth per day for its visitors. This is the equivalent of planting 700 trees to offset the annual pollution that would have resulted.

Some articles on the subject: 

Total weight

0.35 MB 1.5 3 5
A question ?

Reference article(s):

#2Weight/ Eco-designOptimize images 100 x 2

Optimizing images is generally one of the easiest ways to reduce the weight of a page and, consequently, the page load time.

Compression is therefore the essential step for optimizing images. It serves to reduce the data redundancy of an image so it can be stored taking up less space.

  • There is lossy compression, where the image becomes blurrier as it is compressed;
  • and lossless compression, where the features of the image remain sharp.

You must find the right quality/compression ratio that meets your needs.

Do not use Photoshop or other image editing tools, as they are not very good for optimization. Use specialized tools like Kraken.io or the excellent ImageOptim on Mac. For SVG images, you can use SVGOMG.

Article on the subject: 

Estimated gain from optimizing images

0 KB 20 200 300

With YellowLabTools, we measure the number of bytes that could be saved by optimizing images.

A question ?
#3Weight/ Eco-designProperly size images 100 x 1

Ideally, your page should never serve images larger than the version displayed on the user's screen. The rule of thumb is to size the image to its actual display size. You can very well have a 1000 px x 1000 px image displayed at 100 px x 100 px. As a result, exaggeratingly, your image is 10 times heavier than necessary. 

Thus, anything larger than that simply results in wasted bytes and slows down the page load time. 

The primary strategy for delivering appropriately sized images is called "responsive images". With responsive images, you generate multiple versions of each image, and then specify which version to use in your HTML or CSS using media queries based on viewport dimensions. 

Furthermore, the "sizes" attribute linked to the "srcset" of a responsive image might be incorrect. This can lead to a poor choice of loaded image, potentially resulting in more weight or a degradation of the displayed image.  To check this aspect, you can use the Responsive Image Linter extension in Chrome, which checks every image on the page.

Article on the subject: 

Potential gain

0 KB 2 300 500

With YellowLabTools, we compare the number of pixels in a loaded image to the number of physical pixels on which it is displayed, to deduce the number of KB that could be saved.

A question ?
#4Weight/ Eco-designEnable compression 100 x 2

Textual resources like CSS or JS must be served with compression to minimize the total number of network bytes, meaning limiting bandwidth usage and improving load times.  Depending on the test, some files might not be compressed at all or might already be compressed with Gzip, but would become even lighter with Brotli.

All major server systems are now compatible with Brotli.

Check the list of affected MIME types.

NB: Compressing small files (< 1 KB) is debatable and certain elements such as images or fonts in WOFF2 format should not be compressed, as they are already compressed in their format. 

Estimated gain from compression

10.77 KB 20 200 400

With YellowLabTools, we measure the number of bytes that could be saved by compressing textual files.

A question ?
#5Weight/ Eco-designMinify files 82 x 2

Minifying textual files like CSS or JS saves weight. It involves making a program smaller, compacting it, and reducing the size of its code. This is usually done by removing spaces, indentations, and shortening variable names.

Minification gains are generally small, but the impact can be significant when these text files are loaded on the critical path or prioritized.

You can do this manually with an online service to minify your files, or by automating your code deployment workflow with compilation tools like Gulp or Grunt.

Estimated gain from minification

14.89 KB 5 60 120

With YellowLabTools, we calculate the weight that could be saved if all textual resources were properly modified.

A question ?

Requests 92

View analysis

Secondly, work on your requests
to reduce their number and improve the quality of their headers.

#6Requests/ Eco-designLimit the number of requests 100 x 2

Each request slows down page loading, especially over the HTTP/1 protocol, but also slightly over HTTP/2. In 2022, the Web Almanac recorded around 70 requests for the loading of a median web page. Also note that in mobile situations, a browser does not have a constant connection quality. Limiting the number of requests therefore also limits the risk that a resource might not be loaded correctly.

There are several techniques to reduce the number of requests:

  • Concatenate JS files
  • Concatenate CSS files
  • Create sprites or icon fonts for icons
  • Use lazyload for images

We intentionally exclude the following techniques from our recommendations as they often create other drawbacks: 

  • Inline or embed small JS or CSS files in the HTML
  • Base64 encode small images in HTML or in stylesheets

Obviously, by reducing the number of requests, you reduce the environmental impacts associated with processing the response.

Number of requests

23  80 240 320
A question ?
#7Requests/ Eco-designLimit the number of different domains 100 x 3

For each domain encountered, the browser must:

  1. Do a DNS lookup,
  2. Initiate a connection,
  3. Perform the SSL handshake,
  4. And then, answer the request. 

Inevitably, the more domains there are, the slower it can be. In addition, these different domains are usually third-party services for which you control neither the responsiveness of the code nor the availability rate. You therefore have a dependency on these services, or even a SPOF (Single Point Of Failure: a single point of failure that the rest of the site depends on and where a breakdown can lead to malfunctions).

Avoid having many different domains; the page should render faster and you avoid consuming bandwidth unnecessarily.

A simple solution is to bring back to the first-party domain resources that can be. For example, a font available on fonts.google.com, an external JavaScript library. It is also possible to set up a routine to fetch a file depending on changing parameters at regular intervals, like a CMP.

NB: the technique called "domain sharding" is no longer a best practice.

Number of different domains

2  12 30 60
A question ?
#8Requests/ Eco-designAvoid 404 error requests 100 x 2

When a resource is requested from a server, it first responds with an HTTP status code. These codes are sent by the HTTP server to the browser to allow the latter to automatically determine whether a request was successful, and if not, to know the type of error. These codes are specified in the RFC 7231 document by the IETF (Internet Engineering Task Force). 

A 404 error is an HTTP error code sent by a web server when a requested resource is unavailable or the server cannot find it. 404 errors are never cached, so every time a URL ends in a 404, it hits the server even if it is behind a CDN or a reverse proxy cache.

A 404 error unnecessarily occupies the browser and the server which must respond to it and search for a resource that does not exist or no longer exists.

NB: This best practice is recommended by the analyst GreenIT Analysis, but does not have its equivalent in the CNumR framework.

Number of 404 errors

0  0 1 1

We measure here the requests made that respond with a 404 error and not any broken links on the page available to the user.

A question ?
#9RequestsDo not load the same resource multiple times from different URLs 100 x 2

This is the number of requests that could be avoided, due to downloaded files that have the same content but are loaded from different URLs. Be careful, we are talking about different URLs. This is not about URLs called multiple times.

Understand that if you load the same image with 2 different URLs, the browser will consider them as 2 different files and will therefore do twice the work to fetch and display it... The same goes for any other file, especially JavaScript files which, in addition, can have the particularity of executing several times. 

In short, try to load them from the same URL.

Number of identical files

0  0 5 15
A question ?
#10RequestsAvoid empty requests 100 x 1

An empty request is an HTTP request that completes successfully (status 200) but for which the server returns a 0-byte body. The browser has nonetheless paid the full cost of the request: DNS lookup, connection, TLS handshake, sending headers and cookies, waiting for the response. It gets no content in return.

These requests are almost always the symptom of something overlooked: a CSS or JS file that was emptied but is still called in the template, an image src filled in dynamically with an empty value, a tracking script disabled server-side but still embedded, an API endpoint that returns nothing on certain pages. Since no error is raised, they go unnoticed in the console and in standard monitoring tools.

This is probably the easiest optimization to make: removing the call has no functional impact, and each request removed frees up a slot in the browser's download queue for useful resources. From an eco-design standpoint, it is network and server load spent for nothing, multiplied by every visit.

Note: 204 No Content responses are not affected. This status code explicitly indicates that the absence of content is intentional, as is the case with analytics beacons, for example.

Number of empty requests

0  0 10 50

MilleCheck count the number of GET requests that respond with an empty body.

A question ?
#11Requests/ Eco-designDefer the loading of offscreen images 100 x 2

Consider lazyloading images below the viewport fold, once all critical resources have finished loading to reduce the time to interactive. This involves deferring the loading of images not visible on screen until the moment the user is likely to see them.  This is an excellent way to speed up the initial load time of a page while saving bandwidth.

We recommend using native image lazyloading which now works for the major browsers on the market. This simple attribute proves very effective. Be careful, not all images should be lazyloaded with the loading="lazy" attribute. For images that are part of the LCP or located above the fold, prefer loading="eager" which will prioritize their loading. 

Articles on the subject: 

Number of non-"lazyloaded" images

0  1 12 30

We count the number of images displayed below the viewport fold.

A question ?
#12RequestsAvoid loading invisible images 100 x 1

This best practice is slightly different from BP#11 "Defer the loading of offscreen images". This refers to images, or one of their parents, that have a display:none property.

Indeed, even if they are not visible, these images are still loaded by the browser. You must find a way to load them via lazyloading, only when they become visible. 

The loading="lazy" attribute is a possible solution, but it is sometimes more complicated with JavaScript components, especially with horizontal carousels.

Number of invisible images

0  1 12 30

With YellowLabTools, we count the number of invisible images with the CSS display:none property, or their parent elements.

Since images displayed as 1x1 pixels tend to be trackers, they are excluded from this rule.

A question ?
#45Requests/ Eco-designUse the latest version of the HTTP/2 protocol 100 x 2

The benefits of HTTP/2 are multiple:

  • Multiplexed parallel requests and responses do not block each other.
  • A single TCP connection is used to ensure efficient use of network resources despite the transmission of multiple data streams.
  • No need to apply unnecessary optimization hacks – such as image sprites, concatenation, and domain sharding, among others – that compromise other areas of network performance.
  • Reduced latency.
  • Reduced operating and investment costs for network and IT resources.

HTTP/2 is not the latest version of the HTTP protocol. HTTP/3 is currently being deployed on many servers and is even faster!

NB: Below 5 requests, the benefits of HTTP/2 are generally less significant.

Number of HTTP/1 requests beyond 4 per domain

0  0 25 100

When a domain sends more than 4 requests via HTTP/1, this metric counts one point for each new request.

A question ?

Reference article(s):

#46Requests/ SecurityUse the latest version of the TLS protocol 100 x 2

TLS is the protocol that ensures the confidentiality of HTTP/S exchanges on the Internet between users and servers. When a server and a client communicate, TLS ensures that no third party can intercept or tamper with a message.

This protocol is widely used and most browsers are also TLS clients. Versions 1.0 and 1.1 are obsolete. Since 2020, browsers no longer support these older versions. Indeed, they are not secure; if you're not already on it, you need to upgrade to at least version 1.2.

Version 1.3 of TLS, in addition to being more secure, performs a "handshake" negotiation in fewer steps and is therefore faster than TLS 1.2.

NB: Running HTTPS with version 1 of HTTP is a heresy in terms of performance.

 

Number of domains using TLS versions < 1.3

0  0 5 15

Counts the number of domains using TLS versions < 1.3.

A question ?

Reference article(s):

#48Requests/ Eco-designLimit unspecified caching 100 x 1

Caching headers are among those Web technologies that are often misconfigured. The fastest request is the one not made, and caching headers allow you to tell browsers when they can reuse a resource they have already downloaded.

This is particularly useful with so-called static resources like images, font files, JS, and CSS files. When no caching is specified, each browser handles it differently. Most of the time, it will automatically add a cache itself, but of poor quality.

To solve this problem, you need to configure the server to return one of the following headers: Cache-control or Expires.

You can combine this request with ETag or Last-Modified, which allow bypassing the previous header in case the file is modified, so that the browser fetches the most recent version of the file.

We recommend using Cache-control and ETag rather than Expires and Last-Modified.

NB: Even with an ETag header, updating a file in the browser can prove complicated. artwaï recommends adding a hash in your file names (and not as a parameter in the URL) to counter this problem.

Number of requests without specified caching

1  5 20 40

With YellowLabTools, we check for the presence of at least one of the following HTTP headers on static files (image, CSS and JS): cache-control, expires, pragma, x-pass-expires or x-pass-cache-control. And if the value assigned to one of these headers is a number strictly greater than 0.

A question ?
#49RequestsLimit disabled caching 100 x 1

Static resources do not need to be updated and therefore downloaded regularly by the browser browsing your site. Indeed, there is no point in making it download the same image on every page...

For testing needs during development, it is not uncommon to disable the cache for these resources to take advantage of the modifications made immediately. But this must not be the behavior of your Web pages in production. This is generally done by specifying a max-age=0 value to the Cache-control header or with the Pragma: no-cache header.

Avoid disabling caching by setting a cache duration to zero.

Number of requests with disabled caching

0  2 15 30

With YellowLabTools, we list the number of requests for static files (image, JS and CSS) with an explicitly specified cache duration of zero.

A question ?

Reference article(s):

#50RequestsLimit overly short caching 100 x 1

Caching static resources is good, but the question of this cache's lifespan remains. As a general rule, the longer you cache, the better.

To make your life easier, use versioned URLs for your static resources. This involves putting a hash in your URL or file name to make it easier to invalidate cached responses.

  • When the resource's URL changes, it forces the browser to download the new resource.
  • If the URL does not change, the browser can immediately use the HTTP cache value, without having to make another network request to your Web server.

Thus, the URL of each version of your files is unique and can be cached almost indefinitely. You immediately benefit from reliability and speed by avoiding an extra network request!

With this versioning strategy, you can set a cache time of one year.

Requests with a caching time of less than a week

1  5 25 50

With YellowLabTools, we list the number of requests for static files (image, JS and CSS) with a specified cache duration of less than a week.

A question ?

Reference article(s):

#157NEW !RequestsEliminate render-blocking resources on the critical rendering path 33 x 3

Before rendering a single pixel, the browser must build the DOM (HTML) and the CSSOM (CSS), then combine them into a Render Tree. Any resource that interrupts this process is considered render-blocking: the browser pauses, waits for the resource to download and execute, and then resumes. The screen remains blank during this time.

This blocking directly impacts FCP (First Contentful Paint), a diagnostic metric that measures when the first visible content appears, and by extension LCP (Largest Contentful Paint), a Core Web Vital linked to loading performance and integrated into Google's ranking signals since 2021.

Two types of resources block rendering:

  • CSS stylesheets loaded via <link rel="stylesheet"> in the <head> block the CSSOM. Non-critical styles (modals, below-the-fold components) have no reason to be on this path. The Critical CSS technique consists of inlining—directly inside a <style> tag in the <head>—only the styles required for the initial fold display, while loading the rest asynchronously.
  • JavaScript scripts without async or defer simultaneously block DOM construction and HTML parsing. The defer attribute delays execution until after parsing is complete; async executes the script as soon as it has downloaded.

In both cases, <link rel="preload" as="style|script"> allows the browser to anticipate downloading critical resources right from the start of parsing, reducing their discovery time regardless of the chosen loading strategy.

Number of Blocking Resources

2  0 3 10

We count the number of blocking requests that were completed before the end of the SpeedIndex.

A question ?

Reference article(s):

#158NEW !RequestsAvoiding parallel loading of numerous small JavaScript and CSS files 100 x 2

Each HTTP request incurs non-compressible latency, independent of file size: DNS resolution, TCP connection establishment, TLS handshake, and header transmission.The W3C benchmark analysis on HTTP performance proves this with figures: on a network with 70 ms latency, a sequence of individual requests totals 5,100 ms, whereas a single combined request would take only 100 ms. Latency, not file size, is the dominant factor as the number of files increases.

HTTP/2 is often cited as the solution to this problem due to multiplexing. It effectively resolves certain bottlenecks by allowing multiple simultaneous requests over a single TCP connection. However, RFC 7540, the official HTTP/2 specification, sets the default limit of concurrent streams to 100, which is the value adopted by production servers (Nginx, Apache, Cloudflare). Beyond this threshold, the browser queues additional requests.

This issue is particularly acute for JavaScript and CSS, as they are the two resource types most aggressively fragmented by modern build tools. Code splitting, CSS-in-JS, dynamic component imports, and themes loaded in separate pieces produce dozens of small files whose transport cost outweighs the benefit of splitting.

Webpack encodes this principle into its defaults: the official configuration of the SplitChunksPlugin refuses to create a chunk (a code fragment generated during bundle splitting) under 20 KB and caps initial load parallel requests at 30. When these two constraints conflict, Webpack favors larger chunks. Below 20 KB, the cost of the request exceeds the benefit of code splitting.

JS/CSS Fragmentation

0  30 60 100

For each domain that loads more than 10 JS or CSS files smaller than 20 KB, count the total number of these small files and sum that total across all affected domains.

A question ?

DOM 95

View analysis

JavaScript having gained tremendous importance, monitor your DOM
and everything related to it to avoid a slowdown in your page's responsiveness.

#13DOM/ Eco-designLimit the number of elements in the DOM 100 x 3

A high number of DOM elements means a lot of work for the browser to render the page. This can slow down your page's performance in several ways:

  • Network efficiency and load performance
    A large DOM tree often includes many nodes that are not visible when the user first loads the page, which unnecessarily increases data costs for your users and slows down load time.

  • Runtime performance
    As users and scripts interact with your page, the browser must constantly recalculate the position and styling of nodes. A large DOM tree coupled with complicated style rules can severely slow down rendering.

  • Memory performance
    If your JavaScript uses general query selectors such as document.querySelectorAll('li'), you may unknowingly be storing references to a very large number of nodes, which can overwhelm the memory capabilities of your users' devices.

DOM size is often related to display issues.  We observe that this comes from a restricted use of HTML semantics which leads to an abuse of <div> and a lack of knowledge of new CSS properties that allow greatly simplifying the DOM tree while being compatible with most browsers.

The DOM is also the most important criterion determining the Ecoindex rating, because it has a direct influence on the lifespan of devices.

Analyze your HTML and CSS code to reduce this DOM, and if necessary ask for advice from the experts at Artwaï.

Number of elements in the DOM

783  1500 3000 4500
A question ?

Reference article(s):

#14DOMLimit the depth of the DOM 70 x 1

A deep DOM makes it difficult for CSS to match DOM elements.

It also slows down JavaScript modifications made to the DOM because modifying an element's dimensions forces the browser to recalculate the dimensions of its parents. The same principle applies to JavaScript events, which bubble up to the document root.

DOM nesting complexity is often linked to display issues. We observe that this comes from a restricted use of HTML semantics which leads to an abuse of <div> tags and a lack of knowledge of new CSS properties that allow greatly simplifying the DOM tree while being compatible with most browsers.

Analyze your HTML and CSS code to reduce this DOM; if necessary, ask for advice from the experts at Artwaï.

Maximum DOM depth

18  15 25 32

YellowLabTools reports the maximum DOM depth found on the page.

A question ?

Reference article(s):

#15DOMLimit the number of iframes NA x 1

The HTML iframe element allows you to embed an HTML page within the current page. Each iframe has its own history and its own active document. This obviously comes at a performance cost. That is why iframes are the most complex HTML elements.

We only see two cases where it is rare to do without them:

  • displaying a video service like YouTube, Dailymotion, or Vimeo.
  • displaying a mapping service like Google Maps or OpenStreetMap.

You must therefore limit their number, and if the iframe is essential:

  • Make sure to properly set the allow and sandbox attributes to limit security risks.
  • It is recommended to always include a title attribute for the iframe. This is used by screen readers to read the iframe's content.

Number of iframes

NaN  4 15 30
A question ?
#16DOM/ AccessibilityDo not have duplicated IDs 100 x 1

The id attribute defines an identifier that must be unique throughout the document. The purpose of this attribute is to identify an element when creating a link, manipulating it with a script, or styling it with CSS.

Since browsers are very forgiving regarding HTML rendering, they allow duplicate IDs. This should be avoided as much as possible and strictly prohibited when accessing elements by ID in JavaScript.

Indeed, what should the getElementById method return when multiple matching elements are found? Should it return an error, the first matching element, a set of elements, etc.?

This is especially important in terms of accessibility. Ensuring that IDs are unique prevents key errors that are known to cause issues for assistive technologies when they try to parse content that has the same id attribute on different elements.

Number of duplicated IDs

0  0 10 50
A question ?
#65DOMPopulate the "height" and "width" attributes of images 80 x 0.5

As long as the browser has not downloaded the image, it does not know these proportions. Even if the CSS code used on the page defines the dimensions at which an image should be displayed, this does not correspond to the actual dimensions of the image.

And as long as these dimensions are unknown you can cause CLS (Cumulative Layout Shift) while the browser fetches the image file.

Therefore, you should always define the width and height attributes on your images despite CSS advancements in recent years. The most important thing is not to define the values that will be used for display, but the proportions of the image itself.

Furthermore, there are some cases where native lazyloading only works if the width and height attributes of the image are defined.

Number of images without HEIGHT and/or WIDTH attributes

2  0 10 50

Counts the number of images without "height" and "width" attributes.

A question ?
#66DOM/ Eco-design/ SEOAvoid severe HTML errors according to W3C 100 x 1

Even if most of the time, the errors reported by the W3C have little impact on the functioning of a page; some errors are unacceptable.

Indeed, any malformed HTML code can cause graphical bugs and in some cases prevent the proper indexing of pages in search engines.

We have identified the following severe errors as errors that must be fixed:

  • Misplaced element: for example, a meta element in the body will not be parsed.
  • No space between 2 attributes.
  • Opening an element that is not subsequently closed.
  • Closing an element that was not previously opened.
  • A fatal error that prevents the validator from scanning the code in its entirety.

Article on the subject:

Number of severe errors according to W3C

0  0 10 20
A question ?
#67DOM/ Eco-design/ AccessibilityAvoid HTML errors according to W3C 88 x 0

It may seem surprising, but malformed and therefore invalid HTML code according to W3C rules ultimately has little impact on the functioning of the page. Why? Because browsers automatically correct the errors they find.

However, if the browser spends time correcting HTML errors, this adds to the load time.

Most errors have little impact, but it is advisable to have as few as possible and to know the reasons for those that cannot be fixed.

Article on the subject:

Number of errors according to W3C

12  0 100 150
A question ?
#161NEW !DOMConfigure the viewport correctly 100 x 1

When a user taps an element on a mobile page, the browser does not immediately know whether it is a simple tap or the start of a double-tap to zoom. By default, it therefore waits up to 300 milliseconds before processing the interaction, just enough time to check if a second tap follows. During this waiting window, the page is completely deaf to any interaction.

This behavior is a direct legacy of the era when websites were not designed for mobile devices and double-tapping was the only way to zoom in on content. Modern browsers have eliminated this delay for properly configured pages. However, it persists as soon as an incorrect viewport is detected, systematically penalizing INP (Interaction to Next Paint), a Core Web Vital for responsiveness and a Google ranking factor. According to an analysis by the Chrome team using HTTP Archive data, 10% of tested sites failed on the mobile viewport, with virtually all displaying an FID (First Input Delay) of 250 to 300 ms in field data—2.5 to 3 times above the acceptable threshold.

Two configuration errors trigger the delay:

  • Fixed width in pixels (width=375) instead of width=device-width: the browser considers that the page is not adapted for mobile.
  • An initial-scale lower than 1 (initial-scale=0.9): the browser re-enables double-tap to allow the user to zoom in on content displayed too small.

The correct configuration is:

<meta name="viewport" content="width=device-width, initial-scale=1">

Configuration du viewport

1  1 0 0

Uniquement en mobile sinon N/A. Audit Lighthouse sur l'URL testée.

A question ?

Reference article(s):

JS 98

View analysis

The loading time of a Web page is often more due to the execution of JS code
than the loading of the page's resources... Monitor the quality of the JavaScript code.

#17JSLimit the total JS execution time 99 x 4

The browser's rendering process is what transforms your code into a webpage your users can interact with. By default, the main thread of the rendering process generally handles most of the code: it parses HTML and builds the DOM, parses CSS and applies specified styles, and parses, evaluates, and executes JavaScript.

The main thread also handles user events. Thus, whenever the main thread is busy doing something else, your webpage may not respond to user interactions, leading to a poor experience.

Lighthouse recommends a main thread busy time of under 4 seconds and a JavaScript execution time of under 2 seconds (which is what we measure for this test).

The goal here is to reduce the number of milliseconds the browser spends executing JavaScript during page load.

Total JavaScript execution time

0.52 s 0.5 2 4
A question ?

Reference article(s):

#18JS/ Eco-designLimit DOM accesses 100 x 2

Modifying the DOM, by adding and removing elements, modifying attributes, classes, or animations, will force the browser to recalculate element styles and, in many cases, to lay out (or reflow) the page or parts of it.

The more your JavaScript code accesses the DOM, the slower the page will load and interact. By analyzing the number of times JavaScript reads, modifies, or binds the DOM, we can determine an indicator to evaluate the browser-side load.

And remember that the larger the number of DOM elements, the slower the DOM accesses because there are more elements to traverse.

This number of DOM accesses should be as small as possible. Try, whenever possible, to have an HTML page fully generated by the server instead of making modifications with JS. Also, try to reduce the number of requests by refactoring your JavaScript code. Binding too many JS events also has a cost.

Number of DOM accesses

228  500 2500 5000

With a script injected into WebPageTest, we count the number of DOM accesses called in JS. This includes:

  • getElementById()
  • getElementsByTagName()
  • getElementsByClassName()
  • querySelector() or querySelectorAll()
  • appendChild() or insertBefore()
  • addEventListener()
  • adding or removing nodes
  • attribute changes
A question ?
#19JSLimit the number of 'scroll' events bound to 'window' or 'document'. 71 x 1

Asking the browser to do too much work on scrolling harms scroll fluidity. In general, simply adding an event listener, even an empty one, to the document can have a significant negative impact on scroll performance.

Merging all your event listeners into a single listener can help you refactor their code and reduce their footprint on scrolling.

However, the trigger time interval for the onscroll event is around 10 to 20 ms when you scroll the mouse wheel or scroll your smartphone screen. So, avoid requesting too many things at the same time if you don't want to degrade the user experience.

Another solution is to switch to the Intersection Observer. Rather than determining how far the user has scrolled the page, you can use the Intersection Observer to determine if something is currently visible on the page.

Number of 'scroll' events bound to 'window' or 'document'.

3  1 8 15
#20JSAvoid JavaScript errors 100 x 1

Most browsers come with built-in developer tools. These developer tools usually include a console. The console gives you information about the currently running page.

The messages logged in the console come either from the web developers who built the page or from the browser itself. All console messages have a severity level: Verbose, Info, Warning, or Error.

Errors logged in the console indicate unresolved issues. These can be due to failed network requests and other browser issues. You must resolve these errors because, potentially, they block further execution on the main thread.

Optionally, as part of an automated production pipeline, you can validate your JavaScript code using verification tools like JSLint or ESLint.

JavaScript errors

0  0 1 5
A question ?

Reference article(s):

#21JSAvoid JS calls to "document.write" NA x 2

JS calls to "document.write" slow down page construction, especially if they are used to insert scripts into the page.

Indeed, if the script dynamically injects another script, the parser is forced to wait even longer for the resource to download, which can result in one or more network round trips and delay the first render of the page.

From a performance perspective, document.write() is not inherently bad. In fact, all it does is highlight potential behaviors already present in any synchronous script - the only main difference is that document.write() guarantees these negative behaviors will manifest, whereas other synchronous scripts might use alternative optimizations to bypass them. Even the MDN documentation advises against them!

Conclusion: remove them as soon as possible!

If you cannot remove them because they come from a third-party script (such as ads), check out PostScribe.

Number of JS calls to "document.write"

NaN  0 2 6

Reference article(s):

#22JSAvoid synchronous AJAX requests. 100 x 5

AJAX (Asynchronous JavaScript + XML) refers to an approach using existing web technologies, primarily the XMLHttpRequest object. By using AJAX requests, web applications are able to make quick updates to the user interface without having to reload the entire page in the browser. Pages are expected to run faster and be more responsive to user actions.

But, you still have to pay attention to details: the async parameter of the XMLHttpRequest request must be set to true and not to false. Otherwise, the browser's main thread must stop everything until the response is received...

It is not the technology that is at fault, but the synchronous and therefore blocking nature of its use when the async option is set to false.

Number of synchronous AJAX requests

0  0 1 1
#23JSLimit the number of global variables 100 x 0.5

With JavaScript, by declaring a global variable, it remains in memory throughout its lifecycle. Some will tell you that the performance impact is negligible...

However, if we save long text strings or JSON data in global variables, the browser can quickly run out of memory, which could degrade or crash the page. Furthermore, global variables also take slightly longer to access than a function's local variables.

By declaring variables in a local context using, for example, the let or const keyword, block scope is applied and the variables are cleared from memory after the block executes.

Thus, trying to always use a local variable within its scope is a good practice that can significantly improve overall performance, especially when replacing a large number of global variables.

Conversely, having a large number of global variables is a bad practice as they clutter memory and the global namespace. Moreover, if two scripts use the same variable name in the global scope, this can cause conflicts and is generally difficult to debug.

Number of global variables

17  20 300 800
A question ?
#24JSUse the latest version of jQuery 100 x 2

jQuery is a free, cross-platform JavaScript library created to facilitate scripting. Since the library's goal is DOM traversal and manipulation, it contains many features; notably animations, cascading stylesheet manipulation, event handling, etc. The use of Ajax is also simplified and many plugins are available.

Since its creation in 2006, and particularly due to the growing complexity of Web interfaces, jQuery has been widely successful among Web developers. It is currently, in 2022, the most used front-end library in the world.

Every new version of jQuery optimizes performance. Do not keep an old version of jQuery. Updating can sometimes break things, but they are usually quite easy to fix. So do not hesitate. The latest version as of July 2023 is version 3.7.0.

Below version 3, jQuery includes backward compatibility code for very old browsers. These versions are very heavy and slow. They should be avoided if you are looking for performance. (artwaï also has a negative opinion on the use of the associated jQuery UI library, which is even heavier across all versions).

Most of jQuery's features are now achievable with native DOM APIs and may be unnecessary in today's web pages. artwaï recommends not using it at all: R.I.P jQuery.

jQuery version

3.7  3 0 0

The version test is based solely on the first 2 digits (example: 3.3 for 3.3.1).

#25JSLoad jQuery only once 100 x 2

By referring to BP#24, you know that jQuery is a heavy library that can harm your performance. It is therefore obvious that you should never load jQuery more than once on the same page.

Yet this happens more often than you might think: redundancy in the production chain or a third-party script embedding its own version of jQuery. In that case, you have 2 different jQuery versions that may also conflict with each other.

Most of jQuery's features are now achievable with native DOM APIs and may be unnecessary in today's web pages. artwaï recommends not using it at all: R.I.P jQuery.

Number of loaded jQuery versions

1  1 2 3
#159NEW !JSAvoid Duplicate JavaScript modules across bundles 100 x 1

Modern bundling tools (Webpack, Rollup, Vite) split JavaScript into multiple files (called chunks or bundles) to enable on-demand loading. When the bundling configuration is incorrect or common dependencies are not properly externalized, the exact same module can end up included in several chunks simultaneously. As a result, the browser downloads the same code multiple times without realizing it.

This issue is invisible to the naked eye: features run normally and no errors are raised. Yet, every duplicated byte is unnecessarily transferred over the network, needlessly parsed and compiled by the JavaScript engine, and needlessly consumes memory. This superfluous work generates Long Tasks, impacting three key metrics:

  • INP (Interaction to Next Paint), a Core Web Vital measuring the latency between a user interaction (click, keystroke) and the subsequent visual response, is the most directly penalized metric: if the main thread is busy executing duplicated code when the interaction occurs, the response is delayed.
  • TBT (Total Blocking Time), a metric measuring the total cumulative time the main thread is blocked during page load, mechanically absorbs every Long Task generated.
  • TTI (Time to Interactive) is ultimately delayed for as long as the main thread remains occupied before becoming fully available.

The most common causes are the absence of a splitChunks configuration (Webpack's option defining rules for splitting and sharing common modules across chunks) or manualChunks (its Rollup/Vite equivalent, which allows manually grouping dependencies into a dedicated chunk) to externalize shared dependencies. Another frequent cause is the coexistence of multiple versions of the same library at different levels of the node_modules tree.

The fix involves configuring a vendor chunk—which consolidates shared third-party libraries, loads only once, and gets cached by the browser—and regularly auditing the dependency tree using tools like webpack-bundle-analyzer or vite-bundle-visualizer.

Duplicate JS modules

0 KB 20 200 500

Retrieving data using Lighthouse's “wastedBytes” value.

Reference article(s):

#160NEW !JSDo not penalize modern browsers with code intended for older ones 100 x 1

To guarantee compatibility with older browsers, transpilation tools like Babel convert modern JavaScript (ES6+) into ES5 code and inject backwards-compatibility code (snippets that emulate native features missing in legacy browsers, also known as polyfills). While this process was essential a few years ago, today it mostly represents dead weight: modern browsers natively support these features and have no need for this extra code. Yet, this legacy code is served to all visitors indiscriminately, needlessly bloating bundle sizes, lengthening parsing and compilation times, and generating Long Tasks on the main thread.

Before looking for a technical solution, it is helpful to ask the right question: is supporting these older browsers truly necessary ? This is what the principle of progressive enhancement advocates: building a functional baseline experience for everyone, then enhancing that experience for capable browsers. Following this logic, a user on an older browser receives a working page—perhaps without every advanced interaction—rather than a heavy page attempting to emulate everything. In practical terms, if analytics show less than 1 to 2% of traffic coming from browsers that lack ES6+ support, the performance penalty paid by the remaining 98% is no longer justified. A regular audit of your analytics allows for an objective decision.

In the worst-case scenario, depending on your tech stack and if supporting older browsers remains mandatory, the recommended solution is differential serving, which consists of generating two distinct bundles and letting the browser choose:

HTML
<!-- Modern browsers — native syntax, no transpilation -->
<script type="module" src="modern.js"></script>

<!-- Older browsers — full transpiled bundle -->
<script nomodule src="legacy.js"></script>


Modern browsers ignore the nomodule attribute and load only modern.js. Older browsers ignore type="module" and load legacy.js.

Unnecessary code for modern browsers

0 KB 5 100 250

 

 

Reference article(s):

CSS 76

View analysis

CSS and associated fonts generally have less impact than other categories. 
But the accumulation of bad practices can cause display issues.

#26CSSLimit the number of CSS rules 72 x 2

Having a large number of CSS rules harms performance.

During the initial rendering of the page, CSS is applied to a page, and a DOM-like structure known as the CSS Object Model (CSSOM) is created. This rendering of styles requires the browser to verify at least once whether each element matches each declared CSS selector. Simply put, you multiply the number of elements by the number of selectors!

If the number of CSS rules is greater than the number of DOM elements, there is clearly a problem.

Large stylesheets generally occur when the different pages of a website load all the CSS, concatenated into a single stylesheet, even if a large portion of the rules are useless for the current page. In this case, a solution is to create a main CSS file with global rules and a custom file per page.

Otherwise, you must rethink your CSS design, or even review the site's graphical consistency, to factorize your selectors. Implementing a design system can be highly useful in this effort. If necessary, ask for advice from the experts at artwaï.

Number of CSS rules

2845  2000 5000 8000
A question ?

Reference article(s):

#27CSS/ Eco-designAvoid complex selectors 9 x 2

Complex selectors are CSS selectors with 6 elements or more, like "#header ul li .foo".
Combinators like "space", ">", "+", ":not()", etc., count as one element. Our example "#header ul li .foo" thus has 7 elements: an id (#header), a space, a tag (ul), a space, a tag (li), a space, and a class (.foo).
Contrary to what one might think, too much precision in CSS selectors becomes counterproductive for performance.

For the initial rendering of styles, the browser checks at least once whether each element in the DOM matches each declared CSS selector (see BP#26). Each selector is parsed from right to left to verify if the element matches the selector. The browser filters the DOM elements based on the rightmost selector element and traverses its parent elements to determine matches. The longer the selector chain, the more parent elements the browser must traverse to determine if the rightmost element matches the selector.

Therefore, by specifying more than one selector, you unnecessarily complicate the browser's work.

This can happen if stylesheets are developed in SCSS. Front-end developers tend to over-indent and thus over-specify CSS selectors. Compilation with Gulp or Grunt cannot fix this problem automatically.

NB: You can visualize the complexity and specificity of your selectors with a tool like Specificity Visualizer.

Simplifying selectors requires the trained eye of a front-end integrator. And why not an integrator from artwaï?

Number of complex selectors

913  0 1000 24000

We count per expression and combinator (space, +, >,...) the number of selectors with 6 elements or more.

A question ?

Reference article(s):

#28CSSLimit the number of different colors 0 x 0.5

Let's be clear: the number of colors defined in your CSS has no impact on your pages' load time. Even their encoding, whether hex, RGB, or HSL, makes no noticeable difference in terms of parsing speed.

However, it is an indicator of your code's quality. Indeed, if the number of colors is very high, it's a safe bet that the consistency of the CSS code across all other characteristics is similar. This means un-factored code with all the drawbacks that entails.

Ideally, a color palette is determined upstream, possibly using CSS or SCSS variables. And each component uses these referenced colors.

Beyond performance, the maintainability of your CSS code is at stake here. Your CSS will be easier to maintain if you keep a small set of colors.

To implement this best practice, the first step is to identify similar colors and rationalize them. For this, refer to BP#29.

Number of different colors

201  100 200 500
A question ?
#29CSSAvoid having too many similar colors 68 x 0.5

Let's be clear: the number of colors defined in your CSS has no impact on your pages' load time. Even their encoding, whether hex, RGB, or HSL, makes no noticeable difference in terms of parsing speed.

Beyond the number of colors which can be justified, it is the similarity of certain colors among themselves that needs to be questioned. Their proximity can make it impossible for the user to distinguish between them. Therefore, what is the point of keeping two similar colors if one can do the job?

This is especially true because it is an illusion to believe that you control the final rendering of these colors. While a color remains the same from a code perspective, the physical rendering of a color depends on the screen used, the materials used for display, display settings (especially the contrast ratio), room lighting, and an almost infinite range of situations.

Beyond performance, the maintainability of your CSS code is at stake here. Reducing this number by merging similar colors is part of the solution to reduce the total number of colors (see BP#28).

The number shown in the measured metric is the list of colors found in the stylesheets that are very close to each other. The eye can barely see the difference. Use this list to reduce the number of colors in your palette; your CSS will be easier to maintain.

Number of similar colors

19  0 60 120
A question ?
#30CSSLimit the number of breakpoints 95 x 0.5

CSS breakpoints are points where the website content responds according to the device width, allowing you to show the best possible layout to the user. They are generally tiers whose value is incremented according to the target resolutions.

To define these tiers, media queries are used with sizing instructions usually relating to width. Note that the metric measured here is based solely on the media queries min-width, max-width, min-device-width, and max-device-width.

From an operational standpoint, a browser's rendering engine serializes and removes duplicate media queries so they only need to evaluate each media query once. They also cache the queries to reuse them later. Thus, even if there is a performance difference, it is minimal regarding the initial load. However, if you resize the browser window, it can cause a massive CPU and memory load that could even crash your browser. This is certainly not a common use case (no user constantly resizes their browser), but it still reflects the code's complexity.

Your CSS will be easier to maintain if you keep a reasonable number of breakpoints. Try to use a fluid design - using percentages - to avoid creating many breakpoints.

To reduce this number, define your targets well based on your traffic statistics or draw inspiration from the breakpoints of popular CSS frameworks like Bootstrap, which in its version 5.3 defines 6 breakpoints. If necessary, ask for advice from the front-end integrators at artwaï.

Number of breakpoints

12  10 50 80
A question ?
#31CSS/ Eco-designLimit non-mobile-first media queries 100 x 1

Mobile-first is considered the set of practices that prioritizes the needs of mobile users to optimize their experience. In terms of CSS code, this consists of writing CSS so that small devices and smartphones can access their styles without having to parse the styles written for desktop computers.

Generally, common elements for all devices are defined first. Then, specific elements for each resolution are defined tier by tier using media queries, relying on the min-width instruction. The use of max-width is not forbidden, but you must keep two principles in mind:

  • Only define styles when necessary.
  • Do not define them in the hope of overriding them later, over and over again.

Ideally, split your CSS into multiple files and distribute them via the link element in the head by specifying the media query directly with the media attribute. You will benefit from the browser's prioritization, which will load the files corresponding to its resolution first. If you work in SCSS, using a compiler like GULP should automate this task.

Following this practice can help resolve FOUC (Flash Of Unstyled Content) issues where the user might see your page load unstyled for a few moments before correcting itself.

Number of non-mobile-first media queries

43  60 400 1200

The test counts all max-width mentions found in the media queries of the CSS code.

A question ?

Reference article(s):

#32CSSAvoid CSS syntax errors 100 x 3

A CSS syntax error can have significant effects on the display of your web pages. And here it's not just about performance, but it can have unwanted effects on the functionality itself. A button that becomes unclickable, overlapping elements, or a page displayed with no styling at all.

To avoid this kind of error, you can validate your code manually with an online validator like the W3C one or CSSLint, or in your deployment pipeline automatically check the CSS code with a compiler like GULP or Grunt.

Note: we are not measuring syntaxes here that would not be supported by a specific browser version X or Y. For that, refer to the site caniuse.com.

Article on the subject:

Number of CSS errors

0  0 2 20
A question ?
#33CSSAvoid CSS @imports 100 x 4

Most CSS files are render-blocking resources, meaning the browser must download them before it can display content to the user.

The @import CSS rule is one of the available ways to load additional stylesheets within a CSS instruction. And when multiple stylesheets are added with @import, the browser must sequentially download these files. There can even be a cascade of requests, one CSS file calling another which calls another, and so on... As a result, the web page loads slower.

This often happens when importing Google Fonts into a CSS file: the Google fonts CSS only starts loading after the initial file is downloaded.

Conversely, multiple link tags within the HTML are more efficient and load CSS files in parallel. There is therefore an effective solution: you should use <link rel='stylesheet' href='a.css'> instead.

Number of CSS @imports

0  0 1 1
A question ?
#34CSSAvoid duplicated selectors 84 x 2

If there are two or more CSS selectors pointing to the same element, the selector with the highest specificity value will "win" and its style declaration will be applied to that HTML element. Think of specificity as a score/rank that determines which style declaration is ultimately applied to an element. You can see how the specificity score is determined on the What is Specificity? page from W3Schools.

This therefore requires some computation time to determine which has priority; especially if the selectors are strictly identical. Duplicate selectors are very rarely intentional. In the case of a selector based on an ID, it is almost certainly an error. In addition to the extra work required by the browser, this is often a source of conflict and does not help maintenance.

There is only one way out: when two or more selectors are strictly identical within the same media query, they must be merged.

In the case of an automated production pipeline with GULP or Grunt, it is easy to group these duplicated selectors into one. But beware of duplicated properties! (see BP#35)

Number of duplicated selectors

16  0 100 200
A question ?
#35CSSAvoid duplicated CSS properties 97 x 1

CSS allows duplicate properties even within the same selector. But only the last instance of the property determines the actual value that will be assigned to the target element. Therefore, changing the values of previous occurrences of a duplicated property will have no effect and worse, it can lead to conflicts and display bugs.

Thus, only the last occurrence of the property is useful. As a result, we include extra code that requires more time to be downloaded.

Property duplication is therefore as much a maintainability issue as a performance one.

The best solution remains to use a CSS parser which, within an automated production chain with GULP or Grunt for example, will automatically remove occurrences of useless properties.

Number of duplicated CSS properties

3  0 100 200
A question ?
#36CSS Avoid empty CSS rules. 100 x 2

The initial rendering of styles requires that the browser checks at least once whether each element matches each declared CSS selector, even if it contains no properties, in short, even if it is empty.

Why overload the browser's work with an unnecessary CSS Object Model (CSSOM) traversal?
The solution is therefore simple: remove all empty rules.

In the case of an automated production pipeline with GULP or Grunt, it is easy to remove these empty selectors.

Number of empty CSS rules.

0  0 50 120
A question ?
#37CSSAvoid using !important in CSS 0 x 2

An !important declaration allows giving a CSS value more weight than it naturally has.

The !important tag seems to be the easiest solution to force styles that are not working as expected. This situation occurs when you try to override styles that are declared elsewhere in your CSS. Generally, the selector you are using does not have priority over another. You can see how the specificity score is determined on the What is Specificity? page from W3Schools.

The !important declarations should not be used unless they are absolutely necessary after all other avenues have been exhausted. It is a bad practice because it replaces the normal CSS cascade logic: the more you use !important, the more you need it again to override it. This leads to poor maintainability of the CSS code.

To resolve this issue, you will generally need to review the specificity of the selectors using the !important mention so that they regain priority.

Number of !important in CSS

337  0 200 1000
A question ?
#38CSSAvoid fixes dedicated to the old IE browser 96 x 1

This is about removing unnecessary code. Indeed, old habits die hard and it is not uncommon to find within CSS code, properties, selectors, or even hacks that refer to very old browsers.

Internet Explorer is one of these. Since 2019, Microsoft recommends no longer using it. And in June 2022, Microsoft definitively ended development and support for Internet Explorer, after twenty-seven years of service.

Even with this past popularity, nothing justifies specifically targeting Internet Explorer today, which represents less than 0.5% of market share in July 2023...

It is therefore advisable to remove all old ways of writing CSS for this browser.

Number of obsolete IE mentions

4  0 100 300

YellowLabTools counts the number of mentions of rules whose use is now obsolete.

IE6:

  • * html
  • html > body (everything but IE6)

IE7:

  • *height: 123px;
  • height: 123px !ie;

IE9:

  • -ms-filter
  • progid:DXImageTransform.Microsoft
A question ?
#39CSSAvoid old CSS prefixes 89 x 1

CSS vendor prefixes or CSS browser prefixes are a way for browser makers to add support for new CSS features before those features are fully supported in all browsers. This can be done during an experimental period where the browser manufacturer determines exactly how these new CSS features will be implemented. These prefixes became very popular with the rise of CSS3 a few years ago.

Once the experimentation period is over, these prefixes become unnecessary.

Thus, many property prefixes such as -moz- or -webkit- are no longer needed, or only for very few browsers. Sometimes, they never even existed and were integrated due to the developer's lack of knowledge. You can remove them or replace them with the unprefixed version to reduce this unnecessary portion of code. This will help reduce the weight of your stylesheets.

NB: the prefix database comes from Can I Use.

Number of old CSS prefixes

11  0 100 400
A question ?
#40CSSAvoid body redundancy in CSS selectors 95 x 1

Beyond complex selectors (see BP#27), it is often unnecessary to over-specify a selector. This means that an HTML tag can be redundant or even completely useless.

This is the case for the body tag, since any element you wish to style is necessarily inside the body. Remember that each selector is parsed from right to left to verify if the element matches the selector. Therefore, by specifying a body parent for your selectors, you needlessly complicate the browser's work.

You must therefore remove redundant body tags, which is a way to reduce the complexity of your CSS rules.

NB: the body tag can itself be styled. In this case, it is not redundancy.

Number of redundant body tags in CSS selectors

6  0 120 400
A question ?
#41CSSAvoid redundant tags in CSS selectors 90 x 1

Beyond complex selectors (see BP#27), it is often unnecessary to over-specify a selector. This means that an HTML tag can be redundant or even completely useless.

This is the case for certain tags included within other tags. For example, when "ul li" is specified in a rule, "ul" can be removed because the "li" tag is almost always inside a "ul" container (the "ol" container is quite rare). The same goes for "tr td", "select option", ...

Remember that each selector is parsed from right to left to verify if the element matches the selector. Therefore, by specifying an obvious tag based on its hierarchy in your selectors, you unnecessarily complicate the browser's work.

You must therefore remove redundant tags, which is a way to reduce the complexity of your CSS rules.

Number of redundant tags in CSS selectors

12  0 120 400
A question ?
#42CSS/ Eco-designLimit the number of fonts 50 x 1

Web fonts affect performance in different ways:

  1. If a web font hasn't loaded, browsers usually delay text rendering. In many situations, this delays the FCP (First Contentful Paint) and sometimes the LCP (Largest Contentful Paint).
  2. While the font is loading, a fallback font is displayed. When the font display switches, it can cause layout shifts and impact the CLS (Cumulative Layout Shift). This occurs when a web font and its fallback font have different glyph sizes.

Therefore, it's in your best interest to reduce the number of fonts on your web pages. There are three solutions to reduce this number: system fonts and variable fonts.

  • A system font is the default font used by the browser. System fonts generally vary by operating system and version. But since the font is already installed, it doesn't need to be downloaded. System fonts work particularly well for body text.

  • Using "faux bold" in CSS avoids loading a dedicated file for a "bold" version of an already loaded font.

  • A variable font can be used to replace multiple font files. Indeed, variable fonts work by defining a "default" font style and providing "axes" to manipulate the font.

As a general rule, a single font family and a single font for icons should be enough.

Some articles on the subject:

Number of fonts

4  2 6 10
A question ?
#43CSSLimit font file size 94 x 0.5

Above a weight of 40 KB, the font is probably not optimized for the Web.

There are several reasons for this excess weight:

  • A problem with the compression or format of the font (see BP#44).
    NB: a font in WOFF2 format does not compress, as it is already compressed.
  • The font contains too many glyphs. In this case, use a single subset of the font (Latin, Latin-ex, Cyrillic...). Rather than offering all characters to all users, you can use distinct font subsets for Latin and Cyrillic characters, for example. You can reduce font file sizes by creating these font subsets, which will only load if a character from the subset is displayed.
  • Or the font glyphs have complex shapes. You can try to reduce the complexity of the glyphs.

A tool like fontsquirrel.com allows you to adjust all the font's parameters to reduce its weight.

Number of kilobytes above 40 KB per font

5.98 KB 0 100 200

This metric is the sum of all bytes above 40 KB in loaded fonts.

A question ?
#44CSSPrefer fonts in WOFF2 format 100 x 0.5

The formats often mentioned in stylesheets are:

  • Embedded OpenType (EOT): EOT is a legacy format developed by Microsoft. Older versions of Internet Explorer require EOT to display your web fonts. EOT is often served uncompressed, so unless you need browser support like IE8 or lower, you'd be better off leaving it out.
  • TrueType (TTF): TTF is a font format developed by Microsoft and Apple in the 1980s. Modern TTF files are also called TrueType OpenType fonts. TTF can be useful to extend support to some older browsers, particularly on mobile, if you need it.
  • Web Open Font Format (WOFF): WOFF was developed in 2009 as a wrapper format for TrueType and OpenType fonts. It compresses files and is supported by all modern browsers.
  • Web Open Font Format 2 (WOFF2): WOFF2 is an update to the original WOFF format. Developed by Google, it is considered the best format of the bunch as it offers smaller file sizes and better performance for modern browsers that support it.

NB: SVG fonts are no longer supported by Chrome since version 38 dating from 2016.

Among these font formats, WOFF2 is the most recent. It is supported by most browsers and offers the best compression. Because it uses Brotli, the WOFF2 format is 30% more compressed than WOFF, thereby reducing the amount of data to download and improving performance.

Given browser support, artwaï recommends using only WOFF2 (while planning a fallback strategy to a system font).

Some online tools like fontsquirrel.com can help you easily convert older formats to WOFF2.

Expected gain by switching to WOFF2

0 KB 0 50 120

We test the weight difference between the found fonts that are not WOFF2 and their expected weight by converting them to WOFF2.

A question ?

Eco-design (21 best practices)

In terms of best practices, eco-design shares 90% of its DNA with performance. On one hand, we seek speed, and on the other, sobriety. The idea in both cases is to seek efficiency. We have grouped these best practices, mostly from the framework provided by Green.it and its collective, into 3 sub-categories: Terminal, Network, and Server, corresponding to the 3 criteria defining the Ecoindex.

Terminal 83

The ecological impact of user terminals is the most significant.
Optimizing the user experience aims to limit the replacement rate of these terminals.

#3Terminal/ PerformanceProperly size images 100 x 4

Ideally, your page should never serve images larger than the version displayed on the user's screen. The rule of thumb is to size the image to its actual display size. You can very well have a 1000 px x 1000 px image displayed at 100 px x 100 px. As a result, exaggeratingly, your image is 10 times heavier than necessary. 

Thus, anything larger than that simply results in wasted bytes and slows down the page load time. 

The primary strategy for delivering appropriately sized images is called "responsive images". With responsive images, you generate multiple versions of each image, and then specify which version to use in your HTML or CSS using media queries based on viewport dimensions. 

Furthermore, the "sizes" attribute linked to the "srcset" of a responsive image might be incorrect. This can lead to a poor choice of loaded image, potentially resulting in more weight or a degradation of the displayed image.  To check this aspect, you can use the Responsive Image Linter extension in Chrome, which checks every image on the page.

Article on the subject: 

Potential gain

0 KB 2 300 500

With YellowLabTools, we compare the number of pixels in a loaded image to the number of physical pixels on which it is displayed, to deduce the number of KB that could be saved.

A question ?
#13Terminal/ PerformanceLimit the number of elements in the DOM 100 x 5

A high number of DOM elements means a lot of work for the browser to render the page. This can slow down your page's performance in several ways:

  • Network efficiency and load performance
    A large DOM tree often includes many nodes that are not visible when the user first loads the page, which unnecessarily increases data costs for your users and slows down load time.

  • Runtime performance
    As users and scripts interact with your page, the browser must constantly recalculate the position and styling of nodes. A large DOM tree coupled with complicated style rules can severely slow down rendering.

  • Memory performance
    If your JavaScript uses general query selectors such as document.querySelectorAll('li'), you may unknowingly be storing references to a very large number of nodes, which can overwhelm the memory capabilities of your users' devices.

DOM size is often related to display issues.  We observe that this comes from a restricted use of HTML semantics which leads to an abuse of <div> and a lack of knowledge of new CSS properties that allow greatly simplifying the DOM tree while being compatible with most browsers.

The DOM is also the most important criterion determining the Ecoindex rating, because it has a direct influence on the lifespan of devices.

Analyze your HTML and CSS code to reduce this DOM, and if necessary ask for advice from the experts at Artwaï.

Number of elements in the DOM

783  1500 3000 4500
A question ?

Reference article(s):

#18Terminal/ PerformanceLimit DOM accesses 100 x 3

Modifying the DOM, by adding and removing elements, modifying attributes, classes, or animations, will force the browser to recalculate element styles and, in many cases, to lay out (or reflow) the page or parts of it.

The more your JavaScript code accesses the DOM, the slower the page will load and interact. By analyzing the number of times JavaScript reads, modifies, or binds the DOM, we can determine an indicator to evaluate the browser-side load.

And remember that the larger the number of DOM elements, the slower the DOM accesses because there are more elements to traverse.

This number of DOM accesses should be as small as possible. Try, whenever possible, to have an HTML page fully generated by the server instead of making modifications with JS. Also, try to reduce the number of requests by refactoring your JavaScript code. Binding too many JS events also has a cost.

Number of DOM accesses

228  500 2500 5000

With a script injected into WebPageTest, we count the number of DOM accesses called in JS. This includes:

  • getElementById()
  • getElementsByTagName()
  • getElementsByClassName()
  • querySelector() or querySelectorAll()
  • appendChild() or insertBefore()
  • addEventListener()
  • adding or removing nodes
  • attribute changes
A question ?
#27Terminal/ PerformanceAvoid complex selectors 9 x 3

Complex selectors are CSS selectors with 6 elements or more, like "#header ul li .foo".
Combinators like "space", ">", "+", ":not()", etc., count as one element. Our example "#header ul li .foo" thus has 7 elements: an id (#header), a space, a tag (ul), a space, a tag (li), a space, and a class (.foo).
Contrary to what one might think, too much precision in CSS selectors becomes counterproductive for performance.

For the initial rendering of styles, the browser checks at least once whether each element in the DOM matches each declared CSS selector (see BP#26). Each selector is parsed from right to left to verify if the element matches the selector. The browser filters the DOM elements based on the rightmost selector element and traverses its parent elements to determine matches. The longer the selector chain, the more parent elements the browser must traverse to determine if the rightmost element matches the selector.

Therefore, by specifying more than one selector, you unnecessarily complicate the browser's work.

This can happen if stylesheets are developed in SCSS. Front-end developers tend to over-indent and thus over-specify CSS selectors. Compilation with Gulp or Grunt cannot fix this problem automatically.

NB: You can visualize the complexity and specificity of your selectors with a tool like Specificity Visualizer.

Simplifying selectors requires the trained eye of a front-end integrator. And why not an integrator from artwaï?

Number of complex selectors

913  0 1000 24000

We count per expression and combinator (space, +, >,...) the number of selectors with 6 elements or more.

A question ?

Reference article(s):

#31Terminal/ PerformanceLimit non-mobile-first media queries 100 x 2

Mobile-first is considered the set of practices that prioritizes the needs of mobile users to optimize their experience. In terms of CSS code, this consists of writing CSS so that small devices and smartphones can access their styles without having to parse the styles written for desktop computers.

Generally, common elements for all devices are defined first. Then, specific elements for each resolution are defined tier by tier using media queries, relying on the min-width instruction. The use of max-width is not forbidden, but you must keep two principles in mind:

  • Only define styles when necessary.
  • Do not define them in the hope of overriding them later, over and over again.

Ideally, split your CSS into multiple files and distribute them via the link element in the head by specifying the media query directly with the media attribute. You will benefit from the browser's prioritization, which will load the files corresponding to its resolution first. If you work in SCSS, using a compiler like GULP should automate this task.

Following this practice can help resolve FOUC (Flash Of Unstyled Content) issues where the user might see your page load unstyled for a few moments before correcting itself.

Number of non-mobile-first media queries

43  60 400 1200

The test counts all max-width mentions found in the media queries of the CSS code.

A question ?

Reference article(s):

#52Terminal/ Accessibility/ SEO/ UXPopulate a "title" tag 100 x 0.5

The <title> tag is one of the most versatile elements of a web page: it simultaneously serves search engine optimization, navigation, accessibility, and user experience. Omitting or neglecting it creates cascading issues across all these areas.

For the user, the title is omnipresent yet quiet. It appears in the browser tab — making it possible to identify the page when managing multiple tabs — in bookmarks when saved, and in search results, where it is often the first element read before clicking. A precise title reduces unnecessary visits: users know before clicking whether the page meets their needs. It saves time and directly reduces friction.

For accessibility, the title is the very first element announced by screen readers upon landing on a page. A missing or generic title ("Page", "Home", "Untitled") deprives the user of any immediate orientation.

For search engines, the title is one of the most direct relevance signals. Google uses it to determine the page's topic and displays it in SERPs — a poorly written title lowers the click-through rate.

For eco-design, a relevant title prevents unnecessary user visits, shortens search time, and reduces server load.

A few rules to follow:

  • Uniqueness: each page must have a distinct title; never duplicate titles across pages.

  • Length: between 30 and 60 characters for proper display in SERPs.

  • Consistency: the title must align with the page's <h1>; they do not need to be identical, but they must confirm the same subject.

  • Relevance: integrate keywords naturally, without stuffing.

Presence of a title in the head

1  1 0 0
A question ?
#53Terminal/ SEO/ UXPopulate a "meta description" tag 0 x 0.5

The HTML "meta description" tag is used by search engines to describe the content of a web page. In search engine results, this description is displayed below your page's title and URL.

Note: Google tends to use the description text from this tag, but if it proves uninformative, the search engine may also use your page's content to generate a snippet.

Do not think of your "meta descriptions" as being meant solely for search engines. Due to the overuse of keywords in this text field, Google decided to remove the "meta description" tag from its ranking criteria, as stated on the official Google blog in 2007: "it's worth noting that while accurate meta descriptions can improve clickthrough, they won't affect your ranking in search results."

For the user, a well-written meta description plays the same role as an editorial hook: it answers in a single sentence the question "will this page meet my needs?". A missing or generic description leaves Google to automatically generate a snippet that is often unappealing, out of context, or truncated. A precise and engaging description reduces unnecessary clicks, shortens search time, and improves satisfaction even before landing on the page.

For eco-design, a relevant description prevents users from visiting an irrelevant page, reduces the number of requests needed to find the right resource, and lightens the server load accordingly.

A few rules to follow:

  • Length: between 90 and 250 characters. Below 50 characters, Google Search Console flags it as too short.

  • Uniqueness: every page must have its own description; never duplicate across pages.

  • Relevance: integrate keywords naturally, without stuffing: Google bolds them in the SERPs when they match the query, which boosts visibility.

  • Tone: write for the user, not the search engine: a description that addresses search intent converts better than a list of keywords.

Presence of the meta description

0  1 0 0
A question ?
#66Terminal/ Performance/ SEOAvoid severe HTML errors according to W3C 100 x 1

Even if most of the time, the errors reported by the W3C have little impact on the functioning of a page; some errors are unacceptable.

Indeed, any malformed HTML code can cause graphical bugs and in some cases prevent the proper indexing of pages in search engines.

We have identified the following severe errors as errors that must be fixed:

  • Misplaced element: for example, a meta element in the body will not be parsed.
  • No space between 2 attributes.
  • Opening an element that is not subsequently closed.
  • Closing an element that was not previously opened.
  • A fatal error that prevents the validator from scanning the code in its entirety.

Article on the subject:

Number of severe errors according to W3C

0  0 10 20
A question ?
#67Terminal/ Performance/ AccessibilityAvoid HTML errors according to W3C 88 x 0.5

It may seem surprising, but malformed and therefore invalid HTML code according to W3C rules ultimately has little impact on the functioning of the page. Why? Because browsers automatically correct the errors they find.

However, if the browser spends time correcting HTML errors, this adds to the load time.

Most errors have little impact, but it is advisable to have as few as possible and to know the reasons for those that cannot be fixed.

Article on the subject:

Number of errors according to W3C

12  0 100 150
A question ?

Server 92

This eco-design approach aims to limit the environmental impact on servers:
the higher the number of requests, the more servers are needed to serve the web page.

#4Server/ PerformanceEnable compression 100 x 4

Textual resources like CSS or JS must be served with compression to minimize the total number of network bytes, meaning limiting bandwidth usage and improving load times.  Depending on the test, some files might not be compressed at all or might already be compressed with Gzip, but would become even lighter with Brotli.

All major server systems are now compatible with Brotli.

Check the list of affected MIME types.

NB: Compressing small files (< 1 KB) is debatable and certain elements such as images or fonts in WOFF2 format should not be compressed, as they are already compressed in their format. 

Estimated gain from compression

10.77 KB 20 200 400

With YellowLabTools, we measure the number of bytes that could be saved by compressing textual files.

A question ?
#5Server/ PerformanceMinify files 82 x 4

Minifying textual files like CSS or JS saves weight. It involves making a program smaller, compacting it, and reducing the size of its code. This is usually done by removing spaces, indentations, and shortening variable names.

Minification gains are generally small, but the impact can be significant when these text files are loaded on the critical path or prioritized.

You can do this manually with an online service to minify your files, or by automating your code deployment workflow with compilation tools like Gulp or Grunt.

Estimated gain from minification

14.89 KB 5 60 120

With YellowLabTools, we calculate the weight that could be saved if all textual resources were properly modified.

A question ?
#6Server/ PerformanceLimit the number of requests 100 x 4

Each request slows down page loading, especially over the HTTP/1 protocol, but also slightly over HTTP/2. In 2022, the Web Almanac recorded around 70 requests for the loading of a median web page. Also note that in mobile situations, a browser does not have a constant connection quality. Limiting the number of requests therefore also limits the risk that a resource might not be loaded correctly.

There are several techniques to reduce the number of requests:

  • Concatenate JS files
  • Concatenate CSS files
  • Create sprites or icon fonts for icons
  • Use lazyload for images

We intentionally exclude the following techniques from our recommendations as they often create other drawbacks: 

  • Inline or embed small JS or CSS files in the HTML
  • Base64 encode small images in HTML or in stylesheets

Obviously, by reducing the number of requests, you reduce the environmental impacts associated with processing the response.

Number of requests

23  80 240 320
A question ?
#7Server/ PerformanceLimit the number of different domains 100 x 3

For each domain encountered, the browser must:

  1. Do a DNS lookup,
  2. Initiate a connection,
  3. Perform the SSL handshake,
  4. And then, answer the request. 

Inevitably, the more domains there are, the slower it can be. In addition, these different domains are usually third-party services for which you control neither the responsiveness of the code nor the availability rate. You therefore have a dependency on these services, or even a SPOF (Single Point Of Failure: a single point of failure that the rest of the site depends on and where a breakdown can lead to malfunctions).

Avoid having many different domains; the page should render faster and you avoid consuming bandwidth unnecessarily.

A simple solution is to bring back to the first-party domain resources that can be. For example, a font available on fonts.google.com, an external JavaScript library. It is also possible to set up a routine to fetch a file depending on changing parameters at regular intervals, like a CMP.

NB: the technique called "domain sharding" is no longer a best practice.

Number of different domains

2  12 30 60
A question ?
#8Server/ PerformanceAvoid 404 error requests 100 x 1

When a resource is requested from a server, it first responds with an HTTP status code. These codes are sent by the HTTP server to the browser to allow the latter to automatically determine whether a request was successful, and if not, to know the type of error. These codes are specified in the RFC 7231 document by the IETF (Internet Engineering Task Force). 

A 404 error is an HTTP error code sent by a web server when a requested resource is unavailable or the server cannot find it. 404 errors are never cached, so every time a URL ends in a 404, it hits the server even if it is behind a CDN or a reverse proxy cache.

A 404 error unnecessarily occupies the browser and the server which must respond to it and search for a resource that does not exist or no longer exists.

NB: This best practice is recommended by the analyst GreenIT Analysis, but does not have its equivalent in the CNumR framework.

Number of 404 errors

0  0 1 1

We measure here the requests made that respond with a 404 error and not any broken links on the page available to the user.

A question ?
#11Server/ PerformanceDefer the loading of offscreen images 100 x 4

Consider lazyloading images below the viewport fold, once all critical resources have finished loading to reduce the time to interactive. This involves deferring the loading of images not visible on screen until the moment the user is likely to see them.  This is an excellent way to speed up the initial load time of a page while saving bandwidth.

We recommend using native image lazyloading which now works for the major browsers on the market. This simple attribute proves very effective. Be careful, not all images should be lazyloaded with the loading="lazy" attribute. For images that are part of the LCP or located above the fold, prefer loading="eager" which will prioritize their loading. 

Articles on the subject: 

Number of non-"lazyloaded" images

0  1 12 30

We count the number of images displayed below the viewport fold.

A question ?
#42Server/ PerformanceLimit the number of fonts 50 x 4

Web fonts affect performance in different ways:

  1. If a web font hasn't loaded, browsers usually delay text rendering. In many situations, this delays the FCP (First Contentful Paint) and sometimes the LCP (Largest Contentful Paint).
  2. While the font is loading, a fallback font is displayed. When the font display switches, it can cause layout shifts and impact the CLS (Cumulative Layout Shift). This occurs when a web font and its fallback font have different glyph sizes.

Therefore, it's in your best interest to reduce the number of fonts on your web pages. There are three solutions to reduce this number: system fonts and variable fonts.

  • A system font is the default font used by the browser. System fonts generally vary by operating system and version. But since the font is already installed, it doesn't need to be downloaded. System fonts work particularly well for body text.

  • Using "faux bold" in CSS avoids loading a dedicated file for a "bold" version of an already loaded font.

  • A variable font can be used to replace multiple font files. Indeed, variable fonts work by defining a "default" font style and providing "axes" to manipulate the font.

As a general rule, a single font family and a single font for icons should be enough.

Some articles on the subject:

Number of fonts

4  2 6 10
A question ?
#45Server/ PerformanceUse the latest version of the HTTP/2 protocol 100 x 4

The benefits of HTTP/2 are multiple:

  • Multiplexed parallel requests and responses do not block each other.
  • A single TCP connection is used to ensure efficient use of network resources despite the transmission of multiple data streams.
  • No need to apply unnecessary optimization hacks – such as image sprites, concatenation, and domain sharding, among others – that compromise other areas of network performance.
  • Reduced latency.
  • Reduced operating and investment costs for network and IT resources.

HTTP/2 is not the latest version of the HTTP protocol. HTTP/3 is currently being deployed on many servers and is even faster!

NB: Below 5 requests, the benefits of HTTP/2 are generally less significant.

Number of HTTP/1 requests beyond 4 per domain

0  0 25 100

When a domain sends more than 4 requests via HTTP/1, this metric counts one point for each new request.

A question ?

Reference article(s):

#48Server/ PerformanceLimit unspecified caching 100 x 4

Caching headers are among those Web technologies that are often misconfigured. The fastest request is the one not made, and caching headers allow you to tell browsers when they can reuse a resource they have already downloaded.

This is particularly useful with so-called static resources like images, font files, JS, and CSS files. When no caching is specified, each browser handles it differently. Most of the time, it will automatically add a cache itself, but of poor quality.

To solve this problem, you need to configure the server to return one of the following headers: Cache-control or Expires.

You can combine this request with ETag or Last-Modified, which allow bypassing the previous header in case the file is modified, so that the browser fetches the most recent version of the file.

We recommend using Cache-control and ETag rather than Expires and Last-Modified.

NB: Even with an ETag header, updating a file in the browser can prove complicated. artwaï recommends adding a hash in your file names (and not as a parameter in the URL) to counter this problem.

Number of requests without specified caching

1  5 20 40

With YellowLabTools, we check for the presence of at least one of the following HTTP headers on static files (image, CSS and JS): cache-control, expires, pragma, x-pass-expires or x-pass-cache-control. And if the value assigned to one of these headers is a number strictly greater than 0.

A question ?

Network 95

Since it's the network infrastructures that transport resources to browsers, controlled weight is essential to limit the environmental impact of networks. 

#1Network/ PerformanceLimit the total page weight 100 x 5

According to Artwaï, weight is the most important metric to monitor!

In 2022, the Web Almanac reported a median web page weight of about 2 MB. According to Alex Russell (software engineer at Google), the ideal weight for a page to load in under 5 seconds is 500 KB...

The "reasonable" goal you can set for yourself is to stay under 1 MB, which is already very long to download on a slow connection.

Controlling the weight of your pages is also a good practice in terms of eco-design and counts towards the Ecoindex calculation. Indeed, the weight and execution time, by being lighter, will consume less energy. For example: by cleaning up its JavaScript code, Wikipedia saved 4.3 terabytes of data bandwidth per day for its visitors. This is the equivalent of planting 700 trees to offset the annual pollution that would have resulted.

Some articles on the subject: 

Total weight

0.35 MB 1.5 3 5
A question ?

Reference article(s):

#2Network/ PerformanceOptimize images 100 x 4

Optimizing images is generally one of the easiest ways to reduce the weight of a page and, consequently, the page load time.

Compression is therefore the essential step for optimizing images. It serves to reduce the data redundancy of an image so it can be stored taking up less space.

  • There is lossy compression, where the image becomes blurrier as it is compressed;
  • and lossless compression, where the features of the image remain sharp.

You must find the right quality/compression ratio that meets your needs.

Do not use Photoshop or other image editing tools, as they are not very good for optimization. Use specialized tools like Kraken.io or the excellent ImageOptim on Mac. For SVG images, you can use SVGOMG.

Article on the subject: 

Estimated gain from optimizing images

0 KB 20 200 300

With YellowLabTools, we measure the number of bytes that could be saved by optimizing images.

A question ?
#170NEW !Network/ SEO/ UXDeclaring a valid RSS feed 0 x 0.5

An RSS (Really Simple Syndication) feed is a standardized XML format that allows aggregators, feed readers, monitoring tools, and search engines to automatically detect and consume a site's content without visiting each page individually.

For search engines, declaring an RSS feed via the <link rel="alternate"> tag inside the <head> is an explicit crawlability signal. It indicates to Googlebot that the site publishes content regularly and provides it with a structured entry point to track updates. This is a semantic shortcut that reduces the crawling load on internal pages and concentrates crawl budget on useful content.

For user experience, a declared RSS feed signals that a site is active and subscripbeable. Professional monitoring tools, aggregators like Feedly or Inoreader, and AI assistants consuming real-real-time feeds all rely on this declaration to discover and reference sources. Its absence silently cuts off these distribution channels without the site owner being aware of it.

For eco-design, RSS is one of the web's most frugal protocols: a lightweight, cached XML file consumed only when updated. It prevents the user from reloading an entire page just to check if new content is available, reducing both client-side requests and server load.

The minimal declaration in the <head> is:

<link rel="alternate" type="application/rss+xml" title="Flux RSS" href="/feed.xml">

A declared tag that points to an inaccessible or malformed feed is counterproductive: aggregators ignore it, and crawlers register a failing resource. The declaration only has value if the feed responds correctly.

Valid RSS feed

0 % 100 50 0

Detects the <link rel="alternate" type="application/rss+xml"> tag in the <head>, then verifies that the target feed is accessible and parsable. Each feed receives 1 point if it meets both of these conditions, and 0 otherwise. The final score is the average of the feeds, scaled to 100.

A question ?

Reference article(s):

Accessibility (56 best practices)

The Web is fundamentally designed to work for all people, regardless of their hardware, software, language, location, or abilities. These best practices allow you to monitor a number of checkpoints to ensure content accessibility for those who may have a disability, but also for everyone. Because some of the practices listed below simply make the user experience more pleasant. 
Note: the automated checks performed here do not guarantee 100% compliance with all accessibility criteria. But it is a good starting point.

Structure 99

The structure of a web page is its backbone. Following these best practices ensures error-free transcription of the website, regardless of the user's context of use.

#16Structure/ PerformanceDo not have duplicated IDs 100 x 2

The id attribute defines an identifier that must be unique throughout the document. The purpose of this attribute is to identify an element when creating a link, manipulating it with a script, or styling it with CSS.

Since browsers are very forgiving regarding HTML rendering, they allow duplicate IDs. This should be avoided as much as possible and strictly prohibited when accessing elements by ID in JavaScript.

Indeed, what should the getElementById method return when multiple matching elements are found? Should it return an error, the first matching element, a set of elements, etc.?

This is especially important in terms of accessibility. Ensuring that IDs are unique prevents key errors that are known to cause issues for assistive technologies when they try to parse content that has the same id attribute on different elements.

Number of duplicated IDs

0  0 10 50
A question ?
#52Structure/ Eco-design/ SEO/ UXPopulate a "title" tag 100 x 4

The <title> tag is one of the most versatile elements of a web page: it simultaneously serves search engine optimization, navigation, accessibility, and user experience. Omitting or neglecting it creates cascading issues across all these areas.

For the user, the title is omnipresent yet quiet. It appears in the browser tab — making it possible to identify the page when managing multiple tabs — in bookmarks when saved, and in search results, where it is often the first element read before clicking. A precise title reduces unnecessary visits: users know before clicking whether the page meets their needs. It saves time and directly reduces friction.

For accessibility, the title is the very first element announced by screen readers upon landing on a page. A missing or generic title ("Page", "Home", "Untitled") deprives the user of any immediate orientation.

For search engines, the title is one of the most direct relevance signals. Google uses it to determine the page's topic and displays it in SERPs — a poorly written title lowers the click-through rate.

For eco-design, a relevant title prevents unnecessary user visits, shortens search time, and reduces server load.

A few rules to follow:

  • Uniqueness: each page must have a distinct title; never duplicate titles across pages.

  • Length: between 30 and 60 characters for proper display in SERPs.

  • Consistency: the title must align with the page's <h1>; they do not need to be identical, but they must confirm the same subject.

  • Relevance: integrate keywords naturally, without stuffing.

Presence of a title in the head

1  1 0 0
A question ?
#59Structure/ SEOProvide an "alt" attribute for each image 100 x 4

The "alt" attribute must obligatorily be present on the HTML "img" element. This attribute provides a textual description of the image. It can be empty but is extremely useful for accessibility and SEO.

Indeed, screen reader tools use this description to read it out loud so that people who cannot see it know what the image represents. By extension, a search engine crawler "cannot see" the image but can use its description when the "alt" attribute is populated.

To properly optimize your SEO, use "alt" attributes to provide accurate descriptions of your images while staying under 100 characters, and take the opportunity to insert your keywords naturally.

If an image is purely decorative, the alt attribute must be empty (alt="") so that screen readers and bots simply ignore it.

Number of images without an ALT attribute

0  0 3 10
A question ?
#67Structure/ Performance/ Eco-designAvoid HTML errors according to W3C 88 x 3

It may seem surprising, but malformed and therefore invalid HTML code according to W3C rules ultimately has little impact on the functioning of the page. Why? Because browsers automatically correct the errors they find.

However, if the browser spends time correcting HTML errors, this adds to the load time.

Most errors have little impact, but it is advisable to have as few as possible and to know the reasons for those that cannot be fixed.

Article on the subject:

Number of errors according to W3C

12  0 100 150
A question ?
#72StructureDo not associate multiple labels of the same type to a form field NA x 2

While each form field must be associated with at least one label, it is highly recommended not to associate multiple labels of the same type with it.

This means a form field can have a "label" type label and an "aria-label" attribute, but not two "label" type labels.

Assigning multiple labels of the same type to a form field can cause problems for some screen readers and browsers. The results are inconsistent from one combination to the next. Some combinations will read the first label. Some will read the last label. Others will read both labels...

Number of form fields with multiple items

NaN  0 2 10
#73StructureRespect the structure of definition lists NA x 2

The dl element represents a definition list in the form of a list of dt/dd element pairs (term and definition). This structure will be used to represent a glossary.

Therefore, it should be verified that:

  • Definition list elements are encapsulated in dl elements.
  • The dl elements only contain dt and dd elements in the correct order,
  • or possibly script, template, or div elements.

Respecting this best practice allows screen readers to announce them correctly.

Number of non-compliant dl, dt, or dd elements

NaN  0 2 10
#76StructureProvide valid values for role attributes 100 x 2

By default, many HTML elements have a semantic meaning, but not all (e.g., div, span). ARIA roles allow assigning a semantic meaning to elements that lack one or redefining the meaning of elements that do have one.

To do this, simply use the role attribute. For example, to define a level 1 heading role to a div:

<div role="heading" aria-level="1">Text</div>

This means that the accessibility tree is modified. It does not change the behavior of the page for standard browsers. But for a screen reader (and a search engine), the example above will be interpreted as an h1.

Attribute values are specific and must be correctly populated to fulfill their accessibility functions.

NB: Since the introduction of structural elements in HTML5, these attributes are less necessary and should be used sparingly.

 

Number of invalid roles

0  0 2 10
#81StructureRespect the hierarchy of role elements NA x 2

For each role, WAI-ARIA explicitly defines which child or parent elements with the role attribute are allowed and/or required. If this hierarchy is not respected, assistive technology will not be able to function as intended.

When it is necessary to convey context to the user of an assistive technology in the form of a hierarchy (e.g., the importance of a parent container, an item, or a sibling in a folder tree), and the hierarchy differs from the code structure or DOM tree, there is no way to provide relationship information without the use of parent ARIA role elements.

Number of non-compliant ARIA elements

NaN  0 2 10
#83StructureProvide valid values for aria-* attributes 100 x 2

ARIA attributes (starting with aria-) must contain valid values. These values must be spelled correctly and correspond to values that make sense for a particular attribute to perform its intended accessibility function.

Many ARIA attributes accept a specific set of values. Allowed values, acceptable "undefined" values, and acceptable "default" values are required. Failure to adhere to allowed values results in content that is inaccessible to users of assistive technologies.

Number of invalid aria-* attribute values

0  0 2 10
#84StructureDo not put interactive elements inside an element with the role=text attribute NA x 3

When a text node is split by markup (for example: <h1>Hello <span>World</span></h1>), VoiceOver will treat it as two separate sentences instead of one. Adding role="text" to elements around it solves the problem.

However, it also overrides the role of the element and all its descendants and treats them all as text nodes. If any of the descendant elements is also interactive, this would create an empty tab stop. In other words, you can reach the element by tabbing, but VoiceOver will not announce its name, role, or value.

Therefore, you should not put focusable elements in an element with the role=text attribute.

Number of non-compliant elements

NaN  0 2 10
#85StructureUse valid and correctly spelled aria-* attributes 100 x 2

The goal here is to check the part of the aria-* attribute name coming after the hyphen.

To allow assistive technologies to transmit appropriate information to people with disabilities, user interface elements intended to improve the accessibility and interoperability of web content and applications must conform to correctly spelled and current ARIA attributes.

Assistive technologies such as screen readers cannot interpret ARIA attributes if their names are invalid.

Number of misspelled aria-* attributes

0  0 2 10
#90StructureDo not use aria-hidden="true" on the body 100 x 5

When aria-hidden="true" is applied to the body, the content is not accessible to assistive technologies.

A Web page is designed to be fully accessible, and it wouldn't be if any element contains the value of the aria-hidden="true" attribute. Screen readers do not read content marked with this value. Users can still access focusable elements within hidden objects, but screen readers remain silent.

Any content or interface element intentionally hidden from users (e.g., inactive dialog boxes, collapsed menus) must also be hidden from screen reader users. When elements are available to sighted users, for example when they activate a button or expand a menu item, the same elements must be available to screen reader users.

The goal is to offer screen reader users a user experience equivalent to that of sighted users. If there is a compelling reason to hide content from sighted users, there is generally a compelling reason to hide this content from screen reader users. And conversely, when content is made available to sighted users, it makes sense to also make it accessible to visually impaired users.

Presence of the aria-hidden="true" attribute on the body

0  0 1 1
#91StructureDo not put selectable elements inside an element with aria-hidden="true" 100 x 5

Using the aria-hidden="true" attribute on an element removes the element and ALL its child nodes from the accessibility API, making it completely inaccessible to screen readers and other assistive technologies.

Furthermore, a focusable element with aria-hidden="true" is ignored in the reading order, but is still part of the focus order, making its visible or hidden state unclear.

Aria-hidden can be used with extreme caution to hide visibly rendered content from assistive technologies only if hiding this content aims to improve the experience of assistive technology users by removing redundant or superfluous content.

If aria-hidden is used to hide content visible to screen readers, the identical or equivalent meaning and functionality must be exposed to assistive technologies.

Number of non-compliant elements

0  0 2 10
#93StructureRespect the structure of ul and ol lists 100 x 2

The ul and ol elements represent an unordered list and an ordered list, respectively. This structure is used quite often to represent any kind of listing on a page.

Therefore, you should verify that:

  • List item (li) elements are encapsulated within ul or ol elements.
  • The ul or ol elements only contain li elements as direct children.

Respecting this best practice also allows screen readers to announce them correctly.

Number of non-compliant ul, ol, or li elements

0  0 2 10
#104StructureUse aria-* attributes according to their roles 100 x 2

The ARIA standard explicitly defines which attributes are allowed for a given role and for each attribute where that attribute can be used. Detailed information on each attribute can be found by consulting the documentation for each role and/or each attribute:

Using ARIA attributes in roles where they are not allowed can interfere with the web page's accessibility. Using an invalid role-attribute combination will, at best, have no effect on the application's accessibility and, at worst, can trigger behavior that disables accessibility for entire parts of an application.

Number of non-compliant elements

0  0 2 10
#105StructureProvide required aria-* attributes for all role elements 100 x 2

The ARIA standard explicitly defines which attributes are required for a given role. Detailed information on each attribute can be found by consulting the documentation for each role and/or each attribute:

Attributes are often required for alerts, dialog boxes, menus, progress bars, tooltips, and other widgets...

When state and property attributes required for specific roles (and subclass roles) are not present, screen readers may not be able to convey the element's role definition to users.

Number of role elements without required aria-* attributes

0  0 2 10
#113StructureUse scope or headers attributes on header cells referring to data cells NA x 2

The scope attribute specifies whether a th header cell is a header for a column, a row, or a group of columns or rows. And the headers attribute specifies one or more header cells to which a cell is related. Note that these two attributes should not be used in combination with each other.

These two attributes have no visual effect in regular Web browsers, but can be used by screen readers that add features allowing easier navigation in tables.

This best practice checks that each header cell is referenced as a header for a column or a row.

By ensuring that table headers always refer to a specific set of cells, you can improve the experience of screen reader users.

Number of non-compliant elements

NaN  0 2 10
#114StructureRespect the structure of table headers NA x 2

The scope attribute specifies whether a th header cell is a header for a column, a row, or a group of columns or rows. And the headers attribute specifies one or more header cells to which a cell is related. Note that these two attributes should not be used in combination with each other.

These two attributes have no visual effect in regular Web browsers, but can be used by screen readers that add features allowing easier navigation in tables.

Use at least one header for each cell of a large table at least three cells wide and high.

This best practice checks that the header structure and semantic markup of tables are correct.

You can improve the experience of screen reader users by ensuring that td elements of a large table are associated with a table header.

Number of non-compliant elements

NaN  0 2 10
#115StructureDo not use cells with the colspan attribute to indicate a caption NA x 1

HTML defines a semantic meaning for tags. A common bad practice is to use the first cells of a table to put a title in it. Generally, this is a td element with a colspan attribute.

When tables are not marked up with an actual caption element, instead of using a colspan attribute on cells to visually indicate a caption, screen reader users cannot correctly perceive the purpose of the table.

You must use the caption element to define a title or caption for a table.

You can improve the experience of screen reader users by ensuring that tables actually use the caption element instead of cells with the colspan attribute.

Number of non-compliant elements

NaN  0 2 10
#129StructureAdd a main tag to the page content 100 x 2

One of the primary landmarks allows screen reader users to navigate a Web page. [Learn more about landmarks](https://dequeuniversity.com/rules/axe/4.7/landmark-one-main)

1  1 0 0
A question ?

Content 100

Some elements need context to be understood (placement on the page, color, icon, usage, etc.), but not all users always have access to this context. Providing an accessible text label for each element ensures the website is understood by all users.

#79ContentProvide an accessible name for elements with role button, link, or menuitem NA x 2

Simply providing the role attribute of an HTML element is not enough to make it accessible. At a minimum, these must have a name that is accessible. Especially for the button, link, and menuitem roles.

There are 4 methods to provide this name:

  • visible inner text for screen readers.
  • a non-empty title attribute.
  • a non-empty aria-label attribute.
  • an aria-labelledby attribute pointing to an element with text perceivable by screen readers.

This name must clearly describe the destination, purpose, function, or action for screen reader users.

Number of role elements without accessible names

NaN  0 2 10
#86ContentProvide an accessible name for elements with an input field role NA x 3

Simply providing the role attribute of an HTML element is not enough to make it accessible. At a minimum, it must have an accessible name. This particularly applies to the following input field roles:

  • combobox
  • listbox
  • searchbox
  • slider
  • spinbutton
  • textbox

Which are often necessary to make components built in JavaScript accessible.

When an input field lacks an accessible name, screen readers announce it with a generic name, making it unusable for people relying on such tools.

Number of non-compliant elements

NaN  0 2 10
#87ContentProvide an accessible name for elements with an activation/deactivation field role NA x 3

Simply providing the role attribute of an HTML element is not enough to make it accessible. At a minimum, it must have an accessible name. This particularly applies to the following semantic roles:

  • checkbox
  • menu
  • menuitemcheckbox
  • menuitemradio
  • radio
  • radiogroup
  • switch

When an activation or deactivation field lacks an accessible name, screen readers announce it with a generic name, making it unusable for people relying on such tools.

NUMBER OF NON-COMPLIANT ELEMENTS

NaN  0 2 10
#88ContentProvide an accessible name for buttons 100 x 5

When a button lacks an accessible name, screen readers simply announce it as a "button", making it unusable for people relying on such tools.

Several methods exist to provide an accessible name:

  • visible inner text for screen reader users,
  • a non-empty title attribute,
  • a non-empty aria-label attribute,
  • an aria-labelledby attribute pointing to an element with text perceivable by screen reader users.

Number of buttons without an accessible name

0  0 2 10
#89ContentProvide an accessible name for elements with role=dialog or role=alertdialog NA x 3

Simply providing the role attribute of an HTML element is not enough to make it accessible. At a minimum, it must have a name that is accessible. Especially for dialog box roles:

  • dialog
  • alertdialog

Verify that each element with role="dialog" or role="alertdialog" has one of the following characteristics:

  • a non-empty aria-label attribute.
  • an aria-labelledby attribute pointing to an element with text perceivable by screen reader users.

ARIA dialog box elements without an accessible name may prevent screen reader users from understanding the function of these elements.

NUMBER OF NON-COMPLIANT ELEMENTS

NaN  0 2 10
#92Content/ SEOProvide content for all Hn headings 100 x 5

The h1 to h6 elements constitute the content hierarchy of a page. Each corresponds to a level of importance, level 1 being the most important and level 6 the least important.

The use of these tags has a direct impact on natural referencing (SEO). This allows crawlers (search engine bots like Googlebot) to quickly understand the content of the Web page by pointing out your main heading (the h1) and your other subheadings (from h2 to h6). Naturally, the h1 tag is the most important!

It is therefore crucial that they contain content and incidentally the keywords you are targeting, and thus not be empty.

In terms of accessibility, screen readers alert users to the presence of a heading tag. If the heading is empty or if the text is not accessible, this could either confuse users or even prevent them from accessing information about the page structure.

Number of empty headings

0  0 2 10
#95Content Provide an accessible name for elements with a progressbar role NA x 2

The progressbar element in HTML allows representing a progress bar. It has only existed since HTML5. Some interfaces will instead use a role="progressbar" attribute for this purpose on a div, for example.

Therefore, to make it accessible, a name must be defined for it with:

  • a non-empty title attribute;
  • a non-empty aria-label attribute;
  • aria-labelledby pointing to an element with text perceivable by screen reader users.

When a progressbar element lacks an accessible name, screen readers announce it with a generic name, making it unusable for people relying on such tools.

NUMBER OF NON-COMPLIANT ELEMENTS

NaN  0 2 10
#96ContentProvide an accessible name for elements with a meter role NA x 2

The meter element in HTML allows representing a gauge measuring a value between a minimum and a maximum. It has only existed since HTML5. Some interfaces will instead use a role="meter" attribute for this purpose on a div, for example.

Therefore, to make it accessible, a name must be defined for it with:

  • a non-empty title attribute;
  • a non-empty aria-label attribute;
  • aria-labelledby pointing to an element with text perceivable by screen reader users.

When a meter element lacks an accessible name, screen readers announce it with a generic name, making it unusable for people relying on such tools.

NUMBER OF NON-COMPLIANT ELEMENTS

NaN  0 2 10
#97ContentProvide an accessible name for elements with a tooltip role NA x 2

Simply providing the role attribute of an HTML element is not enough to make it accessible. At a minimum, they must have a name that is accessible. This is especially true for the tooltip role.

Note that there is no HTML syntax to define a tooltip.

Verify that each element with role="tooltip" has one of the following characteristics:

  • visible inner text for screen reader users.
  • a non-empty title attribute.
  • a non-empty aria-label attribute.
  • aria-labelledby pointing to an element with text perceivable by screen reader users.

Tooltip elements without an accessible name may prevent screen reader users from understanding the function of these elements.

NUMBER OF NON-COMPLIANT ELEMENTS

NaN  0 2 10
#101ContentProvide a title for frames and iframes NA x 3

Adding descriptive and unique titles via the title attribute allows screen reader users to quickly find the frame they need.

If no title is present, navigation can quickly become difficult and confusing. If no title is listed, screen readers will instead read information such as "frame", the file name, or the URL. In most cases, this information will not be very useful.

Number of iframes without a title

NaN  0 2 10
#102ContentProvide an accessible name for elements with role=treeitem NA x 2

Simply providing the role attribute of an HTML element is not enough to make it accessible. At a minimum, they must have a name that is accessible. Especially for the treeitem role which defines a tree element.

Therefore, to make it accessible, a name must be defined for it with:

  • visible inner text for screen reader users.
  • a non-empty title attribute.
  • a non-empty aria-label attribute.
  • aria-labelledby pointing to an element with text perceivable by screen reader users.

Elements with the treeitem role without an accessible name may prevent screen reader users from understanding the function of these elements.

NUMBER OF NON-COMPLIANT ELEMENTS

NaN  0 2 10
#103ContentProvide a visible name for links 100 x 5

Inaccessible links are barriers to accessibility because they are a fundamental part of a Web site.

For users relying solely on a keyboard, a link that cannot receive programmatic focus is inaccessible. All other highlighting methods like mouseover are not solutions. Similarly, for screen readers, you must indicate where the link points.

Each link must therefore have text content,

  • Either with text in the tag: <a href="">Link text</a>
  • Or via a title="" attribute: <a href="" title="Link text"></a>
  • Or via an aria-label="" attribute: <a href="" aria-label="Link text"></a>

Buttons with only an icon are a common case of textless links. A lone icon is invisible to screen readers.

Number of links without a visible name

0  0 2 10
#106ContentDo not use the same link labels for multiple different functions NA x 3

This best practice is important because the intention is to help users understand the purpose of each link in the content, so they can decide whether they want to follow it.

However, if two links with the same label direct to 2 different URLs, this can be confusing. Furthermore, since a link's purpose can be identified from its text, links can be understood when out of context, for example when the user agent provides a list of all the links on a page.

In the case of a recurring "read more" type label on an article list, you can use a title attribute to clarify the link's function. Example:

<a href="[URL]" title="read more about the June 18, 2020 article discussing General de Gaulle's appeal". >read more</a>

Number of non-compliant elements

NaN  0 2 10
#107ContentPopulate the aria-label attribute with the same text as the visible text 100 x 2

In any case where you decide to use an aria-label attribute, especially on a link, it is recommended that the accessible name begins with the visible text. Example:

<a href="[URL]" aria-label="read more about the June 18, 2020 article discussing General de Gaulle's appeal". >read more</a>

Note that it is confusing for voice input users to speak the visible text they see, but the voice command fails because the aria-label attribute that defines the component's call does not match the visible text.

Number of incorrect aria-labels

0  0 2 10
#110ContentProvide a visible name for inputs of type button, submit or reset NA x 3

NB: Since HTML5, we recommend using the button element instead of the input type button, submit or reset.

Screen reader users cannot understand the purpose of a button without a discernible and accessible textual name.

Several methods are possible to provide an accessible name:

  • a non-empty value attribute.
  • a non-empty title attribute.
  • a non-empty aria-label attribute.
  • an aria-labelledby attribute pointing to an element with text perceivable by screen reader users.

NUMBER OF BUTTON TYPE INPUTS WITHOUT ACCESSIBLE NAME

NaN  0 2 10
#116ContentProvide different content for the summary attribute and the caption element of a table NA x 1

The summary attribute defines alternative text to be used to describe the table. Such text can be used by a user agent that could not display the table, but is not displayed on standard browsers.

The caption element defines the caption (or title) of a table for all users.

When tables have an identical summary and caption, screen reader users can be confused and have difficulty knowing the name and purpose of the table.

NB: the summary attribute has been deprecated since 2010, it should not be used. You must either use only the caption element, use a details element in the caption, or put the table in a figure element containing the desired description.

Number of non-compliant elements

NaN  0 2 10
#131ContentPublish an accessibility statement compliant with regulations 100 x 5

June 28, 2025 marks the entry into force of the European directive 2019/882 (European Accessibility Act - EAA) which imposes reinforced requirements for digital accessibility.

In France, decree no. 2019-768 of July 24, 2019 and the RGAA (General Accessibility Improvement Framework) require all public bodies and certain private companies to publish an accessibility statement.

This statement informs users of the site's compliance status (compliant, partially compliant, or non-compliant), lists non-accessible content, provides contact methods to report issues, and indicates avenues for recourse. It demonstrates the organization's commitment to digital inclusion.

Public bodies face fines of up to 50,000 euros (renewable every 6 months) for non-compliance, plus 25,000 euros for reporting failures.

Private companies risk:

  • 1,500 euros per offense (up to 15,000 euros for repeat offenses),
  • daily penalty payments of 3,000 euros (capped at 300,000 euros),
  • and discrimination claims that can reach 300,000 euros.

Audits began on June 28, 2025.

Official reference articles:

Accessibility statement

4  4 2 0

Note: This best practice is only applied to pages in French (attribute lang="fr" or lang="fr-XX").

The test checks on 4 points for the presence of an "Accessibility" link containing one of the three compliance statuses (compliant / partially compliant / non-compliant), pointing to a valid page (HTTP status 200) whose title, h1, or an internal link contains "Accessibility statement".

#132ContentPublish a multi-year scheme and an action plan in the accessibility statement 100 x 0

En application de l'article 47 de la loi n° 2005-102 du 11 février 2005 et du RGAA, les organismes publics ont l'obligation de publier un schéma pluriannuel d'accessibilité numérique d'une durée maximale de trois ans, accompagné d'un plan d'action annuel.

Le schéma pluriannuel présente la politique de l'entité en matière d'accessibilité numérique et détaille notamment :

  • Les actions de formation et de sensibilisation des agents
  • Les moyens techniques et l'outillage pour gérer et tester l'accessibilité
  • L'organisation interne pour mettre en œuvre les obligations d'accessibilité
  • L'intégration de l'accessibilité dans les clauses contractuelles (appels d'offres, marchés publics)

Le plan d'action annuel décline de manière opérationnelle les actions prévues pour l'année en cours, incluant le bilan des actions réalisées l'année précédente.

Selon le RGAA, des liens vers le schéma pluriannuel et le plan d'action doivent figurer au sein de la déclaration d'accessibilité et être accessibles depuis la page dédiée « Accessibilité » du site.

L'absence de ces documents témoigne d'un manque d'engagement structuré dans la démarche d'accessibilité numérique et peut faire l'objet de sanctions administratives.

Articles officiels de référence :

Cette bonne pratique est fournie à titre informatif uniquement et ne contribue pas au score global, car le test automatisé effectué reste approximatif.

Présence schéma et plan d'actions

2  2 1 0

Le test recherche la présence des termes "schéma" et "plan d'action" (ou variantes) dans la page de déclaration d'accessibilité identifiée par la bonne pratique #131.

Alternative NA

Depending on the browsing context of a website (loading problem, screen reader, missing resources, etc.), not all elements are necessarily visible to a user. Providing an alternative for visual elements ensures content transcription to users, regardless of their context of use.

#108AlternativeProvide a transcript element for videos NA x 5

The HTML track element is used as a child element of an audio or video element and allows providing a text track for the media. This text track can have 5 values:

  • subtitles (the default value) for subtitles, or even a translation.
  • captions for a transcript with important non-verbal information like musical cues or sound effects, or the source of the sound.
  • descriptions for a textual description of the video content.
  • chapters for chapter titles used when the user navigates through the media.
  • metadata for use by scripts; it is not visible to the user.

If a video does not have subtitles, deaf users have limited or no access to the information it contains. Even if a subtitle track is available, make sure it contains all the significant information from the video, not just the dialogue.

The ideal is to provide a complete transcript of the audio part, which you define with the kind = captions attribute on the track element that points to the text like this:

<video width="300" height="200">
    <source src="myVideo.mp4" type="video/mp4">
    <track src="captions_en.vtt" kind="captions" srclang="en" label="english_captions">
    <track src="captions_es.vtt" kind="captions" srclang="es" label="spanish_captions">
</video>

Number of videos without transcript

NaN  0 2 10
#109AlternativeProvide alternative text for object elements NA x 2

Object elements cannot necessarily be read in all browsers. Worse, screen readers have no way to translate non-text content into text announced to users. Instead, they read alternative text.

To define this alternative text, simply provide at least one of these attributes:

  • aria-label,
  • aria-labelledby,
  • title,
  • role.

 

Number of objects without text alternative

NaN  0 2 10
#111AlternativeProvide a text alternative for image type inputs NA x 2

NB: Since HTML5, we recommend using the button element instead of the image type input.

Just like an image, an input type="image" must have alternative text, otherwise screen reader users will not know the button's purpose. Even if the image only contains text, it still needs alternative text, because a screen reader cannot translate word images into output.

You must define an alt attribute for image type inputs. The alt attribute value must be provided, and it must be clear, concise, and representative of the action performed when the button is activated by the user, and not a description of the image itself.

NUMBER OF IMAGE TYPE INPUTS WITHOUT ALT ATTRIBUTE

NaN  0 2 10

Navigation 73

Thinking not just of one, but of multiple navigations for your website ensures usability for as many users as possible.

#55Navigation/ SEO Avoid links with generic text 100 x 3

Descriptive text, otherwise known as anchor text, is the visible, clickable text used to create links to internal pages on your site or external ones. It is useful for users and search engines, giving them a better idea of the content they will find in the document.

When you link to a page, the anchor text you use lends credibility to the page you are linking to. Therefore, use appropriate anchors for the webpage you are pointing to.

Thus, all generic texts such as "Learn more", "Read more", or "Click here" should be avoided. Vary them by completing the page subject, for example: "Read the rest of the article: Web Integrator: a superhero!"

In terms of accessibility, descriptive link text helps screen reader users and people with cognitive disabilities to differentiate links. Screen reader users often interact with the page by navigating through headings and links. If the entire page is a wall of "learn more" links, it becomes tedious to figure out which link relates to what.

To integrate specific content for each link, several methods are possible:

  • Add a title="" attribute: <a href="" title="Learn more about the article: Web Integrator: a superhero!">Learn more</a>
  • Add an aria-label="" attribute: <a href="" aria-label="Learn more about the article: Web Integrator: a superhero!">Learn more</a>
  • Add a tag whose content will only be visible to screen readers:
    <a href="">Learn more <span class="screen-reader">about the article: Web Integrator: a superhero!</span></a>

Adding a dedicated class for screen readers enriches the HTML content without altering the front-end design.

.screen-reader {
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}

Note: any element set to display: none will not be read by screen readers.

 

Number of links with generic text

0  0 1 5

Lighthouse returns the number of links with generic text

Reference article(s):

#69NavigationUse unique values for accesskey attributes NA x 1

The universal accesskey attribute creates a keyboard shortcut for the element carrying this attribute, allowing users to quickly position the cursor in a specific part of the page. The value of this attribute is generally a single character.

To activate this shortcut, you must use a key combination including this character. The key combination used for the keyboard shortcut depends on the browser and operating system being used.

  • On Windows or Linux:
    • For Firefox: Alt + Shift + key
    • For Chrome and Edge: Alt + key
  • On Mac:
    • For Safari and Chrome: Control + Alt + key

Duplicating values for accesskey attributes creates unexpected effects that ultimately make navigation complicated and therefore the page less accessible.

Number of duplicated accesskeys

NaN  0 2 10
#70Navigation/ SEO Organize headings and subheadings sequentially in descending order 0 x 4

Heading levels indicated with the h1 to h6 elements must be correctly ordered by respecting the levels to provide a semantically valid page structure. You cannot, for example, skip from a level 1 heading to a level 3 without first inserting a level 2.

  • Bad: h1>h3
  • Good: h1>h2>h3

With a logically hierarchical heading structure, screen reader users can navigate the page, particularly by indicating which heading to reach.

This also means paying attention to how headings are written so that they are as explicit as possible.

 

Non-compliant elements

2  0 2 10
A question ?
#71NavigationAssociate a label with each form field 100 x 3

Each form field must have a label to understand the nature of the expected information. Several methods exist to associate a label with a form field.

The most common and semantically correct one: associate a "label" element with a for="" attribute identical to the id="" element of the input it represents. Note that clicking on the label sets focus on the associated field.

<label for="name">Name: </label> <input type="text" id="name">

Other methods are possible:

  • assign an aria-label attribute to the input,
  • assign an aria-labelledby attribute to the input, where the attribute's value matches the id of the label element

Form elements requiring a label:

  • Text input fields, e.g., <input type="text">, <input type="password">, and <textarea>
  • Number input fields, e.g., <input type="date">, <input type="number">
  • Selector fields, e.g., <input type="radio">, <input type="checkbox">, <select>

Fields of type="button" and type="hidden" do not need one.

Labels are necessary to make forms accessible. Indeed, screen readers need labels to unambiguously identify form fields.

The absence of a label prevents form fields from receiving focus when read by screen readers, and users with impaired motor control do not benefit from a larger clickable area for control, because clicking the label activates the control.

Number of form fields without a label

0  0 2 10
#74NavigationDo not use meta http-equiv="refresh" tags 100 x 5

The meta refresh timed redirect tells the web browser to reload the visited page or load another page after a defined duration.

Since users do not expect a page to automatically refresh, such a refresh can be disorienting. The refresh also shifts focus because the cursor is immediately repositioned at the top of the page. This causes problems in many ways for users with disabilities.

To say the least, it generates frustration and disrupts the user experience.

NB: we allow the use of this meta tag with a delay greater than or equal to 20 hours.

Presence of a meta refresh less than 20 hours

0  0 1 1
#94NavigationDo not use a tabindex value greater than 0 NA x 4

Some interactive elements can be traversed via keyboard navigation using the Tab key. Each element will be reached according to its order of appearance in the page's code.

With the tabindex attribute, you can redefine this order and this navigation according to the indicated value:

  • 0: the element can be reached via keyboard navigation,
  • a positive value: the element can be reached via keyboard navigation and the elements will be traversed in ascending order of the attribute values,
  • -1: the element cannot be reached via keyboard navigation, unless a JavaScript method allows focus on tabbing and changes the value from -1 to 0.

This causes accessibility issues, particularly an unexpected tab order that seems to skip certain elements or tab to them after those without a tabindex...

Although this is valid from a technical standpoint, it often creates a frustrating experience for users relying on assistive technologies.

NB: The use of tabindex is not recommended; it is preferable to arrange the elements in a logical order within the HTML code.

Number of non-compliant tabindexes

NaN  0 2 10
#130NavigationProvide options to bypass repetitive content NA x 3

Since Web sites often display secondary and repeated content across multiple pages, such as a presentation header, a navigation menu, etc., providing one or more landmarks to bypass them allows:

  • faster and more direct access to the main content of a page for users relying solely on a keyboard,
  • thus reducing keystrokes and minimizing the associated physical pain by preventing a keyboard user from having to tab through a large number of links and/or buttons in the header as well as the main page navigation.

To create a bypass solution, there are several complementary methods:

  • Use a semantic structure based on header, nav, main, section, aside, and footer elements.
  • Include a link to the main Web page content directly after opening the body element, with a clear label ("Skip navigation" or "Go to main content")
  • Provide headings for each section to allow navigation to a specific section without necessarily going through the others.

Presence of at least one bypass method

NaN  1 0 0

A priori, does not work.

Interface 100

The use of a website is done via its interface, its design therefore. This must not simply be beautiful, it must be the most inclusive to ensure comfortable use for all users. 

#75InterfaceUse appropriately sized interactive elements 100 x 0

For a user to easily interact with an element, it must be wide enough or have enough space around it to perform the intended interaction and not the one next to it.

The minimum size recommended by accessibility guidelines is 24 pixels.

Having targets of sufficient size or sufficient spacing between interactive elements can help all users who may have difficulty targeting or using small interaction areas.

This includes mouse or stylus users who may have motor difficulties as well as touchscreen users.

NB: This recommendation is complementary to the best practice "Use appropriately sized touch elements", which advocates a minimum size of 48 pixels. Since the latter is more restrictive, the score of this current best practice is merely for informational purposes.

INCORRECT INTERACTIVE ELEMENTS

0  0 20 100

Reference article(s):

#77InterfaceDo not rely solely on color to distinguish links NA x 5

There are almost three times as many visually impaired people as totally blind people. One in twelve people suffers from a color deficiency. A visually impaired or colorblind person is unable to distinguish text on a background without sufficient contrast or a link without a distinctive style in the middle of a text.

Users with a visual impairment will therefore not be able to distinguish a link that only has a simple color differentiation.

A link is considered clearly distinct and therefore accessible from the surrounding text if:

  • the link has a color contrast difference of at least 3:1 with the surrounding text
  • it is underlined
  • there is a specific font style
  • and/or border
  • and/or background color.

NB: it is customary to reserve underlining for links.

Number of indistinguishable links

NaN  0 2 10
#78InterfaceMake bypass links focusable 100 x 5

When a website includes bypass links allowing direct access to the page content, these must be focusable. They should therefore not be set to display: none or visibility: hidden.

Bypass links should be located at the top of the page, right after the opening <body> tag.

To make them focusable, two methods exist:

  • Make the bypass links permanently visible
  • Use a CSS stylesheet to hide the links off-screen until they are highlighted by the keyboard, in order to make them visible to all users.
<div id="skip">
    <a href="/#content">Go to content</a>
</div>

And the CSS:

#skip a {
    display: block;
    position: absolute;
    left: -999px;
    top: -999px;
}

#skip a:focus {
    left: 0;
    top: 0;
}

1  1 0 0

Reference article(s):

#80InterfaceEnsure sufficient contrast between foreground and background 100 x 0

There are almost three times as many visually impaired people as totally blind people. On average, one in twelve people cannot see the full color spectrum. A visually impaired or colorblind person is unable to distinguish text on a background without sufficient contrast.

NB: Because this test is imperfect and often generates false positives, the indicated score is provided for informational purposes and is not taken into account in the overall accessibility category score.

Sufficient Contrast

1  1 0 0

Binary LightHouse test that compares color values in CSS files.

#82InterfaceDo not use user-scalable="no" or set the maximum-scale attribute to less than 5. 100 x 3

Via the meta viewport, it is possible to define the behavior of the native zoom functions of a touch device. Disabling these functions can be problematic for users suffering from a visual impairment who need to magnify the content of a web page to understand its meaning.

Some developers block these features to "fix" display errors when content overflows the visible area. Even if this solves the problem, it is by no means a good practice even for a user without visual impairment.

Meta viewport without zoom blocking

1  1 0 0

We test if the meta viewport tag has either the user-scalable="no" attribute and/or the maximum-scale attribute lower than 5. If so, the test fails.

Language 100

Providing information on the language used on a site helps its comprehension for robots and all users. 

#98Language/ SEOSpecify the document language 100 x 3

To specify the language of a web page, simply populate the lang attribute on the Html element itself.

<html lang="en">

The value of this attribute must contain a two or three-letter code (usually lowercase) corresponding to language abbreviations according to the ISO639 standard.

It can contain two subcodes:

  1. the writing system used by the language defined by a 4-letter code, such as for Japanese written with the Katakana alphabet, the code will be lang="ja-Kana".
  2. the country code defined by two uppercase letters according to the ISO3166 standard. Example with the Canadian version of French, lang="fr-CA".

Complete example with the Canadian version of French braille, lang="fr-Brail-CA".

NB: If you are using a language written from right to left, be sure to specify it using the dir attribute, i.e., dir="rtl" (right to left).

Specifying a language helps screen readers correctly pronounce the text.

Valid lang attribute

2  2 1 1

0: the attribute is not present
1: the attribute is present but invalid
2: the attribute is present and valid

#99LanguageSpecify a valid value for lang attributes 100 x 3

Within a document, a portion of text may be in a different language from the one defined for the page. In this case, the global "lang" attribute is used.

The value of this attribute must contain a two or three-letter code (usually lowercase) corresponding to language abbreviations according to the ISO639 standard.

It can contain two subcodes:

  1. the writing system used by the language defined by a 4-letter code, such as for Japanese written with the Katakana alphabet, the code will be lang="ja-Kana".
  2. the country code defined by two uppercase letters according to the ISO3166 standard. Example with the Canadian version of French, lang="fr-CA".

Complete example with the Canadian version of French braille, lang="fr-Brail-CA".

NB: If you are using a language written from right to left, be sure to specify it using the dir attribute, i.e., dir="rtl" (right to left).

Specifying a language helps screen readers correctly pronounce the text.

Number of invalid lang attributes

0  0 2 10
#100Language/ SEOPopulate the xml:lang attribute like the lang attribute NA x 1

The xml:lang attribute is not mandatory for an HTML file. But it becomes mandatory for an XML file.

When relying on XML parsers (like the lang() function in XSLT), the lang attribute is not recognized. In this case, you must define the xml:lang attribute.

If you serve the document as XHTML (meaning HTML and XML at the same time), you must define both lang and xml:lang attributes identically. Conversely, if you serve your page solely as XML (for example using the application/xhtml+xml MIME type), you don't need the lang attribute. Only the xml:lang attribute will suffice.

In short, the value of the xml:lang attribute, if included in the html element, must be exactly identical to the value of the lang attribute.

If the web page language is not consistently specified, screen readers may not pronounce the page text correctly.

Validity of the XML:LANG attribute

NaN  1 0 0

SEO (29 best practices)

SEO (Search Engine Optimization) has a few technical criteria to meet that can be audited by an algorithm. Most of the best practices below come from Lighthouse, Google's testing and recommendation tool. Not following them would not bode well for your ranking, especially since Google has clearly stated that certain criteria count towards ranking within its results.

Positioning 76

Positioning represents the stage of ranking a site's page (crawlable and indexable) in the search engine results pages or the set of actions aimed at improving its position in them.

Many parameters influence the position of a page on a query, including technical, lexical, and popularity aspects (netlinking).

#52Positioning/ Eco-design/ Accessibility/ UXPopulate a "title" tag 100 x 5

The <title> tag is one of the most versatile elements of a web page: it simultaneously serves search engine optimization, navigation, accessibility, and user experience. Omitting or neglecting it creates cascading issues across all these areas.

For the user, the title is omnipresent yet quiet. It appears in the browser tab — making it possible to identify the page when managing multiple tabs — in bookmarks when saved, and in search results, where it is often the first element read before clicking. A precise title reduces unnecessary visits: users know before clicking whether the page meets their needs. It saves time and directly reduces friction.

For accessibility, the title is the very first element announced by screen readers upon landing on a page. A missing or generic title ("Page", "Home", "Untitled") deprives the user of any immediate orientation.

For search engines, the title is one of the most direct relevance signals. Google uses it to determine the page's topic and displays it in SERPs — a poorly written title lowers the click-through rate.

For eco-design, a relevant title prevents unnecessary user visits, shortens search time, and reduces server load.

A few rules to follow:

  • Uniqueness: each page must have a distinct title; never duplicate titles across pages.

  • Length: between 30 and 60 characters for proper display in SERPs.

  • Consistency: the title must align with the page's <h1>; they do not need to be identical, but they must confirm the same subject.

  • Relevance: integrate keywords naturally, without stuffing.

Presence of a title in the head

1  1 0 0
A question ?
#53Positioning/ Eco-design/ UXPopulate a "meta description" tag 0 x 3

The HTML "meta description" tag is used by search engines to describe the content of a web page. In search engine results, this description is displayed below your page's title and URL.

Note: Google tends to use the description text from this tag, but if it proves uninformative, the search engine may also use your page's content to generate a snippet.

Do not think of your "meta descriptions" as being meant solely for search engines. Due to the overuse of keywords in this text field, Google decided to remove the "meta description" tag from its ranking criteria, as stated on the official Google blog in 2007: "it's worth noting that while accurate meta descriptions can improve clickthrough, they won't affect your ranking in search results."

For the user, a well-written meta description plays the same role as an editorial hook: it answers in a single sentence the question "will this page meet my needs?". A missing or generic description leaves Google to automatically generate a snippet that is often unappealing, out of context, or truncated. A precise and engaging description reduces unnecessary clicks, shortens search time, and improves satisfaction even before landing on the page.

For eco-design, a relevant description prevents users from visiting an irrelevant page, reduces the number of requests needed to find the right resource, and lightens the server load accordingly.

A few rules to follow:

  • Length: between 90 and 250 characters. Below 50 characters, Google Search Console flags it as too short.

  • Uniqueness: every page must have its own description; never duplicate across pages.

  • Relevance: integrate keywords naturally, without stuffing: Google bolds them in the SERPs when they match the query, which boosts visibility.

  • Tone: write for the user, not the search engine: a description that addresses search intent converts better than a list of keywords.

Presence of the meta description

0  1 0 0
A question ?
#55Positioning/ Accessibility Avoid links with generic text 100 x 4

Descriptive text, otherwise known as anchor text, is the visible, clickable text used to create links to internal pages on your site or external ones. It is useful for users and search engines, giving them a better idea of the content they will find in the document.

When you link to a page, the anchor text you use lends credibility to the page you are linking to. Therefore, use appropriate anchors for the webpage you are pointing to.

Thus, all generic texts such as "Learn more", "Read more", or "Click here" should be avoided. Vary them by completing the page subject, for example: "Read the rest of the article: Web Integrator: a superhero!"

In terms of accessibility, descriptive link text helps screen reader users and people with cognitive disabilities to differentiate links. Screen reader users often interact with the page by navigating through headings and links. If the entire page is a wall of "learn more" links, it becomes tedious to figure out which link relates to what.

To integrate specific content for each link, several methods are possible:

  • Add a title="" attribute: <a href="" title="Learn more about the article: Web Integrator: a superhero!">Learn more</a>
  • Add an aria-label="" attribute: <a href="" aria-label="Learn more about the article: Web Integrator: a superhero!">Learn more</a>
  • Add a tag whose content will only be visible to screen readers:
    <a href="">Learn more <span class="screen-reader">about the article: Web Integrator: a superhero!</span></a>

Adding a dedicated class for screen readers enriches the HTML content without altering the front-end design.

.screen-reader {
    position:absolute;
    left:-10000px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}

Note: any element set to display: none will not be read by screen readers.

 

Number of links with generic text

0  0 1 5

Lighthouse returns the number of links with generic text

Reference article(s):

#59Positioning/ AccessibilityProvide an "alt" attribute for each image 100 x 3

The "alt" attribute must obligatorily be present on the HTML "img" element. This attribute provides a textual description of the image. It can be empty but is extremely useful for accessibility and SEO.

Indeed, screen reader tools use this description to read it out loud so that people who cannot see it know what the image represents. By extension, a search engine crawler "cannot see" the image but can use its description when the "alt" attribute is populated.

To properly optimize your SEO, use "alt" attributes to provide accurate descriptions of your images while staying under 100 characters, and take the opportunity to insert your keywords naturally.

If an image is purely decorative, the alt attribute must be empty (alt="") so that screen readers and bots simply ignore it.

Number of images without an ALT attribute

0  0 3 10
A question ?
#70Positioning/ Accessibility Organize headings and subheadings sequentially in descending order 0 x 4

Heading levels indicated with the h1 to h6 elements must be correctly ordered by respecting the levels to provide a semantically valid page structure. You cannot, for example, skip from a level 1 heading to a level 3 without first inserting a level 2.

  • Bad: h1>h3
  • Good: h1>h2>h3

With a logically hierarchical heading structure, screen reader users can navigate the page, particularly by indicating which heading to reach.

This also means paying attention to how headings are written so that they are as explicit as possible.

 

Non-compliant elements

2  0 2 10
A question ?
#92Positioning/ AccessibilityProvide content for all Hn headings 100 x 4

The h1 to h6 elements constitute the content hierarchy of a page. Each corresponds to a level of importance, level 1 being the most important and level 6 the least important.

The use of these tags has a direct impact on natural referencing (SEO). This allows crawlers (search engine bots like Googlebot) to quickly understand the content of the Web page by pointing out your main heading (the h1) and your other subheadings (from h2 to h6). Naturally, the h1 tag is the most important!

It is therefore crucial that they contain content and incidentally the keywords you are targeting, and thus not be empty.

In terms of accessibility, screen readers alert users to the presence of a heading tag. If the heading is empty or if the text is not accessible, this could either confuse users or even prevent them from accessing information about the page structure.

Number of empty headings

0  0 2 10
#133PositioningFollow Google's recommended URL format 100 x 3

The format of a URL directly influences Googlebot's ability to crawl and interpret a page's content. Google officially documents four format requirements in its URL Structure Best Practices guide, updated in December 2025: using lowercase letters exclusively, relying on hyphens rather than underscores to separate words, eliminating unnecessary URL parameters, and properly encoding non-ASCII characters.

Uppercase letters in a URL path create a risk of duplicate content: Google treats /Page and /page as two distinct resources, which can fragment SEO signals across multiple versions of the same page.

Underscores, unlike hyphens, are not recognized as word separators by search engines: guide_seo is interpreted as a single token, whereas guide-seo is correctly segmented into two distinct terms.

URL parameters cause a multiplication of URLs pointing to identical or near-identical content, which wastes crawl budget and dilutes semantic relevance.

Finally, unencoded non-ASCII characters (accents, ideograms) violate the IETF STD 66 standard relied upon by Google, potentially triggering silent interpretation errors during crawling.

 

Conformité dur format d'URL

4  4 2 0

MilleCheck vérifie les 4 règles suivants.

  • Pas de majuscules
  • Pas d'underscores
  • Pas de paramètres d'URL
  • Pas de caractères non-ASCII non encodés

Reference article(s):

#135NEW !Positioning/ UXAvoid thin content by reaching a minimal content volume 100 x 3

Thin content refers to pages where the volume of content is insufficient to satisfy a user's search intent. Google views these pages as offering little value and may deprioritize them in search results, or even ignore them altogether during crawling.

To evaluate content quality, Google explicitly asks in its Helpful Content guidelines: "Does the content provide a substantial, complete or comprehensive description of the topic?" Word count is the simplest indicator to gauge this notion of substantiality. It is with this in mind that Yoast SEO—the most installed search optimization plugin on WordPress, used as a reference point by millions of websites—sets a threshold of 300 words as a warning signal in its content analysis.

The UX dimension is inseparable from this issue. A page with too little content fails to fulfill the user's search intent: they arrive, do not find what they are looking for, and immediately bounce back to the search results. This behavior, known as pogo-sticking, serves as a negative relevance signal that Google interprets as proof that the page did not meet the user's needs. The algorithm and the user thus reach the same conclusion: a page that is too short is a useless page.

Conversely, a page with fewer than 300 words of main content struggles to cover a topic coherently, include natural semantic variations, and demonstrate minimal expertise in the eyes of quality algorithms like Helpful Content. Below 150 words, a page is considered a structural anomaly and will likely be ignored or penalized by Google.

This best practice complements Best Practice #134, which measures progress toward truly in-depth content.

Nombre de mots dans le Coeur de page

397  300 150 0
A question ?
#136NEW !PositioningEnrich editorial content to demonstrate expertise 16 x 1

Beyond the baseline threshold of 300 words, rich and in-depth content serves as a strong positive signal of editorial quality. Abondance.com, a leading French SEO authority since 1998, recommends targeting at least 1,000 words for an in-depth article, while emphasizing that the ultimate goal remains to fully satisfy the reader's intent rather than hit an arbitrary word count.

Yoast SEO, the most widely installed search optimization plugin on WordPress, aligns with this approach by setting a 900-word threshold for cornerstone content—the cornerstone pages of a site upon which its primary editorial strategy relies. At this volume, a page covers its topic with enough depth to naturally incorporate semantically related terms and fully satisfy user search intent, directly addressing Google's key question regarding content substantiality.

This best practice complements BP #133, which ensures the minimal length requirement is met to prevent thin content.

Number of words in the main content

397  900 300 0
A question ?
#137NEW !Positioning/ UXOptimize editorial content readability 15 x 1

Difficult-to-read content causes users to leave quickly, resulting in high bounce rates and what is known as pogo-sticking: a behavior observable on Google's end. The user clicks a search result, quickly returns to the SERP, and clicks another result. The strong signal here is the swift return to the results page, which suggests that the page failed to address search intent. Google interprets this as a negative relevance signal, penalizing the page's ranking.

Since BERT in 2018 and MUM in 2021—Natural Language Processing (NLP) models developed by Google and integrated into its search algorithm—Google understands text in depth. Well-structured content with short sentences is parsed better: entities and search intents are recognized more accurately when syntax is clear.

Furthermore, Google extracts featured snippets from readable, direct passages. A short, affirmative, and well-constructed sentence has a much higher chance of being selected than a confused paragraph.

To measure content readability, it is quite common to use the Flesch Reading Ease score (named by Rudolf Flesch himself in his 1948 paper). It estimates readability on a scale from 0 to 100. A high score means the content reaches a broader audience. Having more potential readers generates more shares, natural backlinks, and return visits to the site.

It is worth noting that Yoast, the world's most installed WordPress plugin, recommends a Flesch Reading Ease score above 60. Note: while the formula varies based on the text's language, the algorithm used takes this parameter into account in accordance with Yoast's documentation.

Flesch Reading Ease Score

43  60 40 20

Calcul du score Flesch Reading Ease à partir du texte utile détecté par MilleCheck.

A question ?
#139NEW !PositioningEnrich the page with JSON-LD structured data 100 x 2

JSON-LD structured data allows search engines and artificial intelligence models to understand page content as a set of named entities and semantic relationships, rather than plain unformatted text.

Without structured data, Google must guess the meaning of a page through textual analysis alone—a less reliable process that reduces the chances of securing rich results and being featured in AI Overviews (AI-generated summaries displayed at the top of Google search results).

Schema.org cataloging lists over 800 types covering a wide variety of content: articles, products, recipes, events, FAQs, videos, software, local businesses, people, organizations, and more. The more precisely a page is described, the more eligible it becomes for rich results tied to its content type, and the higher its chances of being cited in AI search responses.

We recommend defining a minimum of three complementary schema types, regardless of industry.

Each of these three schemas must appear as a root node in the JSON-LD graph, ideally with its own `@id`, and not merely nested within another schema. An “Organization” that appears only as the “publisher” or “author” of an “Article,” for example, describes only that specific piece of content: it is not a standalone, reusable entity that search engines can recognize and link across pages on the site.

  1. Organization or Person schema: Identifies the entity responsible for the content. It registers the brand or author within Google's Knowledge Graph, populates knowledge panels, and allows AI models to verify the source before citing the content.
  2. BreadcrumbList schema: Communicates the page's hierarchical position within the site structure. Eligible for rich results, it displays the breadcrumb trail below the URL in SERPs and gives AI models navigation context to trace the page's overarching theme.
  3. CreativeWork or Product schema: Encompasses schemas describing the primary content itself, such as Article, NewsArticle, BlogPosting, Recipe, Event, Product, HowTo, FAQPage, or VideoObject. It makes the page eligible for high-visibility rich results and provides search engines and generative AI models with the essential metadata needed to comprehend the page's subject matter.

Note: The presence of schema markup does not guarantee complete eligibility for rich results, as display also depends on meeting the required properties for each specific type.

Number of distinct types

10  3 1 0

The score is calculated by counting the number of distinct types of patterns, from which 1 point is subtracted for each of the three missing basic patterns.

A question ?
#140NEW !PositioningPrevent errors in JSON-LD structured data 100 x 2

Malformed structured data is ignored by Google and AI search engines—often silently. A JSON syntax error (missing comma, unclosed quote, missing bracket) or a Schema.org specification violation (non-existent property, misspelled type, unexpected value format) is enough to invalidate the entire block, wiping out any potential benefit regarding rich results and AI Overviews citations.

Two levels of errors must be distinguished:

JSON syntax errors : The <script type="application/ld+json"> tag contains invalid (unparsable) JSON. The search engine then ignores the entire schema without any visible warning.

Schema.org structural errors : The JSON is syntax-valid, but its contents violate constraints defined by Schema.org: missing or unknown @type property, value provided in an incompatible format, or mandatory property missing for rich result eligibility.

We recommend systematically validating every JSON-LD block on the page across both levels prior to deployment.

Note: Schema.org structural errors can be verified using Google's Rich Results Test or the Schema Markup Validator.

Validity of Schemas

100  70 50 0

Each JSON-LD block is assigned a score based on its validity: 0% if the JSON is invalid, 100% if it is valid with no errors, or a percentage based on the proportion of valid @type attributes otherwise. The page's score is the average of the scores for all blocks.

A question ?
#141NEW !PositioningEnsure consistency between JSON-LD structured data and visible content 100 x 1

JSON-LD structured data represents a promise made to search engines regarding a page's content. Google explicitly verifies that the information declared in schemas corresponds to what a user can actually read on the page. Inconsistencies between the two—such as an organization name omitted from the body text, a declared URL with no visible link, or a description unrelated to the page—are viewed as attempts at manipulation. This can lead to the loss of associated rich results or even a manual penalty for structured data spam.

Google's structured data quality guidelines are unequivocal on this topic:

  • Do not mark up content that is not visible to human readers of the page. For example, if the JSON-LD markup describes an artist, that artist must also be described in the HTML body.
  • Do not mark up irrelevant or misleading content, such as fake reviews or content unrelated to the page's topic.
  • Do not use structured data to deceive or mislead users. Do not impersonate any person or organization, and do not make misleading statements regarding your ownership, affiliation, or primary purpose.

It is therefore critical to ensure strict consistency between the data contained within every node of your JSON-LD scripts and the page's visible content.

Note: This verification focuses on the three most universal Schema.org properties found across virtually all types: name, url, and description. It applies recursively to every node within the JSON-LD payload, whether at the root level or nested inside a product, author, or any other child object.

Consistency of the Schemas with the page content

67  60 40 20

For each JSON-LD node, the name, url, and description fields are compared to the actual content of the page (visible text, hrefs, TF-IDF similarity) to verify their consistency. The node's score is the proportion of fields that passed verification, and the page's overall score is the average of all node scores.

A question ?

Reference article(s):

Crawl 95

The crawl of a website is the first action implemented by search engines to discover your site. To build their database of known pages (index), search engines need to reach as many pages on the Web as possible. To do this, they use exploration robots also called spiders or crawlers.

Google's is called Googlebot. It is essential that your site does not have limiting or blocking factors to simplify this exploration in the interest of your natural referencing. Without a prior crawl, it is impossible for a page to appear in the search results later.

#54CrawlRespond with a successful HTTP code 100 x 4

When a resource is requested from a server, it first responds with an HTTP status code. These codes are sent by the HTTP server to the browser to allow the latter to automatically determine whether a request was successful, and if not, to know the error type. These codes are specified in the RFC 7231 document by the IETF (Internet Engineering Task Force).

The most common codes are:

  • 200: request success;
  • 301 and 302: redirection, permanent and temporary respectively;
  • 401: unauthenticated user;
  • 403: access denied;
  • 404: resource not found;
  • 500, 502 and 503: server errors;
  • 504: server did not respond.

Thus the server must return a status code

  • in the 200s for all valid URLs;
  • in the 300s for a resource that is redirected to another URL.

Pages returning failure HTTP status codes above 400 or, worse, 500 may not be indexed correctly.

Valid HTTP Code

1  1 0 0

The test fails if the tested URL's HTTP status code is greater than 400.

Reference article(s):

#56CrawlAllow links to be crawlable 100 x 3

Google can only crawl a link if it is an HTML "a" element and it has an href attribute. Most links in other formats will not be parsed and extracted by Google's crawlers.

A link without an href attribute, or any other element with an href attribute, cannot be reliably used by Google. This particularly concerns links created with JavaScript. Some examples of un-crawlable links:

  • <a href="javascript:window.location.href='/products'">
  • <a href="javascript:goTo('products')">
  • <a onclick="goto('https://example.com')">
  • <span href="https://example.com">

Since 2019, Google defaults to indexing the mobile version of a site. Mobile sites are often stripped-down desktop versions with far fewer links, preventing Google from discovering and indexing those excluded pages. Make sure to make your links crawlable on mobile as well as desktop.

Number of uncrawlable links

0  0 3 10
#58CrawlUse a valid robots.txt file 100 x 2

A robots.txt file tells search engine crawlers which URLs they can access on your site. Its main goal is to avoid overloading your site with requests.

Beyond its purpose, its interpretation has a few loopholes:

  • The instructions in the robots.txt file cannot force a crawler to follow the rules written within it. It is up to the crawler to comply.
  • A page disallowed in the robots.txt file can still be indexed if other sites link to it (to prevent this, use the meta noindex tag or the equivalent response header).

Fortunately, most reputable crawlers follow the directives of the robots.txt file. But you still need to respect the proper syntax. If your robots.txt file is not written correctly, crawlers may not understand how your website should be crawled or indexed.

Valid Robots.txt

1  1 0 0
#66Crawl/ Performance/ Eco-designAvoid severe HTML errors according to W3C 100 x 1

Even if most of the time, the errors reported by the W3C have little impact on the functioning of a page; some errors are unacceptable.

Indeed, any malformed HTML code can cause graphical bugs and in some cases prevent the proper indexing of pages in search engines.

We have identified the following severe errors as errors that must be fixed:

  • Misplaced element: for example, a meta element in the body will not be parsed.
  • No space between 2 attributes.
  • Opening an element that is not subsequently closed.
  • Closing an element that was not previously opened.
  • A fatal error that prevents the validator from scanning the code in its entirety.

Article on the subject:

Number of severe errors according to W3C

0  0 10 20
A question ?
#68CrawlProvide a proper sitemap 100 x 2

A sitemap is an XML file listing the site's URLs that search engines must crawl for indexing. This protocol, initiated by Google in 2005, is now used by the largest search engines: Google, Bing, Baidu, Yandex, etc. This standard is defined on the official site sitemaps.org.

There can be multiple sitemap files for a single site. Search engine bots simply need to be able to find them within a sitemap index that will list all these files.

A site can broadcast :

  • a maximum of 50,000 URLs per sitemap file,
  • 50,000 sitemap files
  • and a maximum of 500 sitemap index files.

NB: which means an overall limitation of more than a billion URLs per site.

To make your sitemap known to search engines, there are 3 solutions:

  1. By submitting the sitemap or sitemap index URL through the search engine's submission interface. For example: via Google Search Console
  2. By adding a directive in the robots.txt file.
    For example: Sitemap: http://www.example.com/sitemap.xml
  3. Using an HTTP request. The standard defines a request in the following format: <searchengine_URL>/ping?sitemap=sitemap_url
    For example for Google: https://www.google.com/ping?sitemap=sitemap_url

Most of the time, the sitemap is located at the root of the site and is named sitemap.xml, but this is not mandatory. With WordPress and the widely used Yoast plugin, it is also at the root and is named sitemap_index.xml.

A few rules to follow: The file must be UTF-8 encoded and respect the XML format. It must also provide language-related information when necessary. The URLs must be absolute (no relative URLs from the root).

Prefer the automated creation of your sitemap by your CMS, especially for the automatic updates of the URLs it provides.

In terms of SEO, a sitemap speeds up crawling and therefore the indexing of newly published URLs.

NB: Google is very clear about the use of its reports in the Google Search Console: "The Index Coverage report works best for sites that submit sitemap files. Sitemaps are an excellent way to let search engines know about new and updated URLs."
source: https://developers.google.com.

Sitemap

1  1 0 0
#117Crawl/ Security/ UXUse only HTTPS requests 100 x 2

All websites must be protected by the HTTPS protocol, even those that do not handle sensitive data.

The HTTPS protocol guarantees two things simultaneously: the encryption of exchanges between the browser and the server, and the authentication of the website. It serves as proof that you are indeed communicating with the correct server and not a malicious intermediary. Without it, any data moving across the network can be read and modified by anyone along the path.

This risk goes beyond the simple protection of forms or transactions. Even a page without sensitive data can be altered by a malicious actor intercepting HTTP traffic: ad injection, content replacement, or partial to total page takeover. Although modern browsers increasingly block mixed content (HTTP resources loaded from an HTTPS page), their presence remains a sufficient red flag to compromise the security of the entire page. By the time the warning appears, the insecure requests have already been executed.

Beyond technical security, HTTPS has become a visible standard of trust. The padlock displayed in the address bar is now a signal that users have internalized: its absence triggers an explicit warning in Chrome, Firefox, and Safari, scaring off a significant portion of visitors before they have even interacted with the content. HTTPS directly reduces security-related anxiety, supports brand credibility, and lowers the trust threshold required for any contact or conversion.

Furthermore, using HTTPS is a prerequisite for using HTTP/2. Using HTTPS exclusively is also often required by many Web platform APIs.

NUMBER of HTTP Requests

0  0 1 5
A question ?
#128Crawl/ SecurityRedirect HTTP protocol to HTTPS 100 x 2

It is possible, for various reasons, for a user or a malicious program to launch a request on your page using the HTTP protocol. By definition, this is not secure!

You should redirect all URLs on the site and all requests strictly to the secure HTTPS protocol.

Incidentally, several technologies require HTTPS, such as service workers. If this redirection is not in place, this type of technology will not work for the user browsing the site via HTTP...

NB: To test, beware that Chrome automatically redirects to HTTP/S. Prefer testing with Firefox, which does not perform this redirection. This allows you to verify that the redirection is properly configured on the server side.

HTTP to HTTPS redirection

1  1 0 0

Reference article(s):

#134NEW !Crawl/ UXDeclare the UTF-8 Character Encoding 100 x 0.5

In the absence of an explicit character set declaration, the browser attempts to guess the encoding from the first few bytes of the document. This inference produces corrupted characters (the infamous é instead of é, or ’ for an apostrophe) as soon as the page contains non-ASCII characters, behaving unpredictably depending on the browser and the user's operating system language.

For search engines, a page with ambiguous encoding is indexed with corrupted content: keywords are fragmented, semantic relevance collapses, and snippets displayed in SERPs become unreadable. For users, corrupted characters signal a neglected site and instantly erode trust before the content even has a chance to persuade. UTF-8 is the only universally recommended encoding: it covers virtually all scripts and languages in the world, from French accented characters to Asian ideograms.

The declaration must be consistent across three distinct levels:

  • The HTTP header Content-Type: text/html; charset=utf-8 is read before the browser even begins parsing the HTML. It is the most authoritative declaration. 
  • The <meta charset="utf-8"> tag must appear within the first 1024 bytes of the <head>, before any non-ASCII character. It ensures proper encoding for browsers receiving the page without an HTTP header (local cache, opening a local file).
  • The file's actual encoding must be UTF-8 without a BOM (Byte Order Mark—a sequence of invisible bytes placed at the beginning of a file by some Windows editors, which can interfere with how the browser interprets the file). Declaring UTF-8 for a file actually encoded in ISO-8859-1 exacerbates the corruption rather than fixing it.

Declaration UTF-8

3  3 1 0

This test checks UTF-8 Encoding rules.

A question ?
#138NEW !CrawlOptimize main content to HTML ratio 100 x 1

When crawling a page, a web crawler (an automated program used by search engines to browse and index web pages) must identify useful editorial content within the HTML code. The more bloated the HTML is relative to the actual content, the less efficient semantic extraction becomes wasting crawl budget on code rather than content.

Code bloat can be detected by cross-referencing three complementary indicators:

  1. Readability / HTML ratio : The weight of the main content extracted by the Mozilla Readability algorithm relative to the total HTML size. Semrush triggers a "Low Text to HTML Ratio" alert below 10%. Readability automatically excludes navigation, header, and footer elements to isolate only the dominant editorial content.
  2. HTML bytes per word : Total HTML size in bytes divided by the main content word count. Alyze sets the target threshold at 50 bytes per word. This indicator is more robust than a simple ratio because it normalizes naturally with content length: as word count increases, the tolerated HTML overhead (the amount of accepted code beyond the actual content) increases proportionally.
  3. Main content word count : Words in the core body of the page are counted while excluding navigation (<nav>), header (<header>), and footer (<footer>) elements. Below 300 words—the minimum threshold defined in BP #133 on thin content—a page is considered content-poor, which further compounds any code bloat issue.

A low score reveals a structural imbalance between editorial content and the surrounding HTML payload. This imbalance directly harms crawl budget efficiency : Googlebot spends time and resources parsing code that provides no semantic value. On a site with thousands of pages, consistently bloated HTML reduces crawl frequency and can delay the indexing of new pages.

Code bloat is all the more insidious because it remains invisible to the user: the page renders correctly, visual audits detect nothing, yet the crawler silently processes dozens of useless kilobytes on every visit. Common culprits on modern CMS platforms include plugin inline styles, tracking scripts, automatically generated exhaustive JSON-LD blocks, and verbose srcset attributes on every image.

Note: Google does not officially confirm the direct use of this ratio as a ranking factor (John Mueller, 2018). However, it serves as a valuable indirect indicator that reveals real and measurable structural issues.

Code-Bloat Metrics

2  2 1 0

One point for each criterion met: main content to HTML ratio greater than 10%, more than 300 words in the main body of the page, and fewer than 50 HTML bytes per word.

A question ?
#142NEW !CrawlAvoid canonical loops and chains 100 x 2

A rel="canonical" attribute tells Google which URL serves as the primary, authoritative version of a piece of content. When two pages point to each other as their respective canonical URL, Google faces an unresolvable contradiction and silently ignores both directives. The search engine then selects the reference URL using its own criteria, wiping out any intended benefit of the tag. When a canonical target points to yet another third URL, Google must follow an unnecessary chain of semantic references, which dilutes canonical signals and adds useless complexity to crawling.

These issues are particularly insidious because they are syntactically valid, reference existing domain URLs, and trigger zero errors in standard validation tools. They occur frequently on e-commerce sites featuring filtered URLs, on CMS platforms that auto-generate canonicals via templates, or during migrations where canonical tags and HTTP redirects were configured in silos.

Canonical Anomaly

0  0 1 2

Compares the canonical URL of the page being tested with that of its target. Returns a score of 0 if everything is consistent, 1 if a canonical string is detected, and 2 if there is a loop.

A question ?
#170NEW !Crawl/ Eco-design/ UXDeclaring a valid RSS feed 0 x 1

An RSS (Really Simple Syndication) feed is a standardized XML format that allows aggregators, feed readers, monitoring tools, and search engines to automatically detect and consume a site's content without visiting each page individually.

For search engines, declaring an RSS feed via the <link rel="alternate"> tag inside the <head> is an explicit crawlability signal. It indicates to Googlebot that the site publishes content regularly and provides it with a structured entry point to track updates. This is a semantic shortcut that reduces the crawling load on internal pages and concentrates crawl budget on useful content.

For user experience, a declared RSS feed signals that a site is active and subscripbeable. Professional monitoring tools, aggregators like Feedly or Inoreader, and AI assistants consuming real-real-time feeds all rely on this declaration to discover and reference sources. Its absence silently cuts off these distribution channels without the site owner being aware of it.

For eco-design, RSS is one of the web's most frugal protocols: a lightweight, cached XML file consumed only when updated. It prevents the user from reloading an entire page just to check if new content is available, reducing both client-side requests and server load.

The minimal declaration in the <head> is:

<link rel="alternate" type="application/rss+xml" title="Flux RSS" href="/feed.xml">

A declared tag that points to an inaccessible or malformed feed is counterproductive: aggregators ignore it, and crawlers register a failing resource. The declaration only has value if the feed responds correctly.

Valid RSS feed

0 % 100 50 0

Detects the <link rel="alternate" type="application/rss+xml"> tag in the <head>, then verifies that the target feed is accessible and parsable. Each feed receives 1 point if it meets both of these conditions, and 0 otherwise. The final score is the average of the feeds, scaled to 100.

A question ?

Reference article(s):

Indexing 100

Indexing in natural referencing (SEO) designates the procedure by which a search engine stores and lists in a database the previously crawled pages that are sufficiently relevant to be saved. Thus the index of a search engine represents a copy of the web that it knows and in which it can find the information to provide to its users. It is important to ensure that the indexed pages of your site are indeed strategic pages for your visibility.

#57IndexingDo not block page indexing 100 x 3

It is possible to block a page from being indexed by search engines by giving them specific instructions. You might need to do this for a site under development or for content you do not want search engines to linger on.

NB: indeed, search engines do not crawl your pages indefinitely. They allocate a certain amount of time or number of pages for their bots to crawl your site at a regular interval. In this sense, it can be beneficial to let them focus on what is important.

This blocking should not, however, be the norm. To ensure your pages are indexed correctly, make sure not to block them with either a "meta noindex" or an equivalent HTTP response.

This anomaly is often seen when launching a WordPress site where the "Discourage search engines from indexing this site" box was left checked since the development period.

Presence of noindex mentions

1  1 0 0

Lighthouse checks headers or meta elements that block all search engine crawlers.

Reference article(s):

#60Indexing Use valid "hreflang" attributes 100 x 2

A web page can have variations in several languages. And each variation can indicate the URL of the other versions by specifying their languages. To do this, we insert a "link" element with the "hreflang" attribute in the head. With this information, search engines can display the correct version for each language or region.

The value of the "hreflang" attribute can be made up solely of the language code according to the list of ISO 639-1 codes, such as hreflang="en", hreflang="es" or hreflang="fr".

And this value can also include a region code according to the ISO 3166-1 alpha-2 standard. In this case, the two codes are separated by a hyphen. Examples: hreflang="en-GB", hreflang="en-US" or hreflang="en-AU".

Number of invalid Hreflang attributes

0  0 1 2

Lighthouse counts the "hreflang" attributes in "link" elements with invalid language codes.

Reference article(s):

#62IndexingUse a rel=canonical attribute validly 100 x 4

If one of your web pages is accessible via multiple URLs, or if different pages on your site feature similar content, its content may be considered a duplicate by search engines. One of your pages or even all of the duplicates might be indexed poorly.

It is to resolve this problem that it is better to define the canonical URL. This has several advantages:

  • To define the URL you want to see displayed in search results.
  • To simplify tracking statistics for a single product/topic. With different URLs, it is harder to get consolidated data for specific content.
  • To ensure Googlebot crawls your site as efficiently as possible: it is better for Googlebot to spend time crawling new content (or updated pages) on your site, rather than crawling duplicates of the same page.

The simplest solution is to insert a "link" element into the head of the original page and its duplicates with the "rel" and "href" attributes like this:

<link rel="canonical" href="https://example.com/my-original-content" />

The URL in the "href" must obviously be that of the original page.

Valid Canonical

1  1 0 0

The Lighthouse test fails if:

  • There are multiple canonical links.
  • The canonical link is not a valid URL.
  • The canonical link points to a page for a different region or language.
  • The canonical link points to a different domain.

Reference article(s):

#98Indexing/ AccessibilitySpecify the document language 100 x 2

To specify the language of a web page, simply populate the lang attribute on the Html element itself.

<html lang="en">

The value of this attribute must contain a two or three-letter code (usually lowercase) corresponding to language abbreviations according to the ISO639 standard.

It can contain two subcodes:

  1. the writing system used by the language defined by a 4-letter code, such as for Japanese written with the Katakana alphabet, the code will be lang="ja-Kana".
  2. the country code defined by two uppercase letters according to the ISO3166 standard. Example with the Canadian version of French, lang="fr-CA".

Complete example with the Canadian version of French braille, lang="fr-Brail-CA".

NB: If you are using a language written from right to left, be sure to specify it using the dir attribute, i.e., dir="rtl" (right to left).

Specifying a language helps screen readers correctly pronounce the text.

Valid lang attribute

2  2 1 1

0: the attribute is not present
1: the attribute is present but invalid
2: the attribute is present and valid

#100Indexing/ AccessibilityPopulate the xml:lang attribute like the lang attribute NA x 2

The xml:lang attribute is not mandatory for an HTML file. But it becomes mandatory for an XML file.

When relying on XML parsers (like the lang() function in XSLT), the lang attribute is not recognized. In this case, you must define the xml:lang attribute.

If you serve the document as XHTML (meaning HTML and XML at the same time), you must define both lang and xml:lang attributes identically. Conversely, if you serve your page solely as XML (for example using the application/xhtml+xml MIME type), you don't need the lang attribute. Only the xml:lang attribute will suffice.

In short, the value of the xml:lang attribute, if included in the html element, must be exactly identical to the value of the lang attribute.

If the web page language is not consistently specified, screen readers may not pronounce the page text correctly.

Validity of the XML:LANG attribute

NaN  1 0 0

Security (25 best practices)

The security of a website is essential. The best practices below aim to secure your site by pointing out simple bugs or the obsolescence of certain practices, but also to reassure your users and gain their trust by preserving the confidentiality of their data and avoiding being too intrusive in their "digital" life. 

Certificate 100

The SSL/TLS certificate is the server's proof of identity; these best practices check its strength, validity, and ability to be revoked if needed.

#148NEW !CertificateUsing a robust key and signature 100 x 3

When your browser connects to a site via HTTPS, it verifies the SSL certificate presented by the server. This certificate contains two fundamental cryptographic elements: the public key, which defines the strength of the encryption, and the signature algorithm, which guarantees that the certificate has not been forged.

If the key is too short, it can be broken by today's available computing power. If the signature algorithm is obsolete, an attacker can manufacture a fake certificate accepted as legitimate by browsers—as happened in 2017 with SHA-1, whose first collision was publicly demonstrated.

Two parameters must be checked:

  • Key Size : RSA requires a minimum of 2048 bits to be considered secure. ECDSA, which is more modern and compact, offers equivalent security starting at 256 bits. Below these thresholds, the key is breakable with accessible resources.
  • Signature Algorithm : SHA-256 is the required minimum. SHA-1, its predecessor, has been cryptographically broken since 2017. Furthermore, SSL Labs caps its grade at A for certificates lacking this minimum, meaning they can no longer achieve A+.

Key and Signature Strength

100  100 50 0

Score out of 100 from testssl.sh: a score of 0 if the RSA key is less than 2048 bits or the EC key is less than 256 bits, and 50 points deducted if the signature uses SHA-1.

A question ?

Reference article(s):

#149NEW !CertificateProviding a complete and valid certificate chain 100 x 3

When a server presents its SSL certificate, it is not enough for that certificate to be valid; the browser must be able to trace the entire chain of trust back to a recognized root authority. This chain consists of three levels: the site's certificate, one or more intermediate certificates, and the root CA (Certificate Authority) certificate.

If an intermediate certificate is missing, certain browsers and HTTP clients refuse the connection because they cannot verify the authenticity of the presented certificate. This is one of the most frequent configuration errors in production; the developer's browser works because it cached the intermediate during a previous visit, but a new visitor or API client encounters an error.

An expired certificate, on the other hand, is rejected immediately by all browsers, which display a blocking warning page. A preventative alert 30 days before expiration leaves time to act before any service interruption.

Incomplete chain: You must include the CA's intermediate certificates in the server configuration. A common case with Let's Encrypt is that you must use fullchain.pem rather than cert.pem.

Imminent or past expiration: Simply renew the certificate or ensure that automatic renewal is enabled.

Certificate chain validity

100  100 50 0

Score out of 100 based on testssl.sh: 0 if the certificate has expired, 50 points deducted if the chain of trust is incomplete or invalid, and 25 points deducted if the certificate expires in less than 30 days.

A question ?
#150NEW !CertificateEnabling forward secrecy with sufficient parameters 100 x 1

Forward Secrecy is a cryptographic property that guarantees the future compromise of a server's private key does not allow past communications to be decrypted. Without Forward Secrecy, an attacker who records encrypted traffic today can decrypt it entirely if they obtain the server's private key tomorrow.

With Forward Secrecy, each session generates an independent ephemeral encryption key. Even with the server's private key, it is impossible to reconstruct past session keys—each conversation remains protected individually.

Forward Secrecy relies on ephemeral key exchange algorithms named ECDHE (elliptic curves) or DHE (classic Diffie-Hellman). The strength of this protection directly depends on the size of the parameters used: DH parameters below 1024 bits can be cracked in a few hours with accessible hardware, completely nullifying the protection provided. Between 1024 and 2048 bits, the protection is insufficient for long-lived data.

Forward Secrecy strength

100  100 50 0

Score out of 100 based on testssl.sh: 0 if Forward Secrecy is not offered, if the LOGJAM vulnerability is detected or if DH parameters are below 1024 bits. 50 points are deducted if these parameters are between 1024 and 2048 bits.

A question ?

Reference article(s):

#151NEW !CertificatePublishing an accessible revocation list 100 x 1

When an SSL certificate is compromised—such as through a stolen private key or a hacked server—the CA (Certificate Authority) that issued it can revoke it before its expiration date. However, this revocation only takes effect if browsers can verify it. This is the role of the Certificate Revocation List (CRL): a list published by the CA, regularly updated, that catalogs all the certificates it has revoked.

The URL used to download this list must be embedded within the certificate itself. Without it, browsers cannot verify whether the certificate has been revoked, meaning a stolen certificate remains usable until its natural expiration.

Modern browsers rely on this mechanism:

  • Firefox uses CRLite, which aggregates all CA CRLs into a local database updated every 12 hours.
  • Chrome uses CRLSets, which distributes critical revocations via its updates.

Without a CRL URL in the certificate, these mechanisms cannot cover the domain in question.

The CRL URL is inscribed in the certificate by the CA at the time of issuance and is not configured on the web server. A certificate without a CRL URL must be renewed through a CA that includes this extension, which is the case for all recognized public CAs (Let's Encrypt, DigiCert, Sectigo, etc.).

If the URL is present but unreachable, the issue stems from the CA or a firewall blocking outgoing HTTP requests from the server to the CA's infrastructure.

Revocation list (CRL) accessibility

100  100 50 0

Score out of 100 based on testssl.sh and an HTTP request to the certificate's CRL URL: 0 if no CRL URL is declared, and 50 points deducted if it does not return HTTP 200.

A question ?

DNS 25

DNS resolution is the first step of any connection; these best practices protect the domain zone against spoofing and hijacking.

#152NEW !DNSEnabling DNSSEC on the domain 0 x 2

When a user types an address into their browser, a DNS query translates that domain name into an IP address. This mechanism has no native protection against tampering; an attacker positioned on the network can intercept the DNS response and silently redirect the visitor to a malicious server, even if the target site is perfectly secure. This is known as DNS cache poisoning.

DNSSEC (DNS Security Extensions) solves this problem by adding a cryptographic signature to every DNS record. The browser can thus verify that the response received is authentic and has not been altered in transit.

DNSSEC relies on a hierarchical chain of trust—from the DNS root down to the domain—consisting of three records that must all be present and consistent:

  • DNSKEY : The domain's public key, used to verify signatures.
  • DS (Delegation Signer) : Placed at the registrar (where the domain is registered), it establishes the link of trust between the parent zone (.fr, .com, etc.) and the domain.
  • RRSIG : The cryptographic signature applied to each DNS record of the domain.

If any of the three links is missing or inconsistent, the chain is broken and DNSSEC protects nothing—even if the other two are present.

DNSSEC is configured at the registrar, not on the web server. The procedure varies depending on the registrar but boils down to two steps:

If the registrar also manages DNS (OVH, Gandi, Cloudflare, etc.)—activation is generally automatic with a single click from the registrar's interface. It generates the keys, creates the DNSKEY and RRSIG records, and places the DS record with the parent zone registry.

If DNS is externalized (domain at OVH, DNS at Cloudflare, for example)—activate DNSSEC at the DNS provider to obtain the DS record, then manually place it with the registrar.

DNSSEC validity

0  1 0 0

Zonemaster analysis of the DNSSEC module: score 1 if DNSSEC is configured without critical errors, 0 if it is missing or if at least one CRITICAL or ERROR finding is detected.

A question ?
#153NEW !DNSConfiguring CAA records on the domain 0 x 1

When a server is compromised and an attacker seeks to obtain a fraudulent SSL certificate to impersonate the site, they can turn to any Certificate Authority (CA) in the world. Without protective measures, nothing stops a CA—even one recognized by browsers—from issuing a valid certificate for a domain it should not certify.

The CAA (Certification Authority Authorization) record is a DNS directive that explicitly restricts which CAs are authorized to issue certificates for a domain. All public CAs are required to check this record before issuing a certificate—this has been an obligation of the CA/Browser Forum since 2017.

Three directives make up a complete CAA record:

  • issue: Lists the CAs authorized to issue standard certificates for the domain.
  • issuewild: Lists the CAs authorized to issue wildcard certificates (*.domain.com). If absent, the issue directive applies. Setting it to ; explicitly forbids any wildcard.
  • iodef: Email address or URL to notify if a CA detects an unauthorized issuance attempt—this is the alert mechanism in the event of an attack.

The CAA record is configured in the DNS zone with the DNS host, not on the web server.

The SSLmate generator ([https://sslmate.com/caa/](https://sslmate.com/caa/)) allows you to automatically build the correct CAA records by simply selecting the CA you use.

Declared CAA directives

0  3 1 0

Queries the domain's CAA record and awards one point per directive found: issue, issuewild and iodef, for a score out of 3.

A question ?
#154NEW !DNSChecking domain absence in blacklists 100 x 1

A web server can be compromised without its owner's knowledge and used to send spam, host malware, or participate in a botnet. DNS blacklist databases (DNSBL — DNS-Based Blackhole Lists) are public databases maintained by independent security organizations that catalog IP addresses identified as sources of malicious activity.

A blacklisted domain suffers immediate and visible consequences: transactional emails are silently rejected by mail servers, browsers display warning pages before allowing site access, and search engine rankings can be penalized.

This best practice verifies the server's IP address against the 4 critical reference lists worldwide—those used by mail servers and browsers to filter malicious traffic:

  • zen.spamhaus.org : Consolidation of all Spamhaus lists covering spam, malware, and botnets. The absolute industry standard. See Spamhaus.
  • b.barracudacentral.org : Email reputation and phishing detection, maintained by Barracuda Networks. See Barracuda Lookups.
  • bl.spamcop.net : Spam sources actively reported by users via SpamCop. See SpamCop.
  • dnsbl.sorbs.net : Spam and open relays, maintained since 2001. See SORBS.

Being blacklisted on any of these lists systematically indicates a real issue—unlike secondary lists that can produce false positives. Scoring is therefore binary: clean on all 4 lists or blacklisted.

Blacklisting indicates that the server has been or still is involved in malicious activities. The remediation process involves two steps:

1. Identify and eliminate the source of the problem : Analyze server logs to detect a compromise, a malicious script, unauthorized spam sending, or botnet participation. As long as the source is not eliminated, delisting will be denied or only temporary.

2. Request delisting from each affected list : Each DNSBL provides a delisting form. The text field returned by the test contains the direct URL to initiate the procedure.

Blacklist absence

4  4 3 0

Checks the server's IP address against 4 reference blacklists (Spamhaus, Barracuda, SpamCop and SORBS) and awards one point per list where it is not listed, for a score out of 4.

Protocol 100

The HTTPS protocol relies on versions and encryption algorithms whose strength must hold up against current attacks.

#46Protocol/ PerformanceUse the latest version of the TLS protocol 100 x 1

TLS is the protocol that ensures the confidentiality of HTTP/S exchanges on the Internet between users and servers. When a server and a client communicate, TLS ensures that no third party can intercept or tamper with a message.

This protocol is widely used and most browsers are also TLS clients. Versions 1.0 and 1.1 are obsolete. Since 2020, browsers no longer support these older versions. Indeed, they are not secure; if you're not already on it, you need to upgrade to at least version 1.2.

Version 1.3 of TLS, in addition to being more secure, performs a "handshake" negotiation in fewer steps and is therefore faster than TLS 1.2.

NB: Running HTTPS with version 1 of HTTP is a heresy in terms of performance.

 

Number of domains using TLS versions < 1.3

0  0 5 15

Counts the number of domains using TLS versions < 1.3.

A question ?

Reference article(s):

#117Protocol/ SEO/ UXUse only HTTPS requests 100 x 2

All websites must be protected by the HTTPS protocol, even those that do not handle sensitive data.

The HTTPS protocol guarantees two things simultaneously: the encryption of exchanges between the browser and the server, and the authentication of the website. It serves as proof that you are indeed communicating with the correct server and not a malicious intermediary. Without it, any data moving across the network can be read and modified by anyone along the path.

This risk goes beyond the simple protection of forms or transactions. Even a page without sensitive data can be altered by a malicious actor intercepting HTTP traffic: ad injection, content replacement, or partial to total page takeover. Although modern browsers increasingly block mixed content (HTTP resources loaded from an HTTPS page), their presence remains a sufficient red flag to compromise the security of the entire page. By the time the warning appears, the insecure requests have already been executed.

Beyond technical security, HTTPS has become a visible standard of trust. The padlock displayed in the address bar is now a signal that users have internalized: its absence triggers an explicit warning in Chrome, Firefox, and Safari, scaring off a significant portion of visitors before they have even interacted with the content. HTTPS directly reduces security-related anxiety, supports brand credibility, and lowers the trust threshold required for any contact or conversion.

Furthermore, using HTTPS is a prerequisite for using HTTP/2. Using HTTPS exclusively is also often required by many Web platform APIs.

NUMBER of HTTP Requests

0  0 1 5
A question ?
#128Protocol/ SEORedirect HTTP protocol to HTTPS 100 x 1

It is possible, for various reasons, for a user or a malicious program to launch a request on your page using the HTTP protocol. By definition, this is not secure!

You should redirect all URLs on the site and all requests strictly to the secure HTTPS protocol.

Incidentally, several technologies require HTTPS, such as service workers. If this redirection is not in place, this type of technology will not work for the user browsing the site via HTTP...

NB: To test, beware that Chrome automatically redirects to HTTP/S. Prefer testing with Firefox, which does not perform this redirection. This allows you to verify that the redirection is properly configured on the server side.

HTTP to HTTPS redirection

1  1 0 0

Reference article(s):

#147NEW !ProtocolDisabling obsolete encryption algorithms 100 x 2

When your browser connects to a site via HTTPS, the server and the browser negotiate the algorithm that will encrypt their exchanges. Some older algorithms have been broken by security researchers; an attacker capable of intercepting traffic can exploit them to decrypt all or part of the communications.

Five families of algorithms are affected:

  • RC4 : An algorithm from the 1980s that exhibits mathematical weaknesses. By observing enough encrypted traffic, an attacker can reconstruct sensitive data such as session cookies.
  • 3DES, DES, RC2 : These algorithms operate on data blocks that are too small. After a large volume of exchanges on the same connection, repetitions appear and betray the content.
  • NULL : The server agrees to perform "HTTPS" without actual encryption. Data travels in the clear despite the padlock displayed in the browser.
  • aNULL / ADH : The server does not authenticate itself. Anyone can impersonate it without the browser detecting it; this is known as a Man-in-the-Middle (MitM) attack.
  • EXPORT RSA : In the 1990s, US legislation mandated intentionally weakened keys for export. These keys can be cracked in seconds with modern hardware and should never have remained in server configurations.

Absence of obsolete ciphers

100  100 50 0

Score out of 100 based on testssl.sh: 0 if NULL, aNULL or EXPORT suites or the FREAK vulnerability are detected, with points deducted for RC4, 3DES/IDEA, SWEET32 or low-grade suites.

Reference article(s):

Headers 22

The right HTTP directives strengthen browser security against common attacks such as interception, data leakage, or injected content.

#119HeadersDefine a CSP (Content Security Policy) header 0 x 1

A Content Security Policy (CSP) ensures that all content loaded on the page is approved by the site owner.

It is an HTTP header to be configured directly in the HTTP response or in a "meta http-equiv". Prefer the response in the HTTP header because a JavaScript injection before the meta tag could bypass the rules defined in the CSP.

Here is the list of available directives:

  • default-src
    The default-src directive defines the default policy for fetching resources such as JavaScript, Images, CSS, Fonts, AJAX Requests, Frames, HTML5 Media.
    NB: Not all directives fall back to default-src.
  • script-src
    Defines valid sources of JavaScript.
  • style-src
    Defines valid sources of stylesheets or CSS.
  • img-src
    Defines valid sources of images.
  • connect-src
    Applies to XMLHttpRequest (AJAX), WebSocket, fetch(), <a ping>, or EventSource. If not allowed, the browser emulates a 400 HTTP status code.
  • font-src
    Defines valid sources of font resources (loaded via @font-face).
  • object-src
    Defines valid sources of plugins, e.g., <object>, <embed>, or <applet>.
  • media-src
    Defines valid sources of audio and video, e.g., HTML5 <audio>, <video> elements.
  • frame-src
    Defines valid sources for loading frames. In CSP Level 2, frame-src was deprecated in favor of the child-src directive but it will continue to work if child-src is not present.
  • sandbox
    Enables a sandbox for the requested resource similar to the iframe sandbox attribute. The sandbox applies a same-origin policy, prevents popups, plugins, and blocks script execution.
  • child-src
    Defines valid sources for web workers and nested browsing contexts loaded using elements such as <frame> and <iframe>
  • form-action
    Defines valid sources that can be used as an HTML <form> action.
  • frame-ancestors
    Defines valid sources for embedding the resource using <frame> <iframe> <object> <embed> <applet>. Setting this directive to 'none' should be roughly equivalent to X-Frame-Options: DENY
  • plugin-types
    Defines valid MIME types for plugins invoked via <object> and <embed>.
  • base-uri
    Defines a set of allowed URLs that can be used in the src attribute of an HTML base tag.
  • worker-src
    Restricts the URLs that can be loaded as a Worker, SharedWorker, or ServiceWorker.
  • manifest-src
    Restricts the URLs from which application manifests can be loaded.
  • prefetch-src
    Defines valid sources for prefetching and prerendering requests, e.g., via the link tag with rel="prefetch" or rel="prerender":

The options are therefore numerous and precise and should allow you to better secure your web pages. More info here: https://content-security-policy.com/.

Presence of the CSP header

0  1 0 0

Only tests for the presence of a CSP. See BP#203 for potential flaws.

A question ?
#120HeadersAvoid flaws in the CSP header NA x 1

Configuring a CSP involves adding the Content-Security-Policy HTTP header to a web page and, most importantly, setting values to control the resources that the user agent is allowed to load for that page.

While a CSP mitigates cross-site scripting (XSS) attacks because it can block dangerous scripts injected by attackers, it can easily be bypassed if the defined values are not strict enough. Indeed, in addition to requiring a lot of customization, CSPs commonly based on host allowlists often leave the page exposed to XSS attacks because they can be bypassed.

To avoid this, you can use a content security policy based on nonces or hashes:

  • A nonce is a random number used only once that can be used to mark a script tag as trusted.
  • A hash function is a mathematical function that converts an input value into a compressed numerical value, a hash. A hash (such as SHA-256) can be used to mark an inline script tag as trusted.

Implementing a CSP that is both flexible and 100% reliable is rarely simple. We advise you to consult a specialist to see how to set it up.

In any case, monitor the metric associated with this best practice so that it does not deteriorate.

Number of CSP flaws

NaN  0 1 5
A question ?

Reference article(s):

#121HeadersDefine an HSTS (HTTP Strict Transport Security) header 0 x 1

Created in 2012 by the IETF, the goal of the HSTS (HTTP Strict Transport Security) header is to force a browser to use secure connections.

The idea is to address the following issues:

  • All attempts to access a website's pages via HTTP must be automatically redirected to HTTPS.
  • Allows verifying the connection. In the event of an insecure connection, it ensures that the certificate is not tampered with. Thus, the browser displays an error message and denies the user access to the site.
  • Avoid cookie hijacking. Stealing a cookie over an insecure connection can allow someone to retrieve confidential information like credit card numbers.

Implementing this header requires the following points:

  • Your SSL certificate must be valid and cover all subdomains.
  • All HTTP links must have a 301 redirect (permanent redirect) to HTTPS.
  • The "Max-age" parameter of the header must be set to at least 31 536 000 seconds or 1 year.
  • The "includeSubDomains" directive must, if applicable, be specified!
  • The "preload" directive must be specified.

Ultimately, your HSTS header should look like this:
Strict-Transport-Security: max-age=106384710; includeSubDomains; preload

Note: This policy is only taken into account in the HTTP header. A <meta http-equiv=“Strict-Transport-Security”> tag is ignored by browsers, as required by RFC 6797.

Note: If the header is sent multiple times, only the first one is applied: an incomplete value sent first overrides the directives in subsequent headers.

Presence of the HSTS header

0  3 2 0

The test checks for the HTTP Strict-Transport-Security header and returns 0 if it is missing, has no valid max-age, or has max-age=0. Otherwise, it is worth 1 point, plus one point for each criterion met: a `max-age` of at least 31,536,000 seconds (1 year), the presence of `includeSubDomains`, and the presence of `preload`—for a maximum of 4 points.

A question ?
#122HeadersDefine an X-Content-Type-Options header 0 x 1

The X-Content-Type-Options HTTP header is used by the server to indicate that the MIME types advertised in the Content-Type headers should be followed and not changed by the browser.

Indeed, the browser has a feature that allows it to compare the content it retrieves with the Content-Type header provided by the server, and if it seems incorrect, to apply the MIME type it deems most appropriate.

The downside is that a malicious program can use this MIME type "sniffing" to execute code on a user's computer by tricking the browser into interpreting a file as a different MIME type than it actually is. For example, passing off a script as an image...

The declaration of such a header should look like this:
X-Content-Type-Options: nosniff

Note: This directive is only taken into account in the HTTP header. A <meta http-equiv=“X-Content-Type-Options”> tag is ignored by browsers.

Note: If the header is sent multiple times, only the first value is read: protection remains active as long as it is set to “nosniff.”

Presence of the X Content Type Options header

0  2 1 0

The test reads the page's X-Content-Type-Options HTTP header and returns 0 if it is missing, 1 if its value is incorrect, and 2 if it is set to “nosniff.” If the header is sent multiple times, only the first value is taken into account, just as the browser does.

A question ?
#123HeadersDefine an X-Frame-Options header 0 x 1

The X-Frame-Options HTTP header tells the browser whether the web page can be displayed in another context. That is to say, can the page be used within an iframe or in a plugin?

This header must be defined because otherwise it is possible to embed the web page in an iframe and modify its behavior to retrieve usernames and passwords, for example.

The X-Frame-Options header can take three values:

  • Deny: completely prevents the web page from loading inside an iframe
  • Sameorigin: inclusion is only allowed if the calling page has the same origin, i.e., same domain, same protocol, and same port.
  • Allow-from <url> : allows explicitly authorizing domains that would include the page in an iframe.

Generally, the second value is used like this:
X-Frame-Options: SAMEORIGIN

Presence of the X Frame Options header

0  1 0 0
A question ?
#124HeadersDo not use an X-XSS-Protection header 100 x 1

The X-XSS-Protection HTTP header is a feature of Internet Explorer, Chrome, and Safari that prevents pages from loading when they detect cross-site scripting (XSS) attacks.

However, this header is now obsolete and support has been removed from most browsers.

Worse still, while this feature can protect users of older web browsers that do not yet support CSP, the X-XSS-Protection HTTP header can create vulnerabilities in otherwise secure websites.

This header should therefore be removed. More info on Developer.mozilla.org.

Presence of the XSS Protection Header

0  0 1 1
A question ?

Reference article(s):

#143NEW !HeadersDeclaring a referrer policy 0 x 1

Every time a user clicks a link or a page loads an external resource, the browser automatically sends an HTTP Referer header containing the URL of the originating page. Without an explicit policy, this behavior can expose sensitive information encoded in your URLs to third parties without the site owner or the user being aware of it.

The real-world scenario: A user navigates a page whose URL contains a session token or personal parameters (/order?token=abc123&user=456). They click a link pointing to a third-party site integrated into the page. Without a declared policy, this full URL is transmitted to them in the Referer header, exposing your user's session data without anyone intending to do so.

The Referrer-Policy header allows you to precisely control what the browser transmits. Four values cover common use cases:

  • no-referrer transmits nothing under any circumstances, at the cost of rendering internal analytics useless.
  • same-origin transmits the full URL internally only, and nothing to third parties.
  • strict-origin transmits only the origin ([https://mysite.fr](https://mysite.fr)) in all cases.
  • strict-origin-when-cross-origin is the recommended value: the full URL is sent internally, only the origin is sent to third parties, and nothing is sent in the event of a downgrade from HTTPS to HTTP. This has been the default behavior in Chrome, Firefox, and Safari since 2021. Declaring it explicitly guarantees this behavior even on older browsers, which previously transmitted the full URL to all sites over HTTPS.

The fix is a single server configuration line:

Referrer-Policy: strict-origin-when-cross-origin

Note: If the server configuration is not accessible, the same policy can be declared in the <head> using <meta name="referrer" content="strict-origin-when-cross-origin">. 

Validity of the Referrer-Policy Header

0  2 1 0

The test reads the page's HTTP Referrer-Policy header and returns 0 if it is missing, 1 if its value is not one of the four recommended values, and 2 if it is set to “no-referrer,” “same-origin,” “strict-origin,” or “strict-origin-when-cross-origin.”

A question ?
#144NEW !HeadersDeclaring the MIME type for every served resource 100 x 1

Every resource returned by a web server—whether an HTML page, stylesheet, script, image, or font—must be accompanied by an HTTP Content-Type header that explicitly declares its nature. Without this declaration, the browser activates a MIME sniffing mechanism: it inspects the content of the response to try and guess what it is.

The real-world scenario: An attacker uploads a carefully crafted file to the server whose initial bytes resemble JavaScript. Without a declared MIME type, the browser's sniffing algorithm analyzes the file's first few bytes, concludes that it is JavaScript, interprets it as such, and executes it—even though the server served it as an image.

Declaring a correct Content-Type on every response is the essential prerequisite for the protection provided by the X-Content-Type-Options: nosniff header (covered in BP#122): without a declared MIME type, nosniff has nothing to enforce.

Note: MIME types are defined and standardized in the IETF's RFC 6838.

Resources without a Content-Type

0  0 5 20

Le test compte les ressources de la page (HTML, CSS, JS, images, polices…) renvoyées sans en-tête Content-Type ou avec un en-tête vide. C'est une réussite s'il n'y en a aucune, un échec à partir de 5 et une anomalie à partir de 20.

A question ?

Reference article(s):

#145NEW !HeadersDeclaring a browser feature permissions policy 0 x 1

By default, the browser allows any web page to request access to sensitive features: geolocation, camera, microphone, payment, and motion sensors. Without a Permissions-Policy header, any third-party component embedded in the page inherits the same access rights as the page itself—such as chat widgets, advertising scripts, or interactive maps.

Two real-world scenarios illustrate what this means in practice:

  • An e-commerce site integrates a customer support widget hosted on an external domain. If this provider is compromised or updates its script without notification, the injected code can invoke navigator.geolocation and transmit visitors' GPS coordinates to a third-party server, without any visible popup since authorization was already granted to the main domain.
  • An agency website embeds a chatbot in an iframe. Without declared restrictions, this third-party component runs with active microphone access rights on the page, even if the site never uses that feature.

The Permissions-Policy header allows you to explicitly list authorized features and their scope, regardless of the origin of the script invoking them. The value () denies the feature to all origins, self restricts it to the main domain, and a named origin in quotes limits it to a specific domain.

For a site that does not use the camera, microphone, or payment, the basic configuration is a single server configuration line:

Permissions-Policy: geolocation=(), camera=(), microphone=(), payment=()

For a site that uses geolocation on its own pages and via an embedded OpenStreetMap map, but wants to ban access for any other third-party component:

Permissions-Policy: geolocation=(self "https://www.openstreetmap.org"), camera=(), microphone=(), payment=()


These four directives cover the most sensitive features from a privacy and misuse-risk perspective. Others can be added depending on the site's architecture: usb=(), display-capture=(), accelerometer=().

Note: The `interest-cohort=()` directive, which is still widely used, was intended to block FLoC, a Google advertising technology that was discontinued in 2022. It no longer has any effect and causes an error in the Chrome console. A header that contains only this directive provides no protection: it must be removed and replaced with useful directives.

Note: This policy is only taken into account in the HTTP header. A <meta http-equiv=“Permissions-Policy”> tag is ignored by browsers.

Note: If the header is sent multiple times, the values are merged: for a feature declared twice, the last value takes precedence, and a single malformed line is enough to cause the entire policy to be ignored.

Permissions-Policy header validity

0  3 1 0

The test reads the HTTP Permissions-Policy header and checks for six sensitive features (camera, microphone, geolocation, payment, USB, display capture). It returns 0 if the header is missing, 1 if it is declared twice, 2 if its value is incorrect (a feature open to everyone with *, or none restricted), and 3 if at least one is restricted without any being open.

A question ?

Reference article(s):

#146NEW !HeadersDeclaring a navigation context isolation policy 0 x 1

Declaring a navigation context isolation policy

By default, the browser allows a page opened via window.open() to access the window object of the page that opened it. This cross-reference is the vector for a class of attacks related to Spectre processor vulnerabilities: a malicious script in the opened page can read fragments of the parent process's memory via timing side channels, potentially extracting session tokens or sensitive data.

The real-world scenario: Your site opens a partner page via window.open(). This third-party page is compromised. Without declared isolation, its script can call window.opener to access your context, read data in memory, or silently redirect your originating page.

The Cross-Origin-Opener-Policy (COOP) header severs this reference by isolating your page into its own navigation context group. Three values are available:

  • unsafe-none is the default browser behavior, providing no protection.
  • same-origin-allow-popups isolates your page from windows opened by other origins while retaining the window.opener reference to your own same-origin popups.
  • same-origin is the recommended value : your page is completely isolated from any cross-origin context, whether it is a window that opened you or a window you opened.

The configuration consists of a single server configuration line:


Cross-Origin-Opener-Policy: same-origin

Relationship with CORP and COEP

COOP is part of a complementary trio of Cross-Origin headers. Cross-Origin-Resource-Policy (CORP) controls which origins can load your resources (images, scripts, fonts) and is worth configuring on asset and API servers. On the other hand, Cross-Origin-Embedder-Policy (COEP) is out of reach for the majority of sites: it requires all third-party resources loaded on the page to explicitly declare their cross-origin policy, which in practice breaks any non-compliant third-party widget or content.

Note: This policy is only taken into account in the HTTP header. A <meta http-equiv=“Cross-Origin-Opener-Policy”> tag is ignored by browsers.

Note: If the header is sent multiple times, even with identical values, the browser can no longer interpret it and ignores it: the page loses all isolation.

Validity of the COOP header

0  2 1 0

The test reads the page's Cross-Origin-Opener-Policy HTTP header and returns 0 if it is missing, 1 if it does not isolate the page (value “unsafe-none,” invalid value, or duplicate header), 2 for “same-origin-allow-popups,” and 3 for “same-origin.”

A question ?

Reference article(s):

Exposition 71

An attacker exploits the information and flaws left visible. These often come from an overly talkative configuration or an unpatched component.

#118Exposition Avoid vulnerable JavaScript libraries 100 x 3

Like all programming languages, JavaScript presents security risks. Exploiting JavaScript vulnerabilities can allow manipulating, modifying and stealing data, redirecting sessions, and much more. Although JavaScript is generally considered a client application, its security vulnerabilities are also likely to have server-side repercussions.

The most common JavaScript attack vectors are:

  • executing malicious scripts,
  • stealing user-established session data or data from the browser's local storage (localStorage),
  • tricking users into performing unwanted actions,
  • exploiting vulnerabilities in the source code of web applications.

Therefore, if you have JS libraries known to have security flaws, we strongly encourage you to upgrade to patched versions as soon as possible.

Number of vulnerabilities detected in JS libraries

0  0 1 5
A question ?

Reference article(s):

#125Exposition/ UXDo not prevent copy/pasting in input fields 100 x 1

You will certainly see opposite recommendations elsewhere, but artwaï recommends allowing copy/paste in input fields, even for password fields!

We believe this does not reduce security. On the contrary, it improves it because it allows the use of password managers like Keepass, LastPass, 1Password, etc...

Password managers generate strong passwords for users, store them securely, and then automatically paste them into password fields whenever users need to log in.

This approach is generally safer than forcing users to type passwords short enough to be memorized.

Copy/Paste blocked by JavaScript

1  1 0 0

Lighthouse gathers all usable "input" elements, pastes text into each element, and then verifies that the "paste" event was not prevented by custom JavaScript.

#155NEW !ExpositionNot exposing the name and version of the CMS in the meta generator tag 0 x 1

The <meta name="generator"> tag is inserted automatically by most CMS platforms—WordPress, Drupal, Joomla, TYPO3, Wix, Squarespace, and others. It identifies the software used to build the page. When it includes a specific version number, it provides an attacker with directly actionable information: they can cross-reference this version with public vulnerability databases and immediately target known flaws without needing a reconnaissance phase.

An unpatched CMS is one of the most common intrusion vectors. Exposing the exact version in public HTML significantly reduces the time and skill required to exploit a known vulnerability. Automated tools like WPScan mass-scan the web looking for this tag to compile target lists. Removing the version number does not fix the underlying vulnerability, but it removes the signal that allows it to be identified remotely with zero effort.

The presence of the CMS name without a version is less critical—it can often be guessed through other methods—but the exact version is a primary reconnaissance data point that serves no legitimate purpose for a visitor.

Here are practices for some of the most popular CMS platforms:

  • WordPress: Removal is done by adding the following to the theme's functions.php file: remove_action('wp_head', 'wp_generator');
  • Drupal: Done via the "Remove Generator" module or by overriding the html_head_alter hook.
  • Joomla: Found in the global configuration under the "Generator Metadata" option.

CMS version exposure

1  2 0 0

Checks the <meta name="generator"> tag in the static HTML: score 2 if it is absent, 1 if present without a version number, 0 if it exposes a version.

A question ?
#156NEW !ExpositionSecuring WordPress configuration 50 x 2

WordPress powers over 43% of the global web, making it the number one target for automated attacks. Every misconfigured endpoint or unpatched plugin becomes an entry point exploited on a large scale by automated scanners. There are four critical configuration points to verify:

  1. xmlrpc.php : A legacy interface created in 1998 to allow remote publishing from desktop clients or mobile apps at a time before WordPress had a REST API. Today, it is completely obsolete yet remains present and active by default on all WordPress installations. It is heavily exploited for brute-force attacks: a single XML request allows testing hundreds of username/password combinations in one call, bypassing standard login page protections. No modern site needs it.
  2. The /wp-json/wp/v2/users endpoint : Publicly exposes the list of user accounts: usernames, slugs, and profile URLs. This information forms the first step of a targeted brute-force attack. It can be disabled "chirurgically" without affecting the rest of the REST API.
  3. wp-login.php : Accessible without restriction, it is the constant target of automated brute-force attacks. Combined with the leaking of usernames via the users endpoint, an attacker has both ingredients needed for a compromise.
  4. Plugins and the active theme : Represent the largest attack surface. The majority of compromises exploit known vulnerabilities in unpatched extensions.

WordPress Exposition

3  4 2 0

MilleCheck verifies that xmlrpc.php, the user API, and the login page are not publicly accessible, then compares the versions of the core, plugins, and theme detected on the site with the Wordfence database to identify known vulnerabilities that can be fixed with an update.

A question ?

UX (18 best practices)

UX (User Experience) covers everything a visitor perceives and feels when interacting with a site. Here we list the best practices that shape the quality of this experience, grouped into three sub-categories: Identity (who you are), Content (what you say), and Interface (how you behave). Some come from other frameworks such as Opquast or Nielsen Norman Group research, others from our own field observations. Following these best practices reduces the friction felt by users, builds their trust, and often indirectly improves your SEO and accessibility.

Identity 77

Before engaging, visitors want to understand who they're dealing with. These best practices bring together the signals that let them grant their trust to the organization behind the site.

#117Identity/ SEO/ SecurityUse only HTTPS requests 100 x 2

All websites must be protected by the HTTPS protocol, even those that do not handle sensitive data.

The HTTPS protocol guarantees two things simultaneously: the encryption of exchanges between the browser and the server, and the authentication of the website. It serves as proof that you are indeed communicating with the correct server and not a malicious intermediary. Without it, any data moving across the network can be read and modified by anyone along the path.

This risk goes beyond the simple protection of forms or transactions. Even a page without sensitive data can be altered by a malicious actor intercepting HTTP traffic: ad injection, content replacement, or partial to total page takeover. Although modern browsers increasingly block mixed content (HTTP resources loaded from an HTTPS page), their presence remains a sufficient red flag to compromise the security of the entire page. By the time the warning appears, the insecure requests have already been executed.

Beyond technical security, HTTPS has become a visible standard of trust. The padlock displayed in the address bar is now a signal that users have internalized: its absence triggers an explicit warning in Chrome, Firefox, and Safari, scaring off a significant portion of visitors before they have even interacted with the content. HTTPS directly reduces security-related anxiety, supports brand credibility, and lowers the trust threshold required for any contact or conversion.

Furthermore, using HTTPS is a prerequisite for using HTTP/2. Using HTTPS exclusively is also often required by many Web platform APIs.

NUMBER of HTTP Requests

0  0 1 5
A question ?
#162NEW !IdentityDisplay a favicon to establish brand identity 0 x 1

The favicon is the small icon displayed in the browser tab, bookmarks, browsing history, and mobile search results. Its presence goes unnoticed when everything is fine. Its absence, on the other hand, is immediately noticeable: an tab without an icon displays the browser's generic gray placeholder, signaling an incomplete or neglected site.

This detail has a real impact on how the site is perceived. A returning visitor looking for an open tab among dozens identifies the site in a fraction of a second thanks to its favicon—without it, they have to read the title. A user who bookmarks the site will see a generic icon in their list. These micro-frictions accumulate and weaken brand credibility before the content even has a chance to persuade.

A complete favicon implementation covers three distinct contexts:

  • Desktop — <link rel="icon"> in the <head>, ideally in .ico or .svg format.
  • iOS / Android — <link rel="apple-touch-icon"> for the add-to-home-screen icon.
  • Web App Manifest — a manifest.json file referencing icons for PWAs and modern browsers.

Favicon analysis

1  3 1 0

Verification of compliance in all three contexts.

A question ?
#163NEW !IdentityDisplay clickable contact details to reduce friction 100 x 1

Displaying a clickable phone number or email address directly is a strong and immediate trust signal. Nielsen Norman Group is explicit on the matter: showing a phone number demonstrates that the organization cares about its users and wants to be reachable. Failing to display one suggests it does not want to be bothered. Even worse, when contact information was non-existent or difficult to find, users believed the company was deliberately trying to avoid contact—and withdrew their trust.

The absence of direct contact details creates unnecessary friction: a user seeking quick contact has to search, navigate to a dedicated page, copy and paste—all steps that increase the risk of abandonment. A tel: mailto: link is a quick win : fast to implement, requiring no redesign, with an immediate positive impact on browsing comfort and the perceived accessibility of the brand.

Contact details

1  1 0 0

Looks for at least one tel: or mailto: link in the rendered DOM. Score 1 if a link is found, 0 otherwise.

A question ?
#164NEW !IdentityDisplay social media links to extend engagement 100 x 1

Links to social media networks serve as a signal of active presence and transparency. According to Nielsen Norman Group, users rely on social media to discover new products or companies, conduct research, engage with content, and seek support. Providing these entry points directly on the website allows visitors to verify in a single click that the brand exists beyond its site, that it posts regularly, interacts with its audience, and maintains an active community.

This logic aligns with a foundational credibility principle documented by Jakob Nielsen as early as 1999 and still valid today: not being afraid to link to third-party sites is a sign of confidence. External sites carry far more credibility than anything you can say about yourself. Isolated websites give the impression of having something to hide.

Their absence is not necessarily a deal-breaker, as certain types of websites have no reason to maintain a social media presence. However, for a brand, agency, or business, failing to offer these entry points means shutting down a simple and expected reassurance channel.

Social media links

1  1 0 0

Looks among external links for at least one link to a recognized social network (Facebook, Instagram, LinkedIn, X, YouTube, TikTok, Pinterest). Score 1 if a link is found, 0 otherwise.

A question ?
#165NEW !IdentityDisplay legal links in the footer to demonstrate compliance and transparency 100 x 1

Legal notices, privacy policies, and terms and conditions serve as clear signals of compliance and credibility. Their presence in the footer reassures visitors about the legitimacy of the business. Conversely, their absence can trigger suspicion, particularly in B2B or transactional contexts where visitors wonder who operates the site and how their personal data is handled.

Nielsen Norman Group has explicitly documented this pattern : users expect to find legal information in the footer.

Beyond user experience, these links satisfy legal obligations that vary by jurisdiction while converging on the same core requirements. In Europe, the GDPR mandates a privacy policy whenever personal data is collected. In the United States, the CCPA (California) imposes similar obligations. In the United Kingdom, the UK GDPR applies post-Brexit. In practice, any site collecting data—via a form, analytics cookies, or even a simple contact email address—is subject to one or more of these regulations depending on where its visitors are located. Displaying these links in the footer is therefore both an essential UX best practice and a universal legal requirement for any website with an international audience.

Mandatory Legal Links

3  3 0

This test searches all links on the page whose anchor text corresponds, based on the detected language, to the legal notices (+2) and the privacy policy (+1), with a passing score set at 3 points.

A question ?
#170NEW !Identity/ Eco-design/ SEODeclaring a valid RSS feed 0 x 0.5

An RSS (Really Simple Syndication) feed is a standardized XML format that allows aggregators, feed readers, monitoring tools, and search engines to automatically detect and consume a site's content without visiting each page individually.

For search engines, declaring an RSS feed via the <link rel="alternate"> tag inside the <head> is an explicit crawlability signal. It indicates to Googlebot that the site publishes content regularly and provides it with a structured entry point to track updates. This is a semantic shortcut that reduces the crawling load on internal pages and concentrates crawl budget on useful content.

For user experience, a declared RSS feed signals that a site is active and subscripbeable. Professional monitoring tools, aggregators like Feedly or Inoreader, and AI assistants consuming real-real-time feeds all rely on this declaration to discover and reference sources. Its absence silently cuts off these distribution channels without the site owner being aware of it.

For eco-design, RSS is one of the web's most frugal protocols: a lightweight, cached XML file consumed only when updated. It prevents the user from reloading an entire page just to check if new content is available, reducing both client-side requests and server load.

The minimal declaration in the <head> is:

<link rel="alternate" type="application/rss+xml" title="Flux RSS" href="/feed.xml">

A declared tag that points to an inaccessible or malformed feed is counterproductive: aggregators ignore it, and crawlers register a failing resource. The declaration only has value if the feed responds correctly.

Valid RSS feed

0 % 100 50 0

Detects the <link rel="alternate" type="application/rss+xml"> tag in the <head>, then verifies that the target feed is accessible and parsable. Each feed receives 1 point if it meets both of these conditions, and 0 otherwise. The final score is the average of the feeds, scaled to 100.

A question ?

Reference article(s):

Interface 100

How the page behaves, visually and technically, shapes the navigation experience. It should support the user rather than get in their way.

#125Interface/ SecurityDo not prevent copy/pasting in input fields 100 x 1

You will certainly see opposite recommendations elsewhere, but artwaï recommends allowing copy/paste in input fields, even for password fields!

We believe this does not reduce security. On the contrary, it improves it because it allows the use of password managers like Keepass, LastPass, 1Password, etc...

Password managers generate strong passwords for users, store them securely, and then automatically paste them into password fields whenever users need to log in.

This approach is generally safer than forcing users to type passwords short enough to be memorized.

Copy/Paste blocked by JavaScript

1  1 0 0

Lighthouse gathers all usable "input" elements, pastes text into each element, and then verifies that the "paste" event was not prevented by custom JavaScript.

#126NEW !InterfaceDo not ask for geolocation permission on page load 100 x 1

A geolocation request that pops up as soon as a page loads, with no context whatsoever, is one of the most anxiety-inducing experiences a website can inflict on a visitor. Users do not understand why a site needs to know where they are before they have even had time to read a single line. Their natural reaction is immediate refusal and, often, a lasting distrust of the site.

The Nielsen Norman Group formalized this in their research on permission requests: when users read a permission prompt, they perform an implicit cost-benefit analysis. They ask themselves what benefit they will gain from granting permission and how much they trust the application to make good use of it. Without context, this analysis systematically turns against the site: the perceived benefit is zero, and the perceived cost (sharing sensitive data with a stranger) is at its maximum.

Timing and context are the two key levers. A geolocation request triggered by an explicit user action (clicking "Locate me", starting a search for nearby stores, enabling express delivery) is perceived as logical and legitimate. The exact same request upon page load is perceived as intrusive and suspicious.

Three rules to follow:

  • Always ask after a user action, never upon page load.

  • Clearly announce that the action will trigger a location request, before the browser dialog box appears.

  • Provide a fallback solution if the user refuses: a manual entry field for a city or postal code, for example.

Location permission request on load

1  1 0 0

Lighthouse checks if JavaScript executed during page load calls geolocation.getCurrentPosition() or geolocation.watchPosition() and geolocation permission has not yet been granted. If so, the test fails.

Reference article(s):

#127NEW !InterfaceDo not ask for notification permission on page load 100 x 1

A notification request that pops up as soon as a page loads is the most common example of what UX researchers call an out-of-context permission request. The user does not yet know the site, has not evaluated the quality of its content, and has expressed no interest in its updates. Asking for authorization to send them notifications at that exact moment is like asking someone for their phone number before even saying hello.

The Nielsen Norman Group documents this precisely: when a permission request appears without contextual explanation, it can be unexpected and potentially alarming to users, who do not understand why this authorization is being requested at that moment. Without context, the implicit cost-benefit analysis performed by the user systematically turns against the site: the benefit is invisible, and the perceived cost — receiving unwanted solicitations — is immediate and concrete.

The consequences go beyond a simple refusal. A user who denies an intrusive permission remembers a negative interaction with the brand. Browsers themselves penalize this behavior: Chrome automatically displays a quiet UI for sites with a high rejection rate on notification requests, further lowering the probability of future acceptances.

Digital oversolicitation is a documented phenomenon that pushes users to actively reduce their cognitive load by refusing all unsolicited requests by default. Trust is built before the request, not during it.

Three practices to adopt:

  • Present the request only after explicit opt-in to the notification service, never upon page load.

  • Clearly state the nature and frequency of the notifications before the browser dialog box appears.

  • Offer a granular choice: topic, frequency, channel, so that users maintain control over what they accept.

NOTIFICATION PERMISSION REQUEST ON LOAD

1  1 0 0

Lighthouse checks if JavaScript executed during page load calls notification.requestPermission() and notification permission has not yet been granted. If so, the test fails.

Reference article(s):

#134NEW !Interface/ SEODeclare the UTF-8 Character Encoding 100 x 1

In the absence of an explicit character set declaration, the browser attempts to guess the encoding from the first few bytes of the document. This inference produces corrupted characters (the infamous é instead of é, or ’ for an apostrophe) as soon as the page contains non-ASCII characters, behaving unpredictably depending on the browser and the user's operating system language.

For search engines, a page with ambiguous encoding is indexed with corrupted content: keywords are fragmented, semantic relevance collapses, and snippets displayed in SERPs become unreadable. For users, corrupted characters signal a neglected site and instantly erode trust before the content even has a chance to persuade. UTF-8 is the only universally recommended encoding: it covers virtually all scripts and languages in the world, from French accented characters to Asian ideograms.

The declaration must be consistent across three distinct levels:

  • The HTTP header Content-Type: text/html; charset=utf-8 is read before the browser even begins parsing the HTML. It is the most authoritative declaration. 
  • The <meta charset="utf-8"> tag must appear within the first 1024 bytes of the <head>, before any non-ASCII character. It ensures proper encoding for browsers receiving the page without an HTTP header (local cache, opening a local file).
  • The file's actual encoding must be UTF-8 without a BOM (Byte Order Mark—a sequence of invisible bytes placed at the beginning of a file by some Windows editors, which can interfere with how the browser interprets the file). Declaring UTF-8 for a file actually encoded in ISO-8859-1 exacerbates the corruption rather than fixing it.

Declaration UTF-8

3  3 1 0

This test checks UTF-8 Encoding rules.

A question ?
#167NEW !InterfaceEnsure visual stability 100 x 3

Picture this: you are reading an article and about to click a link—an ad loads and pushes the content down. You end up clicking the ad. Or worse: you are about to submit a form when the button moves, causing you to accidentally hit cancel. This is precisely what CLS (Cumulative Layout Shift) measures: a score quantifying unexpected visual layout shifts, ranging from 0 to 1. The lower the score, the more stable the page. It must not exceed 0.1 to be considered acceptable.

This phenomenon is one of the most frequently reported UX issues by web users. It triggers accidental clicks, causes users to lose their place while reading, and gives the impression of a poorly constructed page. On mobile devices, where screens are small and tap targets are tight, the negative impact is amplified. Frustration is especially high when the shift happens right as the user interacts, turning an intentional action into an error.

Within CrUX, CLS is measured throughout the entire lifecycle of the page, not just during initial loading. Layout shifts can occur post-load—for instance, when lazy-loaded content pops in during scrolling, or during transitions in Single Page Apps where content reorganizes unexpectedly after a navigation.

The most common causes are images and videos lacking declared dimensions, web fonts whose replacement of fallback fonts alters line heights, and dynamic content injected without reserved space (banners, cookie notices, third-party widgets).

The primary fix is reserving space before content arrives. Three complementary approaches:

  • Systematically declare width and height on all images and videos so the browser can compute the aspect ratio in advance.

  • Use skeleton screens—placeholder blocks matching the exact dimensions of the expected content—for dynamically loaded areas (cards, feeds, ads). The user sees a stable layout from the initial render, with zero shifting when real data arrives.

  • Use font-display: optional or adjust fallback font metrics using CSS properties like size-adjust, ascent-override, and descent-override to minimize visual jumps during font swapping.

Google integrated CLS into its Core Web Vitals as a ranking signal in 2021, officially acknowledging that visual instability harms user experience enough to influence a result's perceived relevance.

Cumulative Layout Shift (CLS)

0  0.1 0.25 1

Measures the rate of unexpected visual content shifts over the page's lifetime. The page is stable if CLS does not exceed 0.1, and fails above 0.25.

A question ?
#168NEW !InterfaceDo not block user zoom 100 x 2

Blocking zoom on mobile devices is one of the most exclusionary choices a developer can make without realizing it. Two parameters in the <meta name="viewport"> tag are enough to trigger it: user-scalable="no" disables zoom entirely, and maximum-scale set to a value below 5 arbitrarily restricts it. These parameters were originally introduced for web applications trying to mimic native app behavior. Using them on content pages is a mistake.

Visually impaired users regularly enlarge content up to 200%, 300%, or even 400% to read comfortably. This is precisely what WCAG 2.1 guarantees under Success Criterion 1.4.4 (Level AA): text must be resizable up to 200% without loss of content or functionality. Blocking zoom deprives these users of their primary adaptation tool and constitutes a violation of international accessibility standards.

Beyond visually impaired users, zooming is a natural behavior for all mobile users facing dense content, a table, an image, or text that is too small. Blocking it generates frustration and leads to site abandonment.

Note: Chrome on Android and Safari on iOS now ignore user-scalable="no" to preserve accessibility. However, this behavior varies depending on browsers and versions, and removing the parameter remains the only reliable guarantee.

The fix is immediate: remove user-scalable="no" and do not set maximum-scale below 5.

User Zoom Lock

2  2 1 0

Checks the <meta name="viewport"> tag via Lighthouse and awards one point if user-scalable="no" is absent, and another if maximum-scale is absent or greater than or equal to 5, for a score out of 2.

A question ?
#169NEW !InterfaceProvide a print stylesheet 100 x 1

When a user prints a web page without a dedicated stylesheet, the browser faithfully renders what it displays on screen: navigation, headers, footers, banners, buttons, and colored backgrounds. The result is an unreadable printed page that wastes ink and paper, giving the impression of an unfinished site. A user who wanted to save an article, invoice, purchase order, or guide ends up with several unusable sheets of paper.

This use case is more frequent than one might think. B2B contexts are particularly affected : a buyer printing a quote for approval, a user archiving a receipt, or a technician bringing an installation guide on-site.

A print stylesheet can be implemented in just a few lines of CSS using the @media print rule. Elements that should systematically be hidden include navigation menus, headers, footers, action buttons, interactive forms, and ink-heavy background colors. The main editorial content, logo, and link URLs should remain clear and readable.

Détection d'une présence de feuille de style d'impression

1  1 0 0

Reference article(s):

Content 73

What the page says must be clear, credible, and useful. This is what lets users quickly find an answer to their need, without unnecessary effort.

#52Content/ Eco-design/ Accessibility/ SEOPopulate a "title" tag 100 x 3

The <title> tag is one of the most versatile elements of a web page: it simultaneously serves search engine optimization, navigation, accessibility, and user experience. Omitting or neglecting it creates cascading issues across all these areas.

For the user, the title is omnipresent yet quiet. It appears in the browser tab — making it possible to identify the page when managing multiple tabs — in bookmarks when saved, and in search results, where it is often the first element read before clicking. A precise title reduces unnecessary visits: users know before clicking whether the page meets their needs. It saves time and directly reduces friction.

For accessibility, the title is the very first element announced by screen readers upon landing on a page. A missing or generic title ("Page", "Home", "Untitled") deprives the user of any immediate orientation.

For search engines, the title is one of the most direct relevance signals. Google uses it to determine the page's topic and displays it in SERPs — a poorly written title lowers the click-through rate.

For eco-design, a relevant title prevents unnecessary user visits, shortens search time, and reduces server load.

A few rules to follow:

  • Uniqueness: each page must have a distinct title; never duplicate titles across pages.

  • Length: between 30 and 60 characters for proper display in SERPs.

  • Consistency: the title must align with the page's <h1>; they do not need to be identical, but they must confirm the same subject.

  • Relevance: integrate keywords naturally, without stuffing.

Presence of a title in the head

1  1 0 0
A question ?
#53Content/ Eco-design/ SEOPopulate a "meta description" tag 0 x 1

The HTML "meta description" tag is used by search engines to describe the content of a web page. In search engine results, this description is displayed below your page's title and URL.

Note: Google tends to use the description text from this tag, but if it proves uninformative, the search engine may also use your page's content to generate a snippet.

Do not think of your "meta descriptions" as being meant solely for search engines. Due to the overuse of keywords in this text field, Google decided to remove the "meta description" tag from its ranking criteria, as stated on the official Google blog in 2007: "it's worth noting that while accurate meta descriptions can improve clickthrough, they won't affect your ranking in search results."

For the user, a well-written meta description plays the same role as an editorial hook: it answers in a single sentence the question "will this page meet my needs?". A missing or generic description leaves Google to automatically generate a snippet that is often unappealing, out of context, or truncated. A precise and engaging description reduces unnecessary clicks, shortens search time, and improves satisfaction even before landing on the page.

For eco-design, a relevant description prevents users from visiting an irrelevant page, reduces the number of requests needed to find the right resource, and lightens the server load accordingly.

A few rules to follow:

  • Length: between 90 and 250 characters. Below 50 characters, Google Search Console flags it as too short.

  • Uniqueness: every page must have its own description; never duplicate across pages.

  • Relevance: integrate keywords naturally, without stuffing: Google bolds them in the SERPs when they match the query, which boosts visibility.

  • Tone: write for the user, not the search engine: a description that addresses search intent converts better than a list of keywords.

Presence of the meta description

0  1 0 0
A question ?
#135NEW !Content/ SEOAvoid thin content by reaching a minimal content volume 100 x 3

Thin content refers to pages where the volume of content is insufficient to satisfy a user's search intent. Google views these pages as offering little value and may deprioritize them in search results, or even ignore them altogether during crawling.

To evaluate content quality, Google explicitly asks in its Helpful Content guidelines: "Does the content provide a substantial, complete or comprehensive description of the topic?" Word count is the simplest indicator to gauge this notion of substantiality. It is with this in mind that Yoast SEO—the most installed search optimization plugin on WordPress, used as a reference point by millions of websites—sets a threshold of 300 words as a warning signal in its content analysis.

The UX dimension is inseparable from this issue. A page with too little content fails to fulfill the user's search intent: they arrive, do not find what they are looking for, and immediately bounce back to the search results. This behavior, known as pogo-sticking, serves as a negative relevance signal that Google interprets as proof that the page did not meet the user's needs. The algorithm and the user thus reach the same conclusion: a page that is too short is a useless page.

Conversely, a page with fewer than 300 words of main content struggles to cover a topic coherently, include natural semantic variations, and demonstrate minimal expertise in the eyes of quality algorithms like Helpful Content. Below 150 words, a page is considered a structural anomaly and will likely be ignored or penalized by Google.

This best practice complements Best Practice #134, which measures progress toward truly in-depth content.

Nombre de mots dans le Coeur de page

397  300 150 0
A question ?
#137NEW !Content/ SEOOptimize editorial content readability 15 x 2

Difficult-to-read content causes users to leave quickly, resulting in high bounce rates and what is known as pogo-sticking: a behavior observable on Google's end. The user clicks a search result, quickly returns to the SERP, and clicks another result. The strong signal here is the swift return to the results page, which suggests that the page failed to address search intent. Google interprets this as a negative relevance signal, penalizing the page's ranking.

Since BERT in 2018 and MUM in 2021—Natural Language Processing (NLP) models developed by Google and integrated into its search algorithm—Google understands text in depth. Well-structured content with short sentences is parsed better: entities and search intents are recognized more accurately when syntax is clear.

Furthermore, Google extracts featured snippets from readable, direct passages. A short, affirmative, and well-constructed sentence has a much higher chance of being selected than a confused paragraph.

To measure content readability, it is quite common to use the Flesch Reading Ease score (named by Rudolf Flesch himself in his 1948 paper). It estimates readability on a scale from 0 to 100. A high score means the content reaches a broader audience. Having more potential readers generates more shares, natural backlinks, and return visits to the site.

It is worth noting that Yoast, the world's most installed WordPress plugin, recommends a Flesch Reading Ease score above 60. Note: while the formula varies based on the text's language, the algorithm used takes this parameter into account in accordance with Yoast's documentation.

Flesch Reading Ease Score

43  60 40 20

Calcul du score Flesch Reading Ease à partir du texte utile détecté par MilleCheck.

A question ?
#166NEW !ContentMaster share previews with Open Graph tags 100 x 1

Every time a user shares a link to your site—on LinkedIn, WhatsApp, Slack, Discord, or via email—the platform reads the Open Graph tags in the <head> of the page to generate the preview display: title, description, and image. Without these tags, the platform decides on its own what to display : a random image, truncated text out of context, or a plain bare URL with no visual. The result is immediately noticeable and hurts brand credibility before the recipient even clicks.

The impact is direct and measurable: studies on sharing behavior consistently show that previews featuring a structured image generate 2 to 3 times more clicks than shares without visuals. In a B2B context where a sales rep shares a product page on LinkedIn, or a user sends a link in a team Slack channel, the preview is often the only visible element before the decision to click : it is a full-fledged first brand impression.

Three tags form the essential core:

  • og:title : the title displayed in the preview, ideally distinct from the SEO <title> to be optimized for sharing.
  • og:description : the contextual snippet displayed below the title, ideally 1 to 2 engaging sentences.
  • og:image : the preview image, recommended at 1200×630 px and hosted via HTTPS.

A fourth tag completes the implementation : og:url consolidates all sharing statistics under a single canonical URL.

Aperçu de partage avec les balises Open Graph

1  1 0 0
A question ?

Data Sources

Source Access URL / ID Stored data
API WebPageTest.org API Key (artwaï) 261202_ZiDcGE_1KC JSON Global download
JSON ScriptTiming download
YellowLab.Tools
Private artwaï instance
Private 20261202-r95kwad JSON download
Lighthouse
Private artwaï instance
Private - JSON download
W3C
Generated from Nu Html Checker
Public API - JSON download
API Alyze API Key (artwaï)) - JSON download
APIs SEO API Keys (artwaï) - JSON Moz download
JSON Rapidapi (Majestic) download
Zone Master Private - JSON ZoneMaster download
Real Favicon Public API - JSON Real Favicon download

This report was generated in 40 s on 02/12/2026, 12:42 and will expire after one year on 02/12/2027, 12:42 (millecheck.ai version 7.0.11, guideline v2.0). View log download.

Well done! Excellent score in Accessibility.
Our experts can help you
maintain this level of quality.

Since 2005, artwaï has been supporting its clients with a focus on Web quality. Our expertise covers Web performance, Eco-design, Accessibility, and more, particularly in WordPress contexts.

We provide WebPerf and Third-Party monitoring services, dashboard setup, in addition to conducting audits and concrete POCs to resolve our clients' issues.

Contact us! Manage preferences

Mille
Check

C EcoIndex

Well done! Excellent ecoindex score.
Our experts can help you
maintain this level of quality.

Since 2005, artwaï has been supporting its clients with a focus on Web quality. Our expertise covers Web performance, Eco-design, Accessibility, and more, particularly in WordPress contexts.

We provide WebPerf and Third-Party monitoring services, dashboard setup, in addition to conducting audits and concrete POCs to resolve our clients' issues.

Contact us! Manage preferences

Mille
Check

MilleCheck

Guide

Settings

Test Context

Test URL:

https://assistance.lefebvre-dalloz.fr/

Configuration:

MOBILE / 4G Slow
Download : 2.0 Mbps / Upload : 1.0 Mbps / Latence : 100 ms
Server location: Paris / Viewport : 412 x 767 (MotoGPower) / DPR : 1.75
Millecheck Server: Shaker

Mode with PTST enabled

With the string "PTST" in the user agent, the browser will be considered a bot. Some services are not enabled when they detect a bot, particularly CMPs.


First Party Domains

  • *.lefebvre-dalloz.fr

As a first approach, MilleCheck considers all resources requested from the main domain and its subdomains as First Party.

Need monitoring

MilleCheck can set up a tracking dashboard for several URLs with daily reports.

Contact us!

User Preferences

All preferences below are stored in your browser's local storage. We do not keep any data (personal or otherwise) on the server.

Preferred view


The hierarchical view displays best practices categorized and always in the same order. This makes it easier to compare two reports.


The prioritized view sorts the list of best practices by the most valuable gains to fix in the displayed category. As its name suggests, it displays the best practices to be addressed in order of priority.


This option hides best practices that do not apply to the current analysis.

Self-promo display


MilleCheck

Guide

User Guide

Best practice?

A best practice according to artwaï is a practice that meets two criteria:

  • it is recommended by recognized web players,
  • and it has proven its effectiveness in improving the quality domain to which it refers.

Thus, our reports use existing public and/or open source frameworks to test what can be tested algorithmically. Among these frameworks, we can cite YellowLab.tools, CNumR, Google, or the WAI.

Each best practice in this report therefore has a description of the sources of its recommendations and the metric tested to validate its success with the corresponding thresholds.

Classification

The domains concerned are: performance, eco-design, accessibility, SEO, and security. A best practice can have an impact on several domains.

Each domain constitutes a category of best practices for which we determine a score based on the subcategory scores. A subcategory groups best practices of the same nature and above all of similar impact. Whether for a category, a subcategory, or a best practice, scores are always calculated from 0 to 100.

Evaluation

Each best practice is scored out of 100. This score depends on the value of a metric positioned between 2 thresholds:

  1. A lower threshold (A) below which the score is 100
  2. An upper threshold (B) above which the score is 0

The calculated score varies from 0 to 100 depending on the value of the metric between A and B.

Representation

ValueABC

Threshold C represents the anomaly threshold: the measurement largely exceeds what is recommended and is not usual based on our experience.

Weighting

#4 Weight/ Eco-design Enable compression 66 x2

The impact of the best practice score is weighted against the score of the category to which it belongs. The coefficient is indicated next to the score as in the example above.

Color code

All scores follow the same color code based on their score, but with 2 slightly different formats:

49 Red: Bad
From 0 to 49.

89 Orange: Needs Improvement
From 50 to 89.

100 Green: Good
From 90 to 100.


Exceptions

Some best practices are provided for informational purposes. In this case, the applied color is blue.

50 NA

Similarly, when we don't have the metric associated with a best practice, since the score doesn't exist, the mention "NA" for "Not Applicable" replaces it in gray.