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

APG Accordion doesn't take nesting into account by advising against role=region #954

Open
accdc opened this issue Dec 12, 2018 · 4 comments
Labels
agenda Include in upcoming Authoring Practices Task Force meeting Pattern Page Related to a page documenting a Pattern question Issue asking a question

Comments

@accdc
Copy link

accdc commented Dec 12, 2018

Within the Accordion design pattern guidance, the use of role=region is advised against when 6 or more regions are included, however this guidance does not take into account that there may be many such regions where the only way to ensure proper nesting information is to expose the relevant regions that are applicable.

Also, there are situations where the use of such regions is the only manner for identifying the boundaries between multiple expandable sections on the page, and not providing this information as a general policy causes more harm than the documented reason for not including it at all.

This came up because a client is choosing not to include the role at all as part of a general widget because they cannot anticipate how many such regions will be implemented by their own products, and here in the APG it says that there will be problems if they do, which is misleading and incorrect because it is more important to include accessibility features as a general practice than not.

@mcking65 mcking65 added agenda Include in upcoming Authoring Practices Task Force meeting Pattern Page Related to a page documenting a Pattern question Issue asking a question labels Oct 4, 2021
@mcking65 mcking65 added this to the 1.2 Release 1 milestone Oct 17, 2021
@mcking65
Copy link
Contributor

Related to #1002

@a11ydoer
Copy link
Contributor

Discussed at ARIA APG meeting on 10/26/2021

@accdc
Copy link
Author

accdc commented Nov 1, 2021

Hi,
I have reviewed the guidance for Accordion in the 1.2 APG page, and it looks good to me now as is. The conditional statement "Role region is especially helpful to the perception of structure by screen reader users when panels contain heading elements or a nested accordion." sounds clear to me, and provides guidance for complicated scenarios without advising against the use of accessible features when needed.

@scottaohara
Copy link
Member

Seems it might be a good idea to advocate for role=group for instances where one wants to avoid creating too many region landmarks, but also indicate boundaries for expanded disclosure widget content.

@mcking65 mcking65 removed this from the 1.2 Release 1 milestone May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agenda Include in upcoming Authoring Practices Task Force meeting Pattern Page Related to a page documenting a Pattern question Issue asking a question
Development

No branches or pull requests

4 participants