-
Notifications
You must be signed in to change notification settings - Fork 334
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
Warning text icon clipped in Firefox v73+ when using high contrast mode or overriding colours #1863
Comments
We could consider using an SVG for the icon. |
After #2186 is merged, this should be fixed as and when / if Firefox implements the |
Firefox 89 introduces support for the Looks like https://bugzilla.mozilla.org/show_bug.cgi?id=1591210 is the bug to watch for that property being implemented. |
Fixed in Firefox 113 Beta:
https://www.mozilla.org/en-US/firefox/113.0beta/releasenotes/ Firefox 113 should be released on May 9. |
I'm going to close this as – other than waiting for Firefox 113 to be released – the issue has been resolved and there's nothing for us to do. |
In the warning text icon, we use a 3px border (which is usually visually indistinct from the background) in order to better support users who use High Contrast Mode or override colours:
govuk-frontend/src/govuk/components/warning-text/_index.scss
Lines 29 to 31 in 36edb2f
Firefox 73 introduced a new 'readability backplate' feature:
The new solid 'block' of background colour causes a clipping effect around the warning text icon in Firefox 73+.
The text was updated successfully, but these errors were encountered: