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

Show responsive preview icons at the same level as the drop-down menu #68064

Closed
MathieuGodard opened this issue Dec 17, 2024 · 2 comments
Closed
Labels
[Type] Enhancement A suggestion for improvement.

Comments

@MathieuGodard
Copy link

What problem does this address?

Could we remove a click to modify Gutenberg's responsive display?

What is your proposed solution?

Remove the drop-down menu, add 4 icons (phone, tablet, desktop and frontend preview). Could this degrade accessibility?

@MathieuGodard MathieuGodard added the [Type] Enhancement A suggestion for improvement. label Dec 17, 2024
@Mamaduka
Copy link
Member

Thanks for contributing, @MathieuGodard!

I don't think that's possible at the moment due to the limited space in the document toolbar. However, WP 6.7 also shipped with an extensibility feature (#64644) for a preview dropdown, so more than four items can be in that dropdown.

Could this degrade accessibility?

It can, and visible labels should be preferred over icons when space and design allow. Users can also enable the "Show button text labels" accessibility setting and "force" editor to show labels everywhere. The design also needs to account for this state.

I'll close this proposal as "won't fix" for now. We can get back to it if there are any significant design changes for the document toolbar.

Screenshot

Image

@Mamaduka Mamaduka closed this as not planned Won't fix, can't repro, duplicate, stale Dec 18, 2024
@MathieuGodard
Copy link
Author

@Mamaduka i understand, you are right. maybe add keyboard shortcuts then? maybe even better. Thanks a lot for your time on WordPress!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants