Skip to content

Comments

app: Give placeholder text sufficient contrast#8

Merged
awilfox merged 1 commit intomainfrom
awilfox/ADA-397
Dec 4, 2025
Merged

app: Give placeholder text sufficient contrast#8
awilfox merged 1 commit intomainfrom
awilfox/ADA-397

Conversation

@awilfox
Copy link
Member

@awilfox awilfox commented Dec 2, 2025

  • Override user-agent styling for placeholder text to ensure it has sufficient contrast. #757575 has a contrast ratio of 4.6:1.

  • Use 'form-select' class on all <SELECT/> elements. Bootstrap's styling ensures a white background instead of the Mac gradient used by some user agents on the Mac OS. The gradient would have lowered the ratio to 3.76:1.

  • Remove duplicated CSS rules from application.scss for maintainability.

Closes: ADA-397

* Override user-agent styling for placeholder text to ensure it has
  sufficient contrast.  #757575 has a contrast ratio of 4.6:1.

* Use 'form-select' class on all <SELECT/> elements.  Bootstrap's
  styling ensures a white background instead of the Mac gradient used
  by some user agents on the Mac OS.  The gradient would have lowered
  the ratio to 3.76:1.

* Remove duplicated CSS rules from application.scss for maintainability.

Closes: ADA-397
@awilfox awilfox merged commit 80828bd into main Dec 4, 2025
5 checks passed
@awilfox awilfox deleted the awilfox/ADA-397 branch December 4, 2025 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants