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

Buttons must have discernible text #43

Open
koddsson opened this issue May 27, 2021 · 0 comments
Open

Buttons must have discernible text #43

koddsson opened this issue May 27, 2021 · 0 comments

Comments

@koddsson
Copy link
Contributor

Just as we set the role=button for the markdown buttons:

if (!this.hasAttribute('role')) {
this.setAttribute('role', 'button')
}

We should also give them discernible text if it's not already set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant