-
Notifications
You must be signed in to change notification settings - Fork 20
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
Move visually hidden space inside element #408
Move visually hidden space inside element #408
Conversation
✅ Deploy Preview for govuk-components ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I think we can merge this straight away, as it’s what the nunjucks component already does?
Do we consider this a breaking change? I guess it might break some downstream tests, depending on how they were written?
The final decision on how to properly handle the space between the visible and hidden text hasn't been made yet but the general consensus upstream is that it's better inside the visually hidden span than before it. This might be revisited again when a decision has been made and the solution presented in #403 can be used instead.
1e6ebca
to
c093a87
Compare
Yeah it's definitely a breaking change but the next release will be a big one anyway so the timing is good. |
I added a note to the release notes issue #390 |
The final decision on how to properly handle the space between the visible and hidden text hasn't been made yet but the general consensus upstream is that it's better inside the visually hidden span than before it.
This might be revisited again when a decision has been made and the solution presented in #403 can be used instead.