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

AxeDevTools thorws accesssibility issues for grouped Grid #4534

Open
mbechev opened this issue Feb 6, 2025 · 0 comments
Open

AxeDevTools thorws accesssibility issues for grouped Grid #4534

mbechev opened this issue Feb 6, 2025 · 0 comments

Comments

@mbechev
Copy link
Contributor

mbechev commented Feb 6, 2025

Description

When the Grid is grouped, AxeDevTools throws an error for the rendered ChipList:

role="none" or role="presentation" removes the element from the accessibility tree, meaning assistive technologies (like screen readers) will ignore it completely.
aria-orientation="horizontal" is an ARIA property that is meant to provide information about the element’s orientation. However, if the element has role="none", it won't be exposed to assistive technologies, making aria-orientation and any other aria attributes useless.

Ensure an element's role supports its ARIA attributes

role='none' issue

Image

aria-selected='false' issue

Image

Steps To Reproduce

  1. Open the demo in a new window - https://www.telerik.com/kendo-angular-ui/components/grid/grouping/basics
  2. Group the Grid by any field
  3. Scan the page with AxeDevTools

Actual Behavior

By default, the ChipList has role="listbox", but has been removed in the scope of the Grid to keep the button roles hierarchy.

aria-selected attribute on the Chip should be revised.

Expected Behavior

When role="none" is applied no other accessibility attributes should be set.

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

No branches or pull requests

1 participant