diff options
author | Patrick H. Lauke <redux@splintered.co.uk> | 2020-07-03 14:38:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 14:38:11 +0300 |
commit | 10690dd31778fa5114d9c357867d8c7bea597bc0 (patch) | |
tree | 43b7606c9f7ba302b7a90f844e4cc8a02fbe6789 /js/tests/visual/carousel.html | |
parent | 0a6cf9036c6bc3c5d1c68de971c95b70f5125aca (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 'js/tests/visual/carousel.html')
-rw-r--r-- | js/tests/visual/carousel.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/visual/carousel.html b/js/tests/visual/carousel.html index d66f140531..90d9a03666 100644 --- a/js/tests/visual/carousel.html +++ b/js/tests/visual/carousel.html @@ -36,11 +36,11 @@ </div> <a class="carousel-control-prev" href="#carousel-example-generic" role="button" data-slide="prev"> <span class="carousel-control-prev-icon" aria-hidden="true"></span> - <span class="sr-only">Previous</span> + <span class="visually-hidden">Previous</span> </a> <a class="carousel-control-next" href="#carousel-example-generic" role="button" data-slide="next"> <span class="carousel-control-next-icon" aria-hidden="true"></span> - <span class="sr-only">Next</span> + <span class="visually-hidden">Next</span> </a> </div> </div> |