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

Remove role="button" from CTA links in carousel example #32789

Merged

Conversation

patrickhlauke
Copy link
Member

They're links, acting as links. Just because they're styled as buttons visually (as is often the case for "Call to action" (CTA) links) doesn't mean they need/get role="button"

(sorry, manual backport of #32788 - forgot to add the label to that one)

They're links, acting as links. Just because they're styled as buttons visually (as is often the case for "Call to action" (CTA) links) doesn't mean they need/get `role="button"`
@patrickhlauke
Copy link
Member Author

not sure if still in time for 4.6.0 or if it should target 4.6.1

Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

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

I defer to @XhmikosR on which release :).

@XhmikosR XhmikosR added this to Inbox in v4.6.0 via automation Jan 14, 2021
@XhmikosR XhmikosR merged commit 80aefd8 into v4-dev Jan 14, 2021
@XhmikosR XhmikosR deleted the patrickhlauke-v4-backport-carousel-examples-CTA-no-role branch January 14, 2021 10:19
@XhmikosR XhmikosR moved this from Inbox to Shipped in v4.6.0 Jan 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
v4.6.0
Shipped
Development

Successfully merging this pull request may close these issues.

None yet

3 participants