-
Notifications
You must be signed in to change notification settings - Fork 106
fix(switch): implement internals controller #2702
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
Conversation
🦋 Changeset detectedLatest commit: 12a308f The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for patternfly-elements ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
|
So, here's the current a11y state of the switch at patternflyelements.org (PFE) and in the deploy preview (DP). It's kind of a pick-your-poison with them. TLDR:
patternflyelements.orgWithout screen reader
Mac Safari/VoiceOver
Win Chrome/JAWS
Win Firefox/NVDA
iOS Safari/VoiceOver
Android Chrome/Talkback
Current deploy previewWithout screen reader
Mac Safari/VoiceOver
Win Chrome/JAWS
Win Firefox/NVDA
iOS Safari/VoiceOver
Android Chrome/Talkback
|
|
Also wanted to mention that the DP version is better than PFE in Mac/iOS Safari because of some updates @zeroedin made yesterday. If needed (as in, if we're not yet ready to go with this new version of switch), maybe those same fixes could be made to the live PFE version, too--fixing the label issue, the page scroll issue, and hiding the SVG from assistive tech. |
|
@hellogreg did 5dbdb14 help? |
|
Looks like it could be getting a little closer, but still has issues. Still works fine in Safari/VO. Chrome/Jaws:
Firefox/NVDA
|
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 should get a major changeset because the label API changed, no? unless i'm mistaken and we already did that
You are correct we changed the label API by adding the |
|
@nikkimk or @hellogreg if we could get a final sign off please |
hellogreg
left a comment
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.
Lasting Greek Tragedy: Medea.
Works in all tested browser and screen reader combos (desktop and mobile).
What I did
InternalsController<label>with children having thedata-stateTesting Instructions
Notes to Reviewers