refactor doc

pull/2835/head
Tuğçe Küçükoğlu 2022-08-04 17:15:13 +03:00
parent a76fd84949
commit af37fb5510
1 changed files with 1 additions and 1 deletions

View File

@ -149,7 +149,7 @@
</code></pre> </code></pre>
<p>One alternative is using ARIA roles for readers and use javascript for keyboard support. Notice the usage of <i>aria-labelledby</i> as a replacement of the <i>label</i> tag with htmlFor.</p> <p>One alternative is using ARIA roles for readers and use javascript for keyboard support. Notice the usage of <i>aria-labelledby</i> as a replacement of the <i>label</i> tag with for.</p>
<pre v-code.script><code> <pre v-code.script><code>
&lt;span id="chk-label"&gt;Remember Me&lt;/span&gt; &lt;span id="chk-label"&gt;Remember Me&lt;/span&gt;
&lt;div class="fancy-checkbox" role="checkbox" aria-checked="false" tabindex="0" aria-labelledby="chk-label" &lt;div class="fancy-checkbox" role="checkbox" aria-checked="false" tabindex="0" aria-labelledby="chk-label"