Skip to content

Accessibility Breakpoints Modifiers

The .o-sr-only and .o-not-sr-only utility classes can be used with breakpoints modifiers.

A typical use case is to hide a text on small screens and show it on larger screens.

Example combined usage
<span class="o-not-sr-only o-sm-sr-only">Settings</span>

XXS and below

link XXS and below
SR Only
o-xxs-sr-only
Not SR Only
o-xxs-not-sr-only

XS and below

link XS and below
SR Only
o-xs-sr-only
Not SR Only
o-xs-not-sr-only

SM and below

link SM and below
SR Only
o-sm-sr-only
Not SR Only
o-sm-not-sr-only

MD and below

link MD and below
SR Only
o-md-sr-only
Not SR Only
o-md-not-sr-only

LG and below

link LG and below
SR Only
o-lg-sr-only
Not SR Only
o-lg-not-sr-only

XL and below

link XL and below
SR Only
o-xl-sr-only
Not SR Only
o-xl-not-sr-only

XXL and below

link XXL and below
SR Only
o-xxl-sr-only
Not SR Only
o-xxl-not-sr-only