Holo i ka ʻike nui Holo i ka hoʻokele docs
Check
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-focusableno 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-focusableHiki 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.

Poʻomanaʻo no ka poʻe heluhelu pale

Holo i ka ʻike nui
ʻO kahi pahu me kahi mea hiki ke nānā aku .
html
<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-hiddena visually-hidden-focusablehiki 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;
}