in English
Biboneka
Koresha abafasha kugirango uhishe ibintu bigaragara ariko ubigumane muburyo bwa tekinoroji ifasha.
Biboneka uhishe ikintu mugihe ukireka kigahura na tekinoroji ifasha (nkabasomyi ba ecran) hamwe .visually-hidden
. Koresha .visually-hidden-focusable
kugirango uhishe muburyo bugaragara ikintu muburyo budasanzwe, ariko kugirango ubigaragaze iyo byibanze (urugero numukoresha wa clavier gusa). .visually-hidden-focusable
Birashobora kandi gukoreshwa kubintu - dukesha :focus-within
, kontineri izerekanwa mugihe ikintu cyose cyabana cyikintu cyakiriye intumbero.
<h2 class="visually-hidden">Title for screen readers</h2>
<a class="visually-hidden-focusable" href="#content">Skip to main content</a>
<div class="visually-hidden-focusable">A container with a <a href="#">focusable element</a>.</div>
Byombi visually-hidden
kandi visually-hidden-focusable
birashobora no gukoreshwa nka mixin.
// Usage as a mixin
.visually-hidden-title {
@include visually-hidden;
}
.skip-navigation {
@include visually-hidden-focusable;
}