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 Firefox focus reset #81

Merged
merged 1 commit into from
Aug 9, 2024
Merged

Conversation

atjn
Copy link
Contributor

@atjn atjn commented Aug 9, 2024

When this declaration was introduced more than 10 years ago, it was for a completely different browser than what we have now. Firefox's default implementation is now much better than this reset, as #55 also mentions. Since that issue was opened, they have also continued to improve the implementation, see fx https://bugzilla.mozilla.org/show_bug.cgi?id=1756002

I can't say for sure that there are no issues with Firefox's focus rings, but I can say for sure that these declarations are actively harmful and don't solve those theoretical issues anyway, so I definitely think they should be removed.

Closes #55

@sindresorhus
Copy link
Owner

Thanks for all the pull requests 🙏

@sindresorhus sindresorhus merged commit b3b9630 into sindresorhus:main Aug 9, 2024
2 checks passed
@atjn atjn deleted the moz-focus branch August 9, 2024 21:45
@atjn
Copy link
Contributor Author

atjn commented Aug 9, 2024

I am glad I can help 😊

@jssteinberg
Copy link

So good @atjn! It's actually turning in to a "modern" normalize (not to take anything away from @sindresorhus obviously)

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

Successfully merging this pull request may close these issues.

Outdated :-moz-focusring makes form elements less accessible
3 participants