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

Remove Focus Border on Chrome #80

Open
orwells-ghost opened this issue Aug 1, 2019 · 3 comments
Open

Remove Focus Border on Chrome #80

orwells-ghost opened this issue Aug 1, 2019 · 3 comments

Comments

@orwells-ghost
Copy link

I just wanted to give a heads up. In Chrome, after pressing the hamburger, a focus border shows up. See image.
Screen Shot 2019-07-31 at 6 02 38 PM
To fix:
.hamburger:focus { outline: 0; }

@DenisDolzhikov
Copy link

DenisDolzhikov commented Jun 27, 2020

In my case this helped me:

.hamburger:focus {
-webkit-tap-highlight-color: rgba(0,0,0,0);
}

@rrickgauer
Copy link

You can also do:

.hamburger:focus {
  outline: none;
}

@ghost
Copy link

ghost commented Jan 6, 2021

Removing the outline is a bad practice in terms of accessibility.

outlinenone.com

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

3 participants