The visibility of individual elements can be adjusted for each screen sizes.

Hiding

Hidden

Using the hidden class, the element is hidden from the users and the screen readers. There are also size-specific equivalents of this class to only hide elements at specific sizes:

hidden
hidden-xxs
hidden-xs
hidden-s
hidden-m
hidden-l
hidden-xl
hidden-xxl

Visually hidden

Using the visuallyhidden class, the element is hidden from the users only, but still be visible to screen readers. There are also size-specific equivalents of this class to only hide the elements at specific sizes:

visuallyhidden
visuallyhidden-xxs
visuallyhidden-xs
visuallyhidden-s
visuallyhidden-m
visuallyhidden-l
visuallyhidden-xl
visuallyhidden-xxl

Hidden from screen readers

If you add the role="presentation" attribute on an element, it will be ignored by screen readers but still shown to normal users.

Visible

Elements that have been hidden by default can be made visible at specific sizes using the following classes:

visible-xxs
visible-xs
visible-s
visible-m
visible-l
visible-xl
visible-xxl

The same goes for visuallyhidden elements:

visible-xxs
visible-xs
visible-s
visible-m
visible-l
visible-xl
visible-xxl