-
Notifications
You must be signed in to change notification settings - Fork 25
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
feat(ResponseActions): Add click state #382
feat(ResponseActions): Add click state #382
Conversation
Preview: https://chatbot-pr-chatbot-382.surge.sh A11y report: https://chatbot-pr-chatbot-382-a11y.surge.sh |
d39d4ea
to
ef0b576
Compare
packages/module/patternfly-docs/content/extensions/chatbot/examples/Messages/Messages.md
Outdated
Show resolved
Hide resolved
packages/module/patternfly-docs/content/extensions/chatbot/examples/Messages/Messages.md
Show resolved
Hide resolved
26e9dab
to
91d345f
Compare
Add click state to response actions block. The last currently selected item will remain selected. Clients can also pass in custom tooltips or aria labels based on the clicked state.
…mples/Messages/Messages.md Co-authored-by: Erin Donehoo <[email protected]>
91d345f
to
64633dc
Compare
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.
lookin good!
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 screen reader is not capturing the change in the aria-label after clicking the button.
I believe you need to use an aria-live attribute in this case per this guidance: https://www.patternfly.org/components/tooltip/accessibility#aria-live
Just added; thank you for catching! |
🎉 This PR is included in version 2.2.0-prerelease.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Add click state to response actions block. The last currently selected item will remain selected until you click someone else on the screen. Clients can also pass in custom tooltips or aria labels based on the clicked state.
Docs:
I've been working directly with Kayla on these already - she has seen them.