Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

fix(breadcrumb): hide separator list items from accessibility tree#19568

Open
manichandra wants to merge 1 commit into
primefaces:masterfrom
manichandra:fix/breadcrumb-separator-aria-hidden
Open

fix(breadcrumb): hide separator list items from accessibility tree#19568
manichandra wants to merge 1 commit into
primefaces:masterfrom
manichandra:fix/breadcrumb-separator-aria-hidden

Conversation

@manichandra

Copy link
Copy Markdown
Contributor

Separator

  • elements (chevron icons) were exposed in the accessibility tree, causing screen readers to announce decorative separators between breadcrumb items. Added aria-hidden="true" to both separator elements — the one following the home item and the one between each menu item.

    Fixes Accessibility | Breadcrumb - separators aren't hidden in accessibility tree #19520
    Relates to Accessibility | Breadcrumb - separetors aren't hidden and the list is not wrapped in a nav element #13437

    Defect Fixes

    When submitting a PR, please also create an issue documenting the error and manually link to an issue.

    Feature Requests

    Due to company policy, we are unable to accept feature request PRs with significant changes as such cases has to be implemented by our team following our own processes.
    Smaller scaled feature implementations such as adding a property to a component will be considered for merging.

  • Separator <li> elements (chevron icons) were exposed in the
    accessibility tree, causing screen readers to announce decorative
    separators between breadcrumb items. Added aria-hidden="true" to
    both separator elements — the one following the home item and the
    one between each menu item.
    
    Fixes primefaces#19520
    Relates to primefaces#13437
    @manichandra

    Copy link
    Copy Markdown
    Contributor Author

    @mehmetcetin01140 can you please review and get this merged. let me know if I need to anything to pass the failing CI checks ?

    Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

    Labels

    None yet

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    Accessibility | Breadcrumb - separators aren't hidden in accessibility tree

    1 participant