Accessibility best practice

Document should have one main landmark

The page has no main landmark, so screen reader users can't jump straight to the content.

What this rule checks

Ensure the document has a main landmark.

Why it matters

A best practice that supports WCAG 1.3.1 and 2.4.1.

This rule is a recommended practice: failing it isn't a WCAG failure on its own, so our reports list it separately from WCAG failures.

How to fix it

  1. Wrap the page's primary content in a single <main> element. In Shopify, layout/theme.liquid usually wraps {{ content_for_layout }} in <main>.

How to check the fix

  • Re-scan the affected pages.

How FixReports finds it

Our scan runs the axe-core rule landmark-one-main in a real Chrome browser on every page it tests, and reports each failing element with its page, its markup and, where it applies, a screenshot.

An automated test confirms that this specific problem is present. It can't tell whether the rest of the page is accessible: some barriers only show up when a person checks the page.

Scan your website today

Find it. Fix it. Verify it.

What kind of website is this?

Your answer picks the right checks, like the shopping journey for online stores. We still check the site's own evidence and show both.

What kind of website is this?

Free scan. No credit card required.