Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #27727
Closed
Open
Issue created Nov 26, 2018 by Administrator@rootContributor

Why doesn't use `.sr-only` in spinner?

Created by: ysds

https://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 (closed)). IMO we should use .sr-only to hide Loading... text:

<div class="spinner-border" role="status"><span class="sr-only">Loading...</span></div>
Assignee
Assign to
Time tracking