Modal: Increase size of the Close button #66758
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Components
/packages/components
[Status] In Progress
Tracking issues with work in progress
[Type] Regression
Related to a regression in the latest release
Description
Splitting this out from #66277
In #65102 / #65131 the size of the Modal X close button was changed from the no longer supported 36 pixels to 24 pixels.
The available options in the sizing scheme are 24, 32, and 40 pixels. The 32 pixels would have been a better choices. The target size is an important usability and accessibility feature. There's no need to make it unnecessarily too small. Whenever possible, when there is enough space, the target size should be reasonably bigger than the minimum required of 24 pixels.
I have to note that neither #65102 nor #65131 had any accessibility label and any consideration related to accessibility. I'd consider the change from #65131 a reduced level of usability and accessibility and, as such, a minor regression.
I'd like to propose to make this button size use at least the
compact
size variant of 32 pixels.Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: