UKHomeOffice / engineering-guidance-and-standards

Engineering Guidance and Standards for the Home Office
https://engineering.homeoffice.gov.uk
MIT License
14 stars 2 forks source link

[A11Y] WCAG 3.2.3 Consistent navigation: Breadcrumbs don't show on all pages #396

Open jeff-horton-ho-sas opened 3 months ago

jeff-horton-ho-sas commented 3 months ago

Describe the accessibility issue To meet WCAG 3.2.3 Consistent navigation - breadcrumbs don't show on pages excluded from 11ty collections

To Reproduce Steps to reproduce the behavior:

  1. Go to any of
  2. The page does not show breadcrumbs

Expected behavior For most of these pages a breadcrumb to the home page should show, for the tags it should show Home > Tags

Screenshots Expected (example is a standard) Screenshot 2024-03-18 at 13 15 55 Actual (e.g a tag page) Screenshot 2024-03-18 at 13 16 04

Additional context This looks to be due to the automated navigation via the eleventy-navigation plugin relying on the page being in the all documents collection to find it.