summaryrefslogtreecommitdiff
path: root/packages/fontawesome-free-6.5.2-web/scss/_screen-reader.scss
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fontawesome-free-6.5.2-web/scss/_screen-reader.scss')
-rw-r--r--packages/fontawesome-free-6.5.2-web/scss/_screen-reader.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/fontawesome-free-6.5.2-web/scss/_screen-reader.scss b/packages/fontawesome-free-6.5.2-web/scss/_screen-reader.scss
new file mode 100644
index 0000000..2beb887
--- /dev/null
+++ b/packages/fontawesome-free-6.5.2-web/scss/_screen-reader.scss
@@ -0,0 +1,14 @@
+// screen-reader utilities
+// -------------------------
+
+// only display content to screen readers
+.sr-only,
+.#{$fa-css-prefix}-sr-only {
+ @include fa-sr-only;
+}
+
+// use in conjunction with .sr-only to only display content when it's focused
+.sr-only-focusable,
+.#{$fa-css-prefix}-sr-only-focusable {
+ @include fa-sr-only-focusable;
+}