-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
fix: wrong or duplicate focusable #344
Conversation
✅ Deploy Preview for es-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for zh-hans-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for ja-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for new-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for hi-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for de-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for fr-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
✅ Deploy Preview for pt-br-eslint ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@@ -2,7 +2,7 @@ | |||
<div class="c-slider__slides-container" data-slides> | |||
<div class="c-slider__slides-wrapper" data-slides-wrapper> | |||
{%- for item in site.donate_page.testimonials.items -%} | |||
<div class="c-slider__slide focusable" data-slide> | |||
<div class="c-slider__slide" data-slide> |
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.
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 left it out. I'm not sure which node is affecting this behavior right now, and I'm going to wake up tomorrow and check to see.
I think the first two might be intentional for easier keyboard navigation. Let me check with Sara. |
@kecrily Hey Percy! Thanks so much for contributing to the a11y of the site! Re focusability & clickability: In general: it doesn't have to be clickable to be focusable. For example, scrollable regions must be focusable even though they're not "clickable" per se. Sometimes making a group focusable is useful for screen reader announcements.
Re duplicate
The |
@@ -1,8 +1,8 @@ | |||
<div class="c-slider c-slider--testimonials" data-slider data-aria-label="Testimonials"> | |||
<div class="c-slider__slides-container" data-slides> | |||
<div class="c-slider__slides-wrapper" data-slides-wrapper> | |||
<div class="c-slider__slides-wrapper" tabindex="-1" data-slides-wrapper> |
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.
@kecrily based on @SaraSoueidan's comments, can we revert these changes in the slider?
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.
LGTM. Thanks!
focusable
exists, but there is no such style.focusable=false
attributes.