Skip to main content

The <meta> Element

As defined in the HTML Living Standard, the <meta> element represents metadata that describes the document. It is a void element and must be placed within the <head>.

Common Usage:
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A guide to accessible HTML">

Meta tags provide essential instructions to the browser and search engines about how to handle the page.

View HTML Living Standard: The meta element

Accessibility Impact: The Viewport Meta Tag

The viewport meta tag is one of the most critical for mobile accessibility.

WCAG Requirement: Reflow

Success Criterion 1.4.10 (Level AA): Reflow.

Content should be able to zoom up to 400% without requiring scrolling in two dimensions. By setting width=device-width and avoiding user-scalable=no, you ensure that users with low vision can zoom into the content comfortably.

Understand SC 1.4.10: Reflow

Key Meta Tags for A11y & SEO

A11y Tip: Avoid Disabling Zoom

Never use user-scalable=no or maximum-scale=1.0 in your viewport meta tag. This is a direct violation of accessibility best practices and prevents users from utilizing the browser's native zoom functionality.