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

Zoom Out Inserter: Drop Pattern label mismatch with Block and Media elements. #68309

Open
3 of 6 tasks
yogeshbhutkar opened this issue Dec 26, 2024 · 0 comments · May be fixed by #68310
Open
3 of 6 tasks

Zoom Out Inserter: Drop Pattern label mismatch with Block and Media elements. #68309

yogeshbhutkar opened this issue Dec 26, 2024 · 0 comments · May be fixed by #68310
Assignees
Labels
[Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@yogeshbhutkar
Copy link
Contributor

Description

In the current implementation, the Zoom Out Inserter label always displays Drop Pattern, regardless of whether the user is inserting a block, pattern, or media. This inconsistency creates a mismatch between user actions and the provided feedback.

Similarly, the Tooltip consistently states Add Pattern, regardless of the type of content the user is interacting with. These discrepancies may also impact users with accessibility needs, making it crucial to display accurate and context-specific labels.

Step-by-step reproduction instructions

  1. Navigate to edit a post or create a new post.
  2. Toggle Show Template on.
  3. Activate the Zoom Out Toggle.
  4. Hover over the + button, and notice the tooltip. It states Add Pattern regardless of what's being inserted.
  5. Verify the label being shown is Drop Pattern., even when media is being dropped.

Screenshots, screen recording, code snippet

Screen.Recording.2024-12-26.at.12.21.39.PM.mov

Image

Environment info

  • WordPress Version: 6.8-alpha-59361
  • Gutenberg Plugin Version: Latest Trunk
  • OS: macOS 15 Sequoia

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
@yogeshbhutkar yogeshbhutkar added the [Type] Bug An existing feature does not function as intended label Dec 26, 2024
@yogeshbhutkar yogeshbhutkar linked a pull request Dec 26, 2024 that will close this issue
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant