-
Notifications
You must be signed in to change notification settings - Fork 754
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
#1744 Fix Restart conversation menu #1844
Conversation
We go back-and-forth, then back-and-forth again. Almost rewrote it. But we finally figured out it should be So many work and think process, so little showing in this PR. |
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.
Good work!
Fix the changelog conflict and I'll merge it in once CI passes.
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.
👍
#1750
This PR tweaks the "Restart conversation" menu items in the chat view.
Please note: this component has been updated from 'listbox' role to 'menu' role.
Semantically, the behavior we want to emulate more closely matches the menu bar. For an accessible example, please see w3.org menubar2
This fix returns focus to the caret (next to Restart conversation button) after an action has been selected from the submenu.
Below is the transcribed behavior when navigating the toolbar that contains Restart Conversation.
When focused on "Restart conversation menu":
Enter : NVDA says: "Restart with new user ID 1 of 2"
↓ : NVDA says "Restart with same user ID 2 of 2"
Enter : NVDA says "Restart conversation submenu 2 of 3"
Below is an animated gif of the behavior using keyboard navigation.