← Learn

Missing page language (WCAG 3.1.1)

The html lang attribute tells assistive tech how to pronounce content. How Curbcut detects a missing lang and how themes set it.

What fails

If the <html> tag has no lang attribute, screen readers may use the wrong pronunciation rules. Curbcut flags this once per page.

Typical fix

Themes should output <html lang="{{ request.locale.iso_code }}"> or a fixed lang for single-language stores. Check layout/theme.liquid (or the Online Store 2.0 equivalent).

Related