-
Notifications
You must be signed in to change notification settings - Fork 364
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
carousel Example with buttons for slide control: Improve High Contrast Support and implementation of APG Programming Practices #1387
Conversation
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.
A11y QA
-
JAWS 2020.2006.12 (Note: tested on Windows 10 VM)
- Firefox 80 OK
- Chrome 84.0.4147.125 OK
- Edge 84.0.522.59 OK
- Notes:
- For Chromium browsers, checking the Display Controls checkbox causes JAWS to announce the content of the carousel after checking the box. This does not appear to happen with remaining two checkboxes.
- JAWS does not announce change in play/pause carousel button's name when pressed as NVDA does.
-
NVDA 2020.2
- Firefox 80 OK
- Chrome 84.0.4147.125 OK
- Edge 84.0.522.59 OK
-
Voiceover 10
- Safari 13.1.1 OK
- Note: Start/stop button name updates (unlike JAWS/Chromium), but the slide names do not announce when changing slides. Otherwise, announcements and functionality work as expected.
- Safari 13.1.1 OK
-
Windows HCM (default settings - High Contrast Black) and Color Contrast
- Firefox 80 OK - Buttons have clear focus indication; white arrow on blue background has 7.1:1 CCR.
- Chrome 84.0.4147.125 w/ HCM extension set to Inverted Color OK (see note)
- Note: Buttons do appear contrasty but the images are super bright and washed out, likely due to how the extension functions. Considered OK considering Chrome's current lack of OS HCM integration.
- Edge 84.0.522.59 OK - Buttons have clear focus indication; white arrow on blue background has 7.1:1 CCR.
Test env: Windows 10 v2004 b19041.450 and MacOS Catalina 10.15.5.
Sorry, @jongund - I meant to create a PR against your branch, but I messed up and pushed directly to your branch. |
Two of the points about the rotation control button in the Accessibility Features section may need a bit of revising to match behavior.
This is correct, but we may want to add a new point describing the opposite behavior, because it might not be intuitive:
This point doesn't seem to match the current behavior. The button isn't really disabled, because it still changes from pause to play, and as soon as the mouse is moved off of the carousel, rotation starts up again. |
Tested Windows HCM High Contrast White, to compliment @charmarkk's High Contrast Black test. Everything is visible in white also. |
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.
This example looks good!
I only have the questions in my previous comment about the behavior of those 2 rotation control button points.
I don't know why the build is failing on the treeview_treeview-2b regression test - I didn't touch that.
@carmacleod |
@jongund Thanks for deleting the point about the disabled button - makes sense now. Regarding adding a new point after:
Here's what I had in mind for the new point:
To see this, try the following steps:
I believe we did this on purpose, because if I recall correctly, we said "if the user intentionally presses the play button again after they pressed pause, then they obviously want the carousel to rotate regardless of hover or focus". But we should explain it with the new point, because it might not be completely clear what is going on there. |
Phew - thanks, @jongund ! |
+1 |
@jongund |
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.
Code review for previously requested changes: Approved! Looks great!! Thanks so much for the readability changes @jongund !
This pull request updates the current carousel example with previous and next buttons:
Preview Link
Preview updated carousel in compare branch
Review checklist