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

fix: do not set aria-expanded on grid cells #3441

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

web-padawan
Copy link
Member

@web-padawan web-padawan commented Feb 15, 2022

Description

Currently, aria-expanded is used by vaadin-grid web component in two cases:

  1. Tree Grid rows: aria-expanded set on <tr> (which is correct)
  2. Row details: aria-expanded set on <td> (does not look correct).

The reason for this is that row details feature was implemented before Tree Grid.

As discussed, let's remove aria-expanded from individual cells for now.
We can consider using aria-details when it has better support.

Fixes #3425

Type of change

  • Bugfix

@web-padawan web-padawan merged commit 4a031fe into master Feb 15, 2022
@web-padawan web-padawan deleted the fix/remove-cell-expanded branch February 15, 2022 09:12
@sonarcloud
Copy link

sonarcloud bot commented Feb 15, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

web-padawan added a commit that referenced this pull request Feb 15, 2022
Co-authored-by: Serhii Kulykov <iamkulykov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[grid] Remove aria-expanded from cells with expanded details [1 day]
3 participants