Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing focus outlines #25

Open
oliverjam opened this issue Oct 8, 2021 · 0 comments
Open

Missing focus outlines #25

oliverjam opened this issue Oct 8, 2021 · 0 comments

Comments

@oliverjam
Copy link

input {
outline: none;

If you disable focus outlines for interactive elements it's important to ensure you replace them with something accessible. Unfortunately this rule is broken:

input:hover,
input:focus {
outline: #f78812;
}

since the outline shorthand property needs a width and style (the same as border). So no outline shows up when you focus this input.

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

No branches or pull requests

1 participant