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

[Bug] Part 1: Indicate that role=directory will be deprecated (aria 1.2) #608

Closed
scottaohara opened this issue Jan 10, 2022 · 6 comments
Closed
Assignees
Labels
engine Issues in the accessibility-checker-engine component priority-2 (med) SME Discuss with subject matter experts Standards user-reported Issues identified outside of the core team

Comments

@scottaohara
Copy link

ARIA 1.2 is deprecating the directory role, as in reality it had no practical difference between a role=list.

ARIA in HTML is being updated to call out that authors should not use this role, and request that conformance checkers warn authors to instead use a HTML list element, or role=list instead.

role=directory test case

@tombrunet
Copy link
Member

Need to discuss with team what level deprecated features should be reported at. My gut feels like it should be a recommendation.

@tombrunet tombrunet added the engine Issues in the accessibility-checker-engine component label Jan 10, 2022
@scottaohara
Copy link
Author

Makes sense. FYI, I updated the test case to mention additional issues i've found with role=directory's implementation. Essentially, not only does using role=directory on a ul, ol, or menu do nothing to change its exposed mapping, it actually breaks the mapping of the nested li elements in Chromium specifically. So if used, authors need to also specify role=listitem on all li elements to mitigate this behavior.

@aliunwala aliunwala added SME Discuss with subject matter experts priority-2 (med) labels Jan 11, 2022
@tombrunet
Copy link
Member

Note: Create a rule where the role is tokenized (Maybe look for a deprecated attribute in the ARIA spec file)

@aliunwala
Copy link
Contributor

Agreement in triage into make this into a Recommendation

Also a helpful link:
https://www.w3.org/TR/wai-aria-1.2/#deprecated

@shunguoy
Copy link
Contributor

shunguoy commented Feb 9, 2022

close this and reopen for the next sprint per team process: #680

@shunguoy shunguoy closed this as completed Feb 9, 2022
@shunguoy shunguoy changed the title Indicate that role=directory will be deprecated (aria 1.2) [Bug] Part 1: Indicate that role=directory will be deprecated (aria 1.2) Feb 9, 2022
@shunguoy
Copy link
Contributor

shunguoy commented Feb 9, 2022

some deprecated aria attributes/roles were added to the engine, but no test cases were written.

@philljenkins philljenkins added Standards user-reported Issues identified outside of the core team labels Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine Issues in the accessibility-checker-engine component priority-2 (med) SME Discuss with subject matter experts Standards user-reported Issues identified outside of the core team
Projects
None yet
Development

No branches or pull requests

5 participants