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

TreeTable: aria-expanded attribute should not be on leaf nodes #4368

Closed
nickolas1 opened this issue Aug 31, 2023 · 0 comments
Closed

TreeTable: aria-expanded attribute should not be on leaf nodes #4368

nickolas1 opened this issue Aug 31, 2023 · 0 comments
Assignees
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@nickolas1
Copy link

Describe the bug

from https://www.w3.org/WAI/ARIA/apg/patterns/treegrid/:

"Rows that do not control display of child rows do not have the aria-expanded attribute because, if they were to have it, they would be incorrectly described to assistive technologies as parent rows."

Reproducer

https://primevue.org/treetable/

PrimeVue version

3.32.2

Vue version

3.x

Language

TypeScript

Build / Runtime

Vite

Browser(s)

No response

Steps to reproduce the behavior

Inspect the html of any example in the TreeTable documentation page

Expected behavior

Leaf rows in a TreeTable do not have the aria-expanded attribute

@nickolas1 nickolas1 added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 31, 2023
@tugcekucukoglu tugcekucukoglu added the Component: Accessibility Issue or pull request is related to WCAG or ARIA label Sep 1, 2023
@tugcekucukoglu tugcekucukoglu self-assigned this Sep 1, 2023
@tugcekucukoglu tugcekucukoglu added this to the 3.33.1 milestone Sep 1, 2023
@tugcekucukoglu tugcekucukoglu added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Accessibility Issue or pull request is related to WCAG or ARIA Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants