Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick H. Lauke <redux@splintered.co.uk>2020-07-03 14:38:11 +0300
committerGitHub <noreply@github.com>2020-07-03 14:38:11 +0300
commit10690dd31778fa5114d9c357867d8c7bea597bc0 (patch)
tree43b7606c9f7ba302b7a90f844e4cc8a02fbe6789 /scss/helpers
parent0a6cf9036c6bc3c5d1c68de971c95b70f5125aca (diff)
Rename `sr-only`/`sr-only-focusable` (#31139)
* Rename `sr-only`/`sr-only-focusable` To be more representative of the fact that these are not necessarily "screen reader" specific, but actually apply to assistive technologies in general (and also things like Alexa/Siri/etc). Goes hand-in-hand with #31133 Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Diffstat (limited to 'scss/helpers')
-rw-r--r--scss/helpers/_screenreaders.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/helpers/_screenreaders.scss b/scss/helpers/_screenreaders.scss
index c8034d10ee..8bade66339 100644
--- a/scss/helpers/_screenreaders.scss
+++ b/scss/helpers/_screenreaders.scss
@@ -2,7 +2,7 @@
// Screenreaders
//
-.sr-only,
-.sr-only-focusable:not(:focus) {
- @include sr-only();
+.visually-hidden,
+.visually-hidden-focusable:not(:focus) {
+ @include visually-hidden();
}