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 outdated focus style fix #4780

merged 2 commits into from Jun 23, 2021


Copy link

Resolves #4769.

This PR removes some styles we originally inherited from SUIT CSS Base that corrected a focus style bug in IE and Firefox where buttons with transparent backgrounds lost their focus styles. We no longer support IE at all, and this bug has since been corrected in Firefox, so removing this fix. Removing actually improves accessibility in Firefox since they have switched to a much more pronounced default focus style, whereas these old styles used a subtle dotted focus ring that is hard to see in many designs.

This has the added benefit of not automatically adding focus styles to buttons on click in Chromium-based browsers.

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

Successfully merging this pull request may close these issues.

Outdated button:focus makes buttons less accessible
1 participant