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

Button width controls are difficult for editors to find #65378

Open
andreawetzel opened this issue Sep 16, 2024 · 0 comments · May be fixed by #65346
Open

Button width controls are difficult for editors to find #65378

andreawetzel opened this issue Sep 16, 2024 · 0 comments · May be fixed by #65346
Labels
[Block] Buttons Affects the Buttons Block [Type] Enhancement A suggestion for improvement.

Comments

@andreawetzel
Copy link

What problem does this address?

It is hard for new users to know what the 25%, 50%, 75%, 100% buttons do under the Settings Inspector Controls panel for the button element. This is a potential accessibility barrier and usability barrier for folks who are new to the Block Editor.

There should be a visual indication such as a heading that indicates that these are settings for the width percentage for the button. The group has an aria-label of "Button width" but this does not help our visual users.

Related Issue & PR

There is an issue to Replace Outdated size controls in core blocks: #52223
There is also a PR to use ToggleGroupControl for this element here: #65346

There is still not a heading or visual cue for sighted users what these percentage buttons are for though. A "Button width" heading would help users with this functionality.

Screenshot 2024-09-16 at 10 37 12 AM

What is your proposed solution?

Add "Button width" heading above percentage width controls on the button block.
Screenshot 2024-09-16 at 10 41 58 AM

@andreawetzel andreawetzel added the [Type] Enhancement A suggestion for improvement. label Sep 16, 2024
@t-hamano t-hamano added the [Block] Buttons Affects the Buttons Block label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Buttons Affects the Buttons Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants