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

Clarify whether disclosure's toggle button should use aria-pressed #897

Closed
0ddfell0w opened this issue Sep 20, 2018 · 2 comments
Closed
Labels
Feedback Issue raised by or for collecting input from people outside APG task force question Issue asking a question

Comments

@0ddfell0w
Copy link

The APG entry for Disclosure mentions that aria-expanded should be set on the toggle button. Should the toggle button also use aria-pressed, as is recommended in the entry for button?

In either case, could it be worth clarifying that in the APG? Thanks!

@LaurenceRLewis
Copy link

LaurenceRLewis commented Sep 20, 2018

Personally I do not believe aria-pressed is needed for a disclosure show/hide; as aria-expanded is sufficient to indicate the expanded/collapsed state for assistive technology users. I find when testing sites that implement both, it sometimes gets confusing, because of the how browser/ATs’ announce the two attributes when used together. Additionally when viewing JAWS form fields dialog the state of pressed is displayed for the disclosure button which IMO is not necessary and may seem verbose.

In regards to the APG I believe that by not including aria-pressed it is already clarified by omission. 😁

@css-meeting-bot
Copy link
Member

css-meeting-bot commented Nov 12, 2018

The ARIA Authoring Practices (APG) Task Force just discussed Issue triage.

The full IRC log of that discussion

<AnnAbbott> Issue #897: #897

<jamesn> Github: #897

<AnnAbbott> jn: close issue based on comment entered by Decrepidos

@mcking65 mcking65 added question Issue asking a question Feedback Issue raised by or for collecting input from people outside APG task force labels Nov 30, 2018
@mcking65 mcking65 added this to the 1.1 APG Release 3 milestone Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feedback Issue raised by or for collecting input from people outside APG task force question Issue asking a question
Projects
None yet
Development

No branches or pull requests

5 participants