Screen reader text
Words that screen readers say but eyes don't see: a name for an icon-only button, "(opens in a new tab)", "Loading…". And text that stays out of sight until it gets keyboard focus.
Visually hidden
.visually-hidden hides text from the screen but not from screen readers. (display: none or hidden would hide it from everyone.)
<a class="icon-link" href="#">Annual report <i class="mi mi-external-link" aria-hidden="true"></i><span class="visually-hidden">(opens in a new tab)</span></a>
<button class="btn btn-icon" type="button"><i class="mi mi-trash" aria-hidden="true"></i><span class="visually-hidden">Delete the file</span></button>Until focused
.visually-hidden-focusable is hidden too, but shows up in place while it (or something inside it) has keyboard focus. Click here, then press Tab:
Start here.
Jump to the commentsThe link above appears only while it has focus. For a "Skip to content" link at the top of a page, the ready-made skip link is better.
<p class="m-0" tabindex="-1">Start here.</p>
<a class="visually-hidden-focusable btn btn-sm btn-yellow" href="#">Jump to the comments</a>
<p class="mb-0">The link above appears only while it has focus. For a "Skip to content" link at the top of a page, the ready-made <a href="skip-link">skip link</a> is better.</p>