Skip to content
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

[Site Editor] The save panel does not receive keyboard focus #29803

Closed
annezazu opened this issue Mar 12, 2021 · 3 comments · Fixed by #30873
Closed

[Site Editor] The save panel does not receive keyboard focus #29803

annezazu opened this issue Mar 12, 2021 · 3 comments · Fixed by #30873
Assignees
Labels
[Feature] Saving Related to saving functionality [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@annezazu
Copy link
Contributor

Description

Using NVDA (a screen reader), the secondary Save button in the "Update Design" does not have an aria label making it very difficult to save changes in the FSE experience. A user relying on screen readers would need to both know to search for save and actually search for it in order to properly save changes.

Step-by-step reproduction instructions

  1. Setup a site with FSE using a block theme. Use NVDA.
  2. Make a few changes to the FSE experience.
  3. Select "Update Design" and notice that the "Save" button isn't announced.

Expected behaviour

I expect an aria label for the additional save button.

Actual behaviour

There is no aria label for the save button:

Screen Shot 2021-03-11 at 8 20 01 PM

Screenshots or screen recording (optional)

Here's a screen recording shared with consent from the person who I worked with to go over this experience:

save.nvda.mov

WordPress information

  • WordPress version: 5.7
  • Gutenberg version: 10.1
  • Are all plugins except Gutenberg deactivated? Yes
  • Are you using a default theme (e.g. Twenty Twenty-One)? TT1 Blocks
@annezazu annezazu added [Type] Bug An existing feature does not function as intended [Feature] Saving Related to saving functionality [a11y] Labelling [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") labels Mar 12, 2021
@carolinan
Copy link
Contributor

carolinan commented Mar 16, 2021

Hi
When I tested with NVDA and Chrome on Windows 10, I found that the save panel does not receive focus when it is opened.

Steps:
I pressed enter when the Update design button was selected.
I could see that the save panel was opened. But there was no announcement, NVDA did not read out that the panel had opened.
While I could see that the panel had a save button at the top, the button did not have a visible focus style.

I pressed the arrow down key, but instead of reading out the save button, the screen reader read:
"toggle button not pressed, settings"'
-This is the button that is next to the "Update design", now covered by the open save panel.
I tested using tab instead of arrows, with the same result.

For comparison, in the post editor, the screen reader announces the panel (region) and focus is on the first button:
"Editor publish region Publish button"

@annezazu
Copy link
Contributor Author

Thank you for testing and for the very thorough comment <3

@carolinan
Copy link
Contributor

carolinan commented Mar 17, 2021

I tried looking into it but it is not clear to me why there was a decision to use a different markup and different CSS classes in the site editor compared to the post editor.

@carolinan carolinan changed the title [Full Site Editing] Add Aria Label for "Save" button when updating design Mar 17, 2021
@carolinan carolinan added this to To do in WordPress 5.8 Must Haves via automation Mar 23, 2021
@david-szabo97 david-szabo97 self-assigned this Apr 15, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Apr 15, 2021
@david-szabo97 david-szabo97 moved this from 📥 To do to 🏗️ In progress in WordPress 5.8 Must Haves Apr 16, 2021
WordPress 5.8 Must Haves automation moved this from 🏗️ In progress to ✅ Done Apr 19, 2021
@priethor priethor removed this from ✅ Done in WordPress 5.8 Must Haves Apr 20, 2021
@priethor priethor added [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). and removed [a11y] Labelling labels Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Saving Related to saving functionality [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Focus] Accessibility (a11y) Changes that impact accessibility and need corresponding review (e.g. markup changes). [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
4 participants