Source

Screenreaders

Siv cov khoom siv screenreader los nkaum cov ntsiab lus ntawm txhua yam khoom siv tshwj tsis yog cov nyeem ntawv tshuaj ntsuam.

Nkaum ib lub ntsiab lus rau txhua yam khoom siv tshwj tsis yog cov ntawv nyeem nrog .sr-only. Ua ke .sr-onlynrog .sr-only-focusablelos qhia lub caij dua thaum nws tau tsom (xws li los ntawm tus neeg siv keyboard nkaus xwb). Kuj tseem siv tau ua cov mixins.

<a class="sr-only sr-only-focusable" href="#content">Skip to main content</a>
// Usage as a mixin
.skip-navigation {
  @include sr-only;
  @include sr-only-focusable;
}