Skip to content

[a11y]: SideNavDivider - role 'separator' is not valid for the element <li> #14479

Closed

Description

Package

carbon-components-react

Browser

Chrome

Operating System

Windows

Package version

v7.59.10

React version

v16.13.1

Automated testing tool and ruleset

IBM Equal Access Accessibility Checker - Latest Deployment

Assistive technology

No response

Description

Using the within the shell sidebar results in a accessibility violation "The ARIA role 'separator' is not valid for the element <li>"

WCAG 2.1 Violation

4.1.2 Name, Role, Value

Reproduction/example

https://stackblitz.com/edit/github-cqny7t?file=src%2FApp.jsx

Steps to reproduce

Use a SideNavDivider within SideNavItems and run accessibility checker

Code of Conduct

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

Metadata

Assignees

Type

No type

Projects

  • Status

    ✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions