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

Add aria-label to single action button #2981

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

raimund-schluessler
Copy link
Contributor

This adds a default aria-label with the value of the tooltip to the single action button, fixing the You need to fill either the text or the ariaLabel props in the button component. warning that currently occurs in the docs for single actions if the ActionButton has no aria-label set. Follow-up of #2911.

Signed-off-by: Raimund Schlüßler <[email protected]>
@raimund-schluessler raimund-schluessler added bug Something isn't working feature: actions Related to the actions components labels Aug 9, 2022
@raimund-schluessler raimund-schluessler added this to the 6.0.0 milestone Aug 9, 2022
@raimund-schluessler raimund-schluessler added the 3. to review Waiting for reviews label Aug 9, 2022
@raimund-schluessler raimund-schluessler self-assigned this Aug 9, 2022
@skjnldsv skjnldsv merged commit 5a0f7f9 into master Aug 9, 2022
@skjnldsv skjnldsv deleted the fix/noid/single-action-aria-label branch August 9, 2022 13:40
@skjnldsv
Copy link
Contributor

skjnldsv commented Aug 9, 2022

backport?

@raimund-schluessler
Copy link
Contributor Author

backport?

No, we didn't backport #2911 either, which introduced the problem.

@juliusknorr juliusknorr mentioned this pull request Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working feature: actions Related to the actions components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants