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

[4.0] Incorrect scope in elements with ARIA role #23887

Closed
zwiastunsw opened this issue Feb 12, 2019 · 9 comments
Closed

[4.0] Incorrect scope in elements with ARIA role #23887

zwiastunsw opened this issue Feb 12, 2019 · 9 comments

Comments

@zwiastunsw
Copy link
Contributor

zwiastunsw commented Feb 12, 2019

Steps to reproduce the issue

  1. Go to Modules Article Category Edit page
  2. Run ChromeLens Accessibility test

Actual result

You will receive more than 20 messages: Elements with ARIA roles must be in the correct scope

All tree nodes should be contained in or owned by an element with role tree. Currently tree nodes with the role of treeitem are not correct in element with role group.

tree_treeitem

See: WAI-ARIA Authoring Practices 1.1 TreeView
Note: This is webcomponent: joomla-field-fancy-select
@dgrammatiko

@dgrammatiko
Copy link
Contributor

@zwiastunsw you need to open an issue to choices, unfortunately, people thought that this script was a good fit for Joomla, welcome to chosen no2...

@zwiastunsw
Copy link
Contributor Author

@dgrammatiko : I'm sory. I don't understand your comment

@dgrammatiko
Copy link
Contributor

@zwiastunsw we don't have control over that code!!!
It means you need to open an issue to their repo: https://github.com/jshjohnson/Choices

And if you're lucky it may get resolved

@zwiastunsw
Copy link
Contributor Author

Hmmm. It's too difficult for me.

@brianteeman
Copy link
Contributor

not sure why you have highlited the div with the role=group as that is not a containing div for the items with a role=treeitem

@brianteeman
Copy link
Contributor

@zwiastunsw you are correct however that the role attribute is not being used correctly pretty much everywhere

@ghost ghost added J4 Issue a11y Accessibility labels Apr 4, 2019
@ghost ghost changed the title [4.0][a11y] Incorrect scope in elements with ARIA role [4.0] Incorrect scope in elements with ARIA role Apr 19, 2019
@brianteeman
Copy link
Contributor

I have reported this upstream

@joomla-cms-bot
Copy link

Set to "closed" on behalf of @jwaisner by The JTracker Application at issues.joomla.org/joomla-cms/23887

@joomla-cms-bot joomla-cms-bot removed the a11y Accessibility label Apr 29, 2020
@jwaisner
Copy link
Member

Closing as this has been confirmed as reported upstream to Choices.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23887.

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

5 participants