in English
Zobisika zowoneka
Gwiritsani ntchito zothandizira izi kuti mubise zinthu zowoneka koma kuti zikhale zosavuta kuzipeza kuukadaulo wothandizira.
Bisani chinthucho m'maso ndikuchilola kuti chiwonekere kuukadaulo wothandizira (monga zowerengera zowonera) ndi .visually-hidden
. Gwiritsani .visually-hidden-focusable
ntchito kubisa chinthu mwachisawawa, koma kuchiwonetsa pamene chikuyang'ana (mwachitsanzo ndi wogwiritsa ntchito kiyibodi yekha). .visually-hidden-focusable
itha kugwiritsidwanso ntchito pa chidebe - chifukwa cha :focus-within
, chidebecho chidzawonetsedwa pamene mwana aliyense wa chidebecho alandira chidwi.
<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>
Zonse visually-hidden
komanso visually-hidden-focusable
zitha kugwiritsidwa ntchito ngati zosakaniza.
// Usage as a mixin
.visually-hidden-title {
@include visually-hidden;
}
.skip-navigation {
@include visually-hidden-focusable;
}