Skip to content

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

Merged
ok7sai merged 3 commits intoangular:mainfrom
essjay05:aria-autcomplete-placeholder-color-contrast-fix
Apr 21, 2026
Merged

fix(aria/combobox): increases autocomplete demo's placeholder text c…#33084
ok7sai merged 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
@ok7sai ok7sai added action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release labels Apr 21, 2026
@ok7sai ok7sai merged commit 91a4932 into angular:main Apr 21, 2026
31 checks passed
@ok7sai
Copy link
Copy Markdown
Member

ok7sai commented Apr 21, 2026

This PR was merged into the repository. The changes were merged into the following branches:

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

Labels

action: merge The PR is ready for merge by the caretaker area: aria/combobox target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants