InputControl and TextareaControl: label, placeholder, and background colors should work consistently and be always readable #69355
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
[Package] Components
/packages/components
[Type] Bug
An existing feature does not function as intended
Description
While going through #60275, #68807, #69312, and #69334, I noticed
InputControl
andTextareaControl
hav einconsistent and buggy behaviors for:disabled
.This is more noticeable when using the components inside the editor canvas with both a light and dark backgrounds.
One of these buggy behaviors is surfaced after the
is-dark-theme
CSS class for the Post Editor was fixed in #68481I'd expect these two components to use a consistent styling for all states and have the same behavior with a dark background theme.
Cc @WordPress/gutenberg-components
To quickly test, I added the components below to the PostTitle:
Added components!
Once the ongoing work on the placeholder text color in the issues linked above is complete, I'll try to raise a PR for these additional fixes.
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: