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

aria-readonly for button role #479

Closed
kanggeon opened this issue Nov 14, 2016 · 1 comment
Closed

aria-readonly for button role #479

kanggeon opened this issue Nov 14, 2016 · 1 comment
Labels
Milestone

Comments

@kanggeon
Copy link

kanggeon commented Nov 14, 2016

It is possible to have "toggle" style buttons with aria-pressed. Such buttons convey information much like checkboxes (which are specified for aria-readonly). Since the state of the button can provide information relevant to the user, it should be (1) focusable & (2) have the read only state announced to the user. (2) is not being met by screen readers because aria-readonly is not specified for the button role.

@jnurthen jnurthen added this to the ARIA 1.3 milestone Dec 4, 2018
@jnurthen
Copy link
Member

We don't think this is a good idea.
If you need to do this today you can use a checkbox to do it. Adding extra attributes on buttons would only lead to confusion.

pkra pushed a commit that referenced this issue May 20, 2024
* Editorial: revise redundant role declaration example closes #478
* remove errant `;` closes #479
pkra pushed a commit that referenced this issue May 20, 2024
Co-authored-by: Scott O'Hara <scottaohara@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants