-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Save button: prevent focus loss #34731
Conversation
Size Change: +4 B (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
a25d9da
to
df2b4c8
Compare
The snackbar is displaying and I believe the PR is working as intended, This is what I hear when I test the PR with NVDA screen reader and Chrome: |
df2b4c8
to
beb99f5
Compare
Going to merge this. Nothing crazy here. We're just adding a snackbar message for the save button for consistency and better accessibility. |
Description
Fixes #15529.
As recommended in #15529, #34539 already made the changes to keep the same save button through all its states to prevent focus loss, but we still need a spoken message. This can be done by adding a snackbar notice, which also speaks the message.
How has this been tested?
Save a post. Check the snackbar message.
Screenshots
Types of changes
Checklist:
*.native.js
files for terms that need renaming or removal).