Source

Awọn oluka iboju

Lo awọn ohun elo oluka iboju lati tọju awọn eroja lori gbogbo awọn ẹrọ ayafi awọn oluka iboju.

Tọju ohun elo kan si gbogbo awọn ẹrọ ayafi awọn oluka iboju pẹlu .sr-only. Darapọ .sr-onlypẹlu .sr-only-focusablelati fi nkan han lẹẹkansi nigbati o ba dojukọ (fun apẹẹrẹ nipasẹ olumulo keyboard-nikan). Tun le ṣee lo bi 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;
}