Skip to content

Fullscreen mode: notice shows the wrong message #69303

@afercia

Description

@afercia

Description

In the Post editor, when switching fullscreen mode off and on via the keyboard shortcut, a snackbar notice appears and a speak message is sent to the ARIA live region but the message is the wrong one. It should be swapped.

Video to illustrate:

Screen.Recording.2025-02-25.at.09.53.37.mov

To my understanding, the notice was introduced in #66405

Step-by-step reproduction instructions

  • Edit a post
  • Use the fullscreen mode keyboard shortcut. On macOS it's Shift+Option+Command+F.
  • Observe the snackbar notice says 'activated' when deactivating and 'deactivated' when activating.

Screenshots, screen recording, code snippet

No response

Environment info

No response

Please confirm that you have searched existing issues in the repo.

  • Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

  • Yes

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

Labels

[Focus] Accessibility (a11y)Changes that impact accessibility and need corresponding review (e.g. markup changes).[Package] Edit Post/packages/edit-post[Status] In ProgressTracking issues with work in progress[Type] BugAn existing feature does not function as intended

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions