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

QTree does not set aria attributes #16404

Closed
Argannor opened this issue Sep 27, 2023 · 1 comment
Closed

QTree does not set aria attributes #16404

Argannor opened this issue Sep 27, 2023 · 1 comment
Labels
area/a11y Accessibility area/components bug/0-needs-info Need more info to reproduce flavour/vite-plugin Bugs related to Vite usage with Quasar kind/bug 🐞 Qv2 🔝 Quasar v2 issues

Comments

@Argannor
Copy link
Contributor

Argannor commented Sep 27, 2023

What happened?

When using the Tree component with nested nodes screen readers are not advised about the expandability and expand state of the child notes, because corresponding aria attributes are missing, therefore making it more difficult to understand.

I will shortly send a PR addressing this issue.

What did you expect to happen?

Tree nodes should have the attribute aria-expanded="true|false" if they have children.

Reproduction URL

https://codepen.io/pen?&editors=101&prefill_data_id=ba378ef4-67d3-4f17-ad86-1d3b002bce5a

How to reproduce?

  1. Go to the provided link
  2. Open and close the expandable tree items
  3. Either use a screen reader or inspect the aria-expanded attributes (or lack therof)

Flavour

Vite Plugin (@quasar/vite-plugin)

Areas

Components (quasar), Accessibility [a11y] (quasar)

Platforms/Browsers

No response

Quasar info output

No response

Relevant log output

No response

Additional context

No response

@Argannor Argannor added kind/bug 🐞 Qv2 🔝 Quasar v2 issues labels Sep 27, 2023
@github-actions github-actions bot added area/a11y Accessibility area/components bug/0-needs-info Need more info to reproduce flavour/vite-plugin Bugs related to Vite usage with Quasar labels Sep 27, 2023
@github-actions
Copy link

Hi @Argannor! 👋

It looks like you provided an invalid or unsupported reproduction URL.
Do not use any service other than Codepen, jsFiddle, StackBlitz, Codesandbox, and GitHub.
Make sure the URL you provided is correct and reachable. You can test it by visiting it in a private tab, another device, etc.
Please edit your original post above and provide a valid reproduction URL as explained.

Without a proper reproduction, your issue will have to get closed.

Thank you for your collaboration. 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/a11y Accessibility area/components bug/0-needs-info Need more info to reproduce flavour/vite-plugin Bugs related to Vite usage with Quasar kind/bug 🐞 Qv2 🔝 Quasar v2 issues
Projects
None yet
Development

No branches or pull requests

2 participants