Screenreaders

Use screenreader utilities to hide elements on all devices except screen readers.

Hide an element to all devices except screen readers with .sr-only_sth. Combine .sr-only_sth with .sr-only-focusable_sth to show the element again when it’s focused (e.g. by a keyboard-only user). Can also be used as mixins.

<a class="sr-only_sth sr-only-focusable_sth" href="#content">Skip to main content</a>
// Usage as a mixin
.skip-navigation_sth {
  @include sr-only;
  @include sr-only-focusable;
}