in English
Huna maka
E hoʻohana i kēia mau mea kōkua no ka hūnā ʻike ʻana i nā mea akā e mālama iā lākou i hiki ke loaʻa i nā ʻenehana kōkua.
Hūnā ʻike maka i kahi mea me ka ʻae ʻana e ʻike ʻia i nā ʻenehana kōkua (e like me nā mea heluhelu pale) me .visually-hidden
. E hoʻohana .visually-hidden-focusable
no ka hūnā ʻike maka ʻana i kahi mea ma ke ʻano paʻamau, akā e hōʻike iā ia i ka wā e kālele ana (e laʻa me ka mea hoʻohana keyboard-wale nō). .visually-hidden-focusable
Hiki ke hoʻopili ʻia i kahi ipu–e hoʻomaikaʻi iā :focus-within
, e hōʻike ʻia ka ipu ke loaʻa ka manaʻo o kekahi mea keiki o ka ipu.
<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>
ʻElua visually-hidden
a visually-hidden-focusable
hiki ke hoʻohana ʻia e like me nā mixins.
// Usage as a mixin
.visually-hidden-title {
@include visually-hidden;
}
.skip-navigation {
@include visually-hidden-focusable;
}