We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There are a number of issues against visually-hidden behaviour:
visually-hidden
visually-shown
We should see if these are resolved by GOV.UK Frontend
For example, we can see various visually-hidden changes in:
govuk-visually-hidden
But we should likely deprecate and remove visually-shown (see #1168) to prevent conflicting styles.
I'd recommend a targetted visually-hidden instead:
@include visually-hidden; // [1] @include mq($from: desktop) { @include visually-shown($display: table-header-group); // [2] }
@include mq($until: desktop) { @include visually-hidden; // [1] }
The text was updated successfully, but these errors were encountered:
colinrotherham
Successfully merging a pull request may close this issue.
There are a number of issues against
visually-hidden
behaviour:visually-hidden
sets a property thatvisually-shown
doesn't reset #1168We should see if these are resolved by GOV.UK Frontend
Visually hidden
For example, we can see various
visually-hidden
changes in:govuk-visually-hidden
Sass alphagov/govuk-frontend#5063Visually shown
But we should likely deprecate and remove
visually-shown
(see #1168) to prevent conflicting styles.I'd recommend a targetted
visually-hidden
instead:Before
After
The text was updated successfully, but these errors were encountered: