-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 buttons #32252
♻️ Remove role button from buttons #32252
Conversation
Hey @gmajoulet! These files were changed:
Hey @processprocess, @t0mg! These files were changed:
Hey @newmuis, @Enriqe! These files were changed:
|
@@ -58,7 +58,7 @@ | |||
id="amp-user-notification"> | |||
This site uses cookies to personalize content. | |||
<a href="#learn-more">Learn more.</a> | |||
<button on="tap:amp-user-notification.dismiss" role="button" tabindex="0">I accept</button> | |||
<button on="tap:amp-user-notification.dismiss" tabindex="0">I accept</button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Buttons are also focusable, can we remove any tabindex="0"
? (other #s are meaningful and can be left as is for providing focus order though)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do this in a followup PR. This one touches a lot of files already.
Co-authored-by: Caroline Liu <10456171+caroqliu@users.noreply.github.com>
…phtml into role-button-on-button
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
amp-story/*
approval
* Remove role button from buttons * Update examples/amp-consent/cmp-vendors.amp.html Co-authored-by: Caroline Liu <10456171+caroqliu@users.noreply.github.com> * Missed one in amp-story-page * two more files were missed Co-authored-by: Caroline Liu <10456171+caroqliu@users.noreply.github.com>
This PR needs to be rollbacked, or a fix needs to be sent in the next hour. Stories use the |
Feel free to roll this PR back, but I'd also ask to do the following:
|
PR for story revert: #32283 |
Addresses #31342.
In particular to look at @gmajoulet are the changes to Web Stories components.