aboutsummaryrefslogtreecommitdiff
path: root/js/tests/visual/modal.html
diff options
context:
space:
mode:
authorPatrick H. Lauke <[email protected]>2020-07-03 12:38:11 +0100
committerGitHub <[email protected]>2020-07-03 14:38:11 +0300
commit10690dd31778fa5114d9c357867d8c7bea597bc0 (patch)
tree43b7606c9f7ba302b7a90f844e4cc8a02fbe6789 /js/tests/visual/modal.html
parent0a6cf9036c6bc3c5d1c68de971c95b70f5125aca (diff)
downloadbootstrap-10690dd31778fa5114d9c357867d8c7bea597bc0.tar.xz
bootstrap-10690dd31778fa5114d9c357867d8c7bea597bc0.zip
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 <[email protected]>
Diffstat (limited to 'js/tests/visual/modal.html')
-rw-r--r--js/tests/visual/modal.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/visual/modal.html b/js/tests/visual/modal.html
index fa043af00..b72e8c4ef 100644
--- a/js/tests/visual/modal.html
+++ b/js/tests/visual/modal.html
@@ -19,7 +19,7 @@
<a class="navbar-brand" href="#">This shouldn't jump!</a>
<ul class="navbar-nav">
<li class="nav-item active">
- <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
+ <a class="nav-link" href="#">Home <span class="visually-hidden">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Link</a>