aboutsummaryrefslogtreecommitdiff
path: root/site/docs/4.3/utilities/screen-readers.md
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-11-26 19:12:00 +0200
committerGitHub <[email protected]>2019-11-26 19:12:00 +0200
commit593574d510050dc2d5eeafe70a58ae182f020480 (patch)
tree043a163d6c712121ca0fe1f34c419ab592b03185 /site/docs/4.3/utilities/screen-readers.md
parentd61bba584f89c7df0d780a9ff214a58f7b58cb94 (diff)
downloadbootstrap-4.4.0.tar.xz
bootstrap-4.4.0.zip
Release v4.4.0 (#29735)v4.4.0
Diffstat (limited to 'site/docs/4.3/utilities/screen-readers.md')
-rw-r--r--site/docs/4.3/utilities/screen-readers.md25
1 files changed, 0 insertions, 25 deletions
diff --git a/site/docs/4.3/utilities/screen-readers.md b/site/docs/4.3/utilities/screen-readers.md
deleted file mode 100644
index c38ba3e65..000000000
--- a/site/docs/4.3/utilities/screen-readers.md
+++ /dev/null
@@ -1,25 +0,0 @@
----
-layout: docs
-title: Screen readers
-description: Use screen reader utilities to hide elements on all devices except screen readers.
-group: utilities
----
-
-Hide an element to all devices **except screen readers** with `.sr-only`. Combine `.sr-only` with `.sr-only-focusable` to show the element again when it's focused (e.g. by a keyboard-only user). Can also be used as mixins.
-
-{%- comment -%}
-Necessary for following [accessibility best practices]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/#accessibility).
-{%- endcomment -%}
-
-{% capture example %}
-<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
-{% endcapture %}
-{% include example.html content=example %}
-
-{% highlight scss %}
-// Usage as a mixin
-.skip-navigation {
- @include sr-only;
- @include sr-only-focusable;
-}
-{% endhighlight %}