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

[Grid] Aria-expanded and aria-controls attributes of filter and column menus are not updated correctly #4544

Open
georgi-sla opened this issue Feb 18, 2025 · 0 comments

Comments

@georgi-sla
Copy link
Contributor

georgi-sla commented Feb 18, 2025

Description

Currently, when the user opens either the filter or column menu, the aria-expanded and aria-controls properties of the entire cell and the button responsible for opening the two elements are set. However, upon closing the menus, the value of the aria-expanded attribute is not updated and remains true while the aria-controls attribute remains applied.

Steps To Reproduce

  1. Create a Grid component.
  2. Enable column and filter menus.
  3. Inspect either the cell or the button responsible for opening the menus.
  4. Open either of the two menus and observe the DOM.

Please, check out the following example: https://codesandbox.io/p/sandbox/long-mountain-r9mzdl

Note: To see the issue with the aria-expanded and aria-controls of the button opening the menu(s), make sure to disable the navigable property of the Grid.

Screenshots or video

No response

Actual Behavior

The Grid component does not correctly update the value of the aria-expanded and aria-controls attributes of the column and filter menus when the user closes them.

Expected Behavior

The aria-expanded attribute should be set back to false when the column or filter menu is closed while the aria-controls should be removed.

Browser

All

Browser version

latest

OS type

MacOS

OS version

No response

Last working version of the Kendo UI for Angular package (if regression).

No response

@georgi-sla georgi-sla changed the title [Grid] Aria-expanded attribute of filter and column menus is not updated correctly [Grid] Aria-expanded and aria-controls attributes of filter and column menus are not updated correctly Feb 18, 2025
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

2 participants