Autofill items are displayed white text on white background

Open Beginner friendly
#3,103 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
62/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
css
Domain
frontend

Research direction

Search the frontend stylesheets for the shown input:-webkit-autofill selector and inspect how its text color is applied. Reproduce an autofilled input in a supported browser, adjust the rule so the text remains readable against the background, and verify the affected form no longer displays white text on white.

Written by the indexing model from the issue text.

Description

This is the culprit

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: background-color 8553600s;
  -webkit-text-fill-color: #fff !important;
}
Dominant language
Rust
Stars
2.8k
Forks
114
Avg merge
21h 12m
Merged PRs (30d)
45

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DefGuard/defguard

All issues in DefGuard/defguard

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.