-
-
Notifications
You must be signed in to change notification settings - Fork 380
Open
Labels
component: fieldChanges related to the field component.Changes related to the field component.docsImprovements or additions to the documentation.Improvements or additions to the documentation.status: waiting for maintainerThese issues haven't been looked at yet by a maintainer.These issues haven't been looked at yet by a maintainer.
Description
Bug report
Current behavior
The input in the Field component example is very difficult to see because the input border has such low contrast against adjacent colours. As a result, this fails WCAG 2.2 Success Criterion 1.4.11 Non-text Contrast
Expected behavior
The border has a near-transparent colour (oklch(0.12 0.04 264.01 / 0.07)) but must have at least a 3:1 contrast ratio against adjacent colours. This is the requirement for all UI components and meaningful graphics.
Reproducible example
- Navigate to the Field component example
- Use a tool like the Colour contrast analyser to colour pick the border colour and adjacent background colour
- Note the ratio
Base UI version
v1.2.0
Which browser are you using?
Chrome
Which OS are you using?
Mac OS
Which assistive tech are you using (if applicable)?
N/A
Additional context
Ensure all component examples meet contrast requirements to demonstrate best practices.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: fieldChanges related to the field component.Changes related to the field component.docsImprovements or additions to the documentation.Improvements or additions to the documentation.status: waiting for maintainerThese issues haven't been looked at yet by a maintainer.These issues haven't been looked at yet by a maintainer.