Skip to content

fix(aria/combobox): increases autocomplete demo's placeholder text c…#33084

Open
essjay05 wants to merge 3 commits intoangular:mainfrom
essjay05:aria-autcomplete-placeholder-color-contrast-fix
Open

fix(aria/combobox): increases autocomplete demo's placeholder text c…#33084
essjay05 wants to merge 3 commits intoangular:mainfrom
essjay05:aria-autcomplete-placeholder-color-contrast-fix

Conversation

@essjay05
Copy link
Copy Markdown
Contributor

…ontrast

Fixes a bug in Angular Aria combo box's autocomplete demo example where the input's placeholder text is failing text contrast at 4.4 and does not meet the a11y required 4.5:1 contrast ratio. This provides a color variable to ::placeholder to meet the ratio at 8.89:1.

  • BEFORE color contrast ratio: Foreground: #747676 | Background: #fafafc | Ratio: 4.38
  • AFTER color contrast ratio: Foreground: #43484b | Background: #fafafc | Ratio: 8.89

Fixes b/477617379

…ntrast

Fixes a bug in Angular Aria's autocomplete demo example where
the input's placeholder text is failing text contrast at 4.4 and does not meet the a11y required 4.5:1 contrast ratio. This
provides a color variable to ::placeholder to meet the ratio
at 8.89:1.

Fixes b/477617379
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants