Accy

Missing document language in Shopify

WCAG 3.1.1 (A) · EN 301 549 9.3.1.1

The <html> element declares no valid language.

Where to change it in Shopify

In layout/theme.liquid, the first line should be <html lang="{{ request.locale.iso_code }}">.

Shopify themes are edited under Online Store › Themes. "Edit code" opens the Liquid templates. Many colour and typography settings can be changed without coding, from the theme editor.

As it is
<html>
As it should be
<html lang="en">

Why it matters

Screen readers pick the voice and pronunciation from that attribute. Without it, a Spanish shop can be read with English phonetics, and nothing is intelligible.

On other platforms

Does your Shopify shop have this failure?

We detect your platform automatically and give you the instructions for it. Free, no sign-up.

No sign-up. We scan one public page and store nothing about you.