Skip to content

Conversation

@ada-workbackai
Copy link

Summary

Fixes WCAG 1.3.1 (Info and Relationships) by adding aria-hidden="true" to breadcrumb separator icons.

Issue: Breadcrumb navigation uses <z-icon> elements as visual separators between breadcrumb items. These icons render as <img> elements without proper ARIA attributes, causing screen readers to announce them as images without conveying their purpose as decorative separators.

Solution: Add aria-hidden="true" attribute to all three breadcrumb separator icons in the z-breadcrumb component. This marks them as decorative elements that should be ignored by assistive technologies. The breadcrumb relationships are already properly conveyed through semantic HTML structure (<nav aria-label="Breadcrumb">, <ol>, <li> elements).

Changes

  • Added aria-hidden="true" to homepage node separator (line 230)
  • Added aria-hidden="true" to overflow menu separator (line 331)
  • Added aria-hidden="true" to path list item separators (line 409)

Test Plan

  • Code review confirms aria-hidden="true" added to all separator instances
  • Breadcrumb structure still uses semantic HTML (nav, ol, li)
  • Existing accessibility tree snapshot confirms proper navigation structure

Evidence

View before/after screenshots and full audit details:
https://app.workback.ai/dashboard/issue/115/


WCAG Reference:
1.3.1 Info and Relationships

Mark breadcrumb separator icons as decorative by adding aria-hidden="true".
This ensures screen readers do not announce the visual separators, as the
breadcrumb relationship is already conveyed through semantic HTML structure
(nav, ol, li elements).

Fixes WCAG 1.3.1 (Info and Relationships) violation where separators were
being announced without providing meaningful information about relationships.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants