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

chore: support aria attributes on buttons #496

Merged
merged 1 commit into from
Jan 30, 2019
Merged

chore: support aria attributes on buttons #496

merged 1 commit into from
Jan 30, 2019

Conversation

montezume
Copy link
Contributor

@montezume montezume commented Jan 30, 2019

Summary

While working on the Tooltip implementation, I realized that we should use aria-describedby on the wrapped component. So our buttons (and perhaps our inputs) should support this attribute.

If we are okay with this approach, I can add it to inputs as well.

From talking to @filippobocik , it seems like we mostly use Tooltips with Buttons and a bit with disabled inputs like RadioInputs. 🤔

@montezume montezume added the 💡 Type: Idea Propose a new idea label Jan 30, 2019
@montezume montezume self-assigned this Jan 30, 2019
Copy link
Member

@emmenko emmenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

Copy link
Contributor

@qmateub qmateub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like a good idea to me 🥇

@montezume montezume merged commit 95f270b into master Jan 30, 2019
@montezume montezume deleted the ml-add-aria branch January 30, 2019 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 Type: Idea Propose a new idea
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants