[!IMPORTANT]
Disclaimer: This checklist is based on Front-End developers’ years of experience, with additions from other open-source checklists.
All items in the Front-End Checklist are required for the majority of the projects, but some elements can be omitted
or are not essential (in the case of an administration web app, you may not need RSS feed for example). We choose to use
3 levels of flexibility:
indicates that the item is recommended but can be omitted in certain situations.
indicates that the item is highly recommended but can potentially be omitted in very specific
cases. However, omitting these elements can negatively impact performance or SEO.
indicates that the item cannot be omitted under any circumstances. Removing these elements may
result in page malfunctions or cause accessibility and SEO issues. Testing should prioritize these elements first.
Some resources possess an emoticon to help you understand which type of content / help you may find on the checklist:
📖: documentation or article
🛠: online tool / testing tool
📹: media or video content
Head
[!NOTE]
You can find a list of everything that could be found in the <head> of an HTML document.
Meta tag
Doctype: The Doctype is HTML5 and is at the top of all your HTML pages.
The next 2 meta tags (Charset and Viewport) need to come first in the head.
Charset: The charset (UTF-8) is declared correctly.
<!-- Set character encoding for the document -->
<meta charset="utf-8">
Viewport: The viewport is declared correctly.
<!-- Viewport for responsive web design -->
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
Title: A title is used on all pages (SEO: Google calculates the pixel width of the characters used in the title, and it cuts off between 472 and 482 pixels. The average character limit would be around 55-characters).
<!-- Document Title -->
<title>Page Title less than 55 characters</title>
Favicons: Each favicon has been created and displays correctly. If you have only a
`favicon.ico`, put it at the root of your site. Normally you won't need to use any markup. However, it's still
good practice to link to it using the example below. Today, **PNG format is recommended** over `.ico` format
(dimensions: 32x32px).
<!-- Standard favicon -->
<link rel="icon" type="image/x-icon" href="https://example.com/favicon.ico">
<!-- Recommended favicon format -->
<link rel="icon" type="image/png" href="https://example.com/favicon.png">
<!-- Recommended modern favicon format (not recommended for legacy browsers) -->
<link rel="icon" type="image/svg+xml" href="https://example.com/favicon.svg">
<!-- Apple Touch Icon (at least 200x200px) -->
<link rel="apple-touch-icon" href="/custom-icon.png">
<!-- To run the web application in full-screen -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Status Bar Style (see Supported Meta Tags below for available values) -->
<!-- Has no effect unless you have the previous meta tag -->
<meta name="apple-mobile-web-app-status-bar-style" content="black">
CSS order: All CSS files are loaded before any JavaScript files in the <head>. (Except the
case where sometimes JS files are loaded asynchronously on top of your page).
Social meta
Visualize and generate automatically our social meta tags with Meta Tags
Facebook OG and Twitter Cards are, for any website, highly recommended. The other social media tags can be
considered if you target a particular presence on those and want to ensure the display.
Facebook Open Graph: All Facebook Open Graph (OG) are tested and no one is missing or with
false information. Images need to be at least 600 x 315 pixels, although 1200 x 630 pixels is recommended.
[!NOTE]
Using og:image:width and og:image:height will specify the image dimensions to the crawler so that it can render the image immediately without having to asynchronously download and process it.
[!NOTE]
Using web fonts may cause Flash Of Unstyled Text/Flash Of Invisible Text - consider having fallback fonts
and/or utilizing web font loaders to control behavior.
Notes: Take a look at CSS guidelines and Sass Guidelines
followed by most Front-End developers. If you have a doubt about CSS properties, you can visit
CSS Reference. There is also a short Code Guide for consistency.
Responsive Web Design: The website is using responsive web design.
CSS Print: A print stylesheet is provided and is correct on each page.
Preprocessors: Your project is using a CSS preprocessor (e.g Sass,
noscript tag: Use <noscript> tag in the HTML body if a script type on the page is
unsupported or if scripting is currently turned off in the browser. This will be helpful in client-side rendering
heavy apps such as React.js, see
[examples](https://webdesign.tutsplus.com/tutorials/quick-tip-dont-forget-the-noscript-element--cms-25498).
<noscript> You need to enable JavaScript to run this app. </noscript>
Non-blocking: JavaScript files are loaded asynchronously using async or deferred using
Optimized and updated JS libraries: All JavaScript libraries used in your project are
necessary (prefer Vanilla Javascript for simple functionalities), updated to their latest version and don't
overwhelm your JavaScript with unnecessary methods.
Goals to achieve: Your pages should reach these goals:
First Meaningful Paint under 1 second
Time To Interactive under 5 seconds for the “average” configuration (a $200 Android on a slow 3G network with 400ms
RTT and 400kbps transfer speed) and under 2 seconds for repeat visits
🗂 Front-End Checklist
The Front-End Checklist is an exhaustive list of all elements you need to have / to test before launching your website / HTML page to production.
Other Checklists:
📚 Table of Contents
How to use?
All items in the Front-End Checklist are required for the majority of the projects, but some elements can be omitted or are not essential (in the case of an administration web app, you may not need RSS feed for example). We choose to use 3 levels of flexibility:
Some resources possess an emoticon to help you understand which type of content / help you may find on the checklist:
Head
Meta tag
The next 2 meta tags (Charset and Viewport) need to come first in the head.
📖 Title - HTML - MDN
🛠 SERP Snippet Generator
Description:
A meta description is provided, it is unique and doesn’t possess more than 150
📖 Meta Description - HTML - MDN
Favicons:
Each favicon has been created and displays correctly. If you have only a
🛠 Favicon Generator
🛠 RealFaviconGenerator
📖 Favicon Cheat Sheet
📖 Favicons, Touch Icons, Tile Icons, etc. Which Do You Need? - CSS Tricks
📖 PNG favicons - caniuse
Apple Web App Meta:
Apple meta-tags are present.
📖 Configuring Web Applications
📖 Supported Meta Tags
Windows Tiles:
Windows tiles are present and linked.
Minimum required xml markup for the
browserconfig.xmlfile is as follows:📖 Browser configuration schema reference
Canonical:
Use
rel="canonical"to avoid duplicate content.HTML tags
langattribute of your website is specified and related to the📖 dir - HTML - MDN
Alternate language:
The language tag of your website is specified and related to the language
📖 x-default - Google
Conditional comments:
Conditional comments are present for IE if needed.
📖 About conditional comments (Internet Explorer) - MSDN - Microsoft
RSS feed:
If your project is a blog or has articles, an RSS link was provided.
CSS Critical:
The CSS critical (or “above the fold”) collects all the CSS used to render
🛠 Critical by Addy Osmani on GitHub automates this.
CSS order:
All CSS files are loaded before any JavaScript files in the
<head>. (Except theSocial meta
Visualize and generate automatically our social meta tags with Meta Tags
Facebook OG and Twitter Cards are, for any website, highly recommended. The other social media tags can be considered if you target a particular presence on those and want to ensure the display.
📖 A Guide to Sharing for Webmasters
📖 Best Practices - Sharing
🛠 Test your page with the Facebook OG testing
Twitter Card:
⬆ back to top
HTML
Best practices
HTML5 Semantic Elements:
HTML5 Semantic Elements are used appropriately (header, section,
📖 HTML Reference
Error pages:
Error 404 page and 5xx exist. Remember that the 5xx error pages need to have
Noopener:
In case you are using external links with
target="_blank", your link should📖 About rel=noopener
Clean up comments:
Unnecessary code needs to be removed before sending the page to production.
HTML testing
W3C compliant:
All pages need to be tested with the W3C validator to identify possible
🛠 W3C validator
HTML Lint:
I use tools to help me analyze any issues I could have on my HTML code.
🛠 Dirty markup
🛠 webhint
Link checker:
There are no broken links in my page, verify that you don’t have any 404
🛠 W3C Link Checker
Adblockers test:
Your website shows your content correctly with adblockers enabled (You
📖 Use AdBlocking in your Dev Environment
⬆ back to top
Webfonts
📖 Google Technical considerations about webfonts
Webfont format:
WOFF, WOFF2 and TTF are supported by all modern browsers.
📖 WOFF - Web Open Font Format - Caniuse.
📖 WOFF 2.0 - Web Open Font Format - Caniuse.
📖 TTF/OTF - TrueType and OpenType font support
📖 Using @font-face - CSS-Tricks
Webfont size:
Webfont sizes don’t exceed 2 MB (all variants included).
Webfont loader:
Control loading behavior with a webfont loader
🛠 Typekit Web Font Loader
⬆ back to top
CSS
Responsive Web Design:
The website is using responsive web design.
CSS Print:
A print stylesheet is provided and is correct on each page.
Preprocessors:
Your project is using a CSS preprocessor (e.g Sass,
Unique ID:
If IDs are used, they are unique to a page.
Reset CSS:
A CSS reset (reset, normalize or reboot) is used and up to date. _(If you are
📖 Reset.css
📖 Normalize.css
📖 Reboot
JS prefix:
All classes (or id- used in JavaScript files) begin with js- and are not styled
embedded or inline CSS:
Avoid at all cost embedding CSS in
<style>tags or using inlineVendor prefixes:
CSS vendor prefixes are used and are generated accordingly with your
🛠 Autoprefixer CSS online
Performance
Concatenation:
CSS files are concatenated in a single file (Not for HTTP/2).
Minification:
All CSS files are minified.
Non-blocking:
CSS files need to be non-blocking to prevent the DOM from taking time to
📖 loadCSS by filament group
📖 Example of preload CSS using loadCSS
Unused CSS:
Remove unused CSS.
🛠 UnCSS Online
🛠 PurifyCSS
🛠 PurgeCSS
🛠 Chrome DevTools Coverage
CSS testing
Stylelint:
All CSS or SCSS files are without any errors.
🛠 stylelint, a CSS linter
📖 Sass guidelines
Responsive web design:
All pages were tested at the following breakpoints: 320px, 768px,
CSS Validator:
The CSS was tested and pertinent errors were corrected.
🛠 CSS Validator
Desktop Browsers:
All pages were tested on all current desktop browsers (Safari, Firefox,
Mobile Browsers:
All pages were tested on all current mobile browsers (Native browser,
OS:
All pages were tested on all current OS (Windows, Android, iOS, Mac…).
Design fidelity:
Depending on the project and the quality of the creatives, you may be asked
Reading direction:
All pages need to be tested for LTR and RTL languages if they need to be
📖 Building RTL-Aware Web Apps & Websites: Part 1 - Mozilla Hacks
📖 Building RTL-Aware Web Apps & Websites: Part 2 - Mozilla Hacks
⬆ back to top
Images
Best practices
Optimization:
All images are optimized to be rendered in the browser. WebP format could be
🛠 Imagemin
🛠 Use ImageOptim to optimise your images for free.
🛠 Use KeyCDN Image Processing for image optimization in real time.
🛠 TinyPNG optimises png, apng (animated png) and jpg images with very small loss in quality. Free and paid version available.
🛠 ZorroSVG jpg-like compression for transparent images using svg masking.
🛠 SVGO a Nodejs-based tool for optimizing SVG vector graphics files.
🛠 SVGOMG a web-based GUI version of SVGO for optimising your svgs online.
Picture/Srcset:
You use picture/srcset to provide the most appropriate image for the
📖 How to Build Responsive Images with srcset
Retina:
You provide layout images 2x or 3x, support retina display.
Sprite:
Small images are in a sprite file (in the case of icons, they can be in an SVG
Width and Height:
Set
widthandheightattributes on<img>if the final rendered imageAlternative text:
All
<img>have an alternative text which describes the image visually.📖 Alt-texts: The Ultimate Guide
Lazy loading:
Images are lazyloaded (A noscript fallback is always provided).
⬆ back to top
JavaScript
Best practices
JavaScript Inline:
You don’t have any JavaScript code inline (mixed with your HTML code).
Concatenation:
JavaScript files are concatenated.
Minification:
JavaScript files are minified (you can add the
.minsuffix).📖 Minify Resources (HTML, CSS, and JavaScript)
JavaScript security:
📖 Guidelines for Developing Secure Applications Utilizing JavaScript
noscripttag:<noscript>tag in the HTML body if a script type on the page isNon-blocking:
JavaScript files are loaded asynchronously using
asyncor deferred using📖 Remove Render-Blocking JavaScript
Optimized and updated JS libraries:
All JavaScript libraries used in your project are
📖 You may not need jQuery
📖 Vanilla JavaScript for building powerful web applications
Modernizr:
If you need to target some specific features you can use a custom Modernizr to add
🛠 Customize your Modernizr
JavaScript testing
ESLint:
No errors are flagged by ESLint (based on your configuration or standards rules).
📖 ESLint - The pluggable linting utility for JavaScript and JSX
⬆ back to top
Security
Scan and check your web site
Best practices
HTTPS:
HTTPS is used on every page and for all external content (plugins, images…).
🛠 Let’s Encrypt - Free SSL/TLS Certificates
🛠 Free SSL Server Test
📖 Strict Transport Security
HTTP Strict Transport Security (HSTS):
The HTTP header is set to
🛠 Check HSTS preload status and eligibility
📖 HTTP Strict Transport Security Cheat Sheet - OWASP
📖 Transport Layer Protection Cheat Sheet - OWASP
Cross Site Request Forgery (CSRF):
You ensure that requests made to your server-side are
📖 Cross-Site Request Forgery (CSRF) Prevention Cheat Sheet - OWASP
Cross Site Scripting (XSS):
Your page or website is free from XSS possible issues.
📖 XSS (Cross Site Scripting) Prevention Cheat Sheet - OWASP
📖 DOM based XSS Prevention Cheat Sheet - OWASP
Content Type Options:
Prevents Google Chrome and Internet Explorer from trying to
📖 X-Content-Type-Options - Scott Helme
X-Frame-Options (XFO):
Protects your visitors against clickjacking attacks.
📖 X-Frame-Options - Scott Helme
📖 RFC7034 - HTTP Header Field X-Frame-Options
Content Security Policy:
Defines how content is loaded on your site and from where it is
📖 Content Security Policy - An Introduction - Scott Helme
📖 CSP Cheat Sheet - Scott Helme
📖 CSP Cheat Sheet - OWASP
📖 Content Security Policy Reference
⬆ back to top
Performance
Best practices
Goals to achieve:
Your pages should reach these goals:
🛠 Website Page Analysis
🛠 WebPageTest
📖 Size Limit: Make the Web lighter
Minified HTML:
Your HTML is minified.
Lazy loading:
Images, scripts and CSS need to be lazy loaded to improve the response
Cookie size:
If you are using cookies be sure each cookie doesn’t exceed 4096 bytes and
📖 Cookie specification: RFC 6265
📖 Cookies
🛠 Browser Cookie Limits
Third party components:
Third party iframes or components relying on external JS (like
🛠 Simple sharing buttons generator
Preparing upcoming requests
📖 Explanation of the following techniques
DNS resolution:
DNS of third-party services that may be needed are resolved in advance during
<body>)Performance testing
Google PageSpeed:
All your pages were tested (not only the homepage) and have a score of at
🛠 Google PageSpeed
🛠 Test your mobile speed with Google
🛠 WebPagetest - Website Performance and Optimization Test
🛠 GTmetrix - Website speed and performance optimization
🛠 Speedrank - Improve the performance of your website
⬆ back to top
Accessibility
Best practices
Progressive enhancement:
Major functionality like main navigation and search should work
📖 Enable / Disable JavaScript in Chrome Developer Tools
Color contrast:
Color contrast should at least pass WCAG AA (AAA for mobile).
🛠 Contrast ratio
Headings
H1:
All pages have an H1 which is not the title of the website.
Headings:
Headings should be used properly and in the right order (H1 to H6).
📹 Why headings and landmarks are so important – A11ycasts #18
Semantics
Specific HTML5 input types are used:
This is especially important for mobile devices
📖 Mobile Input Types
Form
Label:
A label is associated with each input form element. In case a label can’t be
📖 Using the aria-label attribute - MDN
Accessibility testing
Accessibility standards testing:
Use the WAVE tool to test if your page respects the
🛠 Wave testing
Keyboard navigation:
Test your website using only your keyboard in a previsible order. All
Screen-reader:
All pages were tested in a screen-reader (VoiceOver, ChromeVox, NVDA or
Focus style:
If the focus is disabled, it is replaced by visible state in CSS.
📹 Managing Focus - A11ycasts #22
⬆ back to top
SEO
Google Analytics:
Google Analytics is installed and correctly configured.
🛠 Google Analytics
🛠 GA Checker (and others)
Search Console:
Search Console is installed and correctly configured. It is a free service
🛠 Search Console
Headings logic:
Heading text helps to understand the content in the current page.
🛠 Tota11y, tab Headings
sitemap.xml:
A sitemap.xml exists and was submitted to Google Search Console (previously
🛠 Sitemap generator
robots.txt:
The robots.txt is not blocking webpages.
🛠 Test your robots.txt with Google Robots Testing Tool
Structured Data:
Pages using structured data are tested and are without errors. Structured
📖 Introduction to Structured Data - Search - Google Developers
📖 JSON-LD
📖 Microdata
🛠 Test your page with the Rich Results Test
🛠 Complete list of vocabularies that can be used as structured data. Schema.org Full Hierarchy
Sitemap HTML:
An HTML sitemap is provided and is accessible via a link in the footer of
📖 Sitemap guidelines - Google Support
⬆ back to top
Translations
The Front-End Checklist is also available in other languages. Thanks for all translators and their awesome work!
Support
If you have any question or suggestion, don’t hesitate to reach me on X:
Contributors
This project exists thanks to all the people who contribute. (Contribute).
Backers
Thank you to all our backers! 🙏 [Become a backer]
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
License
⬆ back to top