diff --git a/gadjo/static/css/_utils.scss b/gadjo/static/css/_utils.scss index 4372c58..984fc80 100644 --- a/gadjo/static/css/_utils.scss +++ b/gadjo/static/css/_utils.scss @@ -21,3 +21,20 @@ @return #ffffff; } } + +// Only display content to screen readers +@mixin sr-only { + position: absolute !important; + width: 1px !important; + height: 1px !important; + padding: 0 !important; + margin: -1px !important; + overflow: hidden !important; + clip: rect(0, 0, 0, 0) !important; + white-space: nowrap !important; + border: 0 !important; +} + +.sr-only { + @include sr-only(); +}