How to fix landmark unique on Squarespace

Add a unique aria-label (or aria-labelledby) to every repeated landmark role on the page so screen-reader users can tell them apart.

Steps for Squarespace

  1. Squarespace does not expose direct HTML landmark editing through its standard editor. You will need to use the Code Injection feature.
  2. Go to Settings → Advanced → Code Injection → Footer. Paste a small JavaScript snippet that selects the duplicate landmark elements by class or position and adds aria-label attributes to each.
  3. Alternatively, if you have a Business or Commerce plan, go to Pages → (your page) → Edit → add a Code Block, then use JavaScript to target and label the landmarks on that specific page.
  4. The most reliable approach is to inject JS in the site-wide footer: document.querySelectorAll('nav')[0].setAttribute('aria-label','Main navigation'); document.querySelectorAll('nav')[1].setAttribute('aria-label','Footer navigation'); — adjusted for your actual landmark count and structure.
  5. Save and preview, then confirm with the axe DevTools extension that landmark-unique violations are resolved.
Official Squarespace documentation ↗

What is landmark unique?

Landmarks are special HTML regions — like `<nav>`, `<main>`, `<header>`, `<footer>`, `<aside>`, and `<section>` — that act as signposts for people using screen readers or keyboard-only navigation. When the same type of landmark appears more than once on a page (for example, two `<nav>` menus or two `<section>` blocks), each one must carry a unique label so users can understand what each region contains and jump directly to the right one. Without these labels, a screen reader will just announce "navigation" twice, with no way to tell which is which.

Screen-reader users rely on landmark navigation to skip around a page quickly — it's the equivalent of sighted users scanning headings at a glance. Duplicate, unlabeled landmarks force these users to listen through entire sections just to find what they need, creating a frustrating, unusable experience. This violates WCAG 2.1 Success Criterion 1.3.6 (Identify Purpose) and is flagged by automated accessibility checkers like axe. Depending on your market, failing WCAG 2.1 AA exposes your business to legal risk under the ADA (US), the European Accessibility Act (EU), and similar laws. Beyond compliance, accessible stores convert better — a broader audience can browse and buy without barriers.

See the complete Landmark unique guide for every platform and the full background.

Not sure if your Squarespace store has this?

Run a free SEOLZ scan — we’ll find landmark unique and every other issue across your whole site.

Scan my site free

Fix landmark unique on another platform