Why doesn't use `.sr-only` in spinner?
See original GitHub issuehttps://twbs-bootstrap4.netlify.com/docs/4.1/components/spinners/#about
For accessibility purposes, …, using a text hiding technique to prevent it from rendering on screen.
Text hide technique is not a modern approach (#24890). IMO we should use .sr-only
to hide Loading...
text:
<div class="spinner-border" role="status"><span class="sr-only">Loading...</span></div>
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
What is sr-only in Bootstrap 3? - Stack Overflow
sr-only means "this content is visible only to screen readers". If you are using the site with working eyes, you don't apply. Try...
Read more >Screen Reader utilities in bootstrap with Examples
.sr-only: This class hides an element in all devices except for the Screen Readers. ·.sr-only-focusable: If this class is used on an hidden ......
Read more >Bootstrap spinners not working : r/csshelp - Reddit
Hi all, I'm learning bootstrap, and have copied the most basic code for a spinner from their documentation : inside the tag I...
Read more >Why and How the Bootstrap sr-only Class is Used - W3docs
According to the Bootstrap documentation, the sr-only class is used to hide information that is intended only for screen readers from the layout...
Read more >Accessibility | Reference - BootstrapVue
Content which should be visually hidden, but remain accessible to assistive technologies such as screen readers, can be styled using the .sr-only class....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Leave it to me 🙂
Can someone make a PR?