refactor doc
parent
a76fd84949
commit
af37fb5510
|
@ -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>
|
||||||
<span id="chk-label">Remember Me</span>
|
<span id="chk-label">Remember Me</span>
|
||||||
<div class="fancy-checkbox" role="checkbox" aria-checked="false" tabindex="0" aria-labelledby="chk-label"
|
<div class="fancy-checkbox" role="checkbox" aria-checked="false" tabindex="0" aria-labelledby="chk-label"
|
||||||
|
|
Loading…
Reference in New Issue