ComboboxControl: Increase the size of the Reset button #63420
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Needs Design Feedback
Needs general design feedback.
[Package] Components
/packages/components
[Type] Bug
An existing feature does not function as intended
Description
A farily new design pattern in the editor places buttons in a way that they visually appear within a related input field. Examples of this pattern can be seen, for example, in the LinkControl and in the Post URL setting popover. Screenshot:
As an accessibility specialist, I'm not sure I'd support this pattern because the visual appearance of a button inside an input field is somehow unexpected and disorienting.
Regardless, this pattern should at least be consistent.
Turns out the ComboboxControl does have an optional
Reset
button. Its size is way smaller and it's pretty inconsistent.Also, a control target size should be as large as possible. This one is too small. Screenshot:
Step-by-step reproduction instructions
allowReset
prop is set totrue
: https://wordpress.github.io/gutenberg/?path=/story/components-comboboxcontrol--default&args=allowReset:!trueScreenshots, 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
The text was updated successfully, but these errors were encountered: