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
[ampproject/amphtml] ♿ [Story a11y] Pagination buttons alt text #32861
[ampproject/amphtml] ♿ [Story a11y] Pagination buttons alt text #32861
Conversation
Hey @gmajoulet, @newmuis, @Enriqe! These files were changed:
|
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.
Minor nits, but LGTM. Make sure Percy tests are fixed!
/* Navigation buttons. These are only displayed on desktop. */ | ||
.i-amphtml-story-button-move { | ||
display: none !important; | ||
/* Navigation button element. Visibly hidden on mobile but focusable by screen readers. */ |
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.
Are they click targets that could cover some content? Should we add pointer-events: none
? That might create some P0s.
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.
The click targets could cover content but they're within the 48px area reserved for navigating.
Patch PR for adding pointer-events: none
#32917
Contributes to #32493
alt-text
onto button element.htmlFor
instead ofrenderAsElement
to follow amp-story pattern.