Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate aria-labels for breadcrumb component #4297

Open
MartinJJones opened this issue Oct 10, 2024 · 1 comment
Open

Duplicate aria-labels for breadcrumb component #4297

MartinJJones opened this issue Oct 10, 2024 · 1 comment
Labels
accessibility Accessibility issues identified

Comments

@MartinJJones
Copy link
Contributor

What

Some pages of GOV.UK include more than 1 breadcrumb component, but use the same aria-label, this is not considered best practice - https://dequeuniversity.com/rules/axe/4.10/landmark-unique?application=AxeChrome

Example page: https://www.gov.uk/hmrc-internal-manuals/capital-gains-manual/cg10100

@MartinJJones MartinJJones added the accessibility Accessibility issues identified label Oct 10, 2024
@MartinJJones
Copy link
Contributor Author

MartinJJones commented Oct 10, 2024

Solutions discussed:

  • Reach out to an accessibility specialist in the first instance
  • Also check with content design
  • Consider enabling best practice in axe-core in the govuk_publishing_components gem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accessibility Accessibility issues identified
Projects
None yet
Development

No branches or pull requests

1 participant