You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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. 😁
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!
The text was updated successfully, but these errors were encountered: