mirror of https://github.com/sveltejs/svelte
pull/12119/head
parent
7295facb6c
commit
bff608bb03
@ -0,0 +1,5 @@
|
||||
---
|
||||
"svelte": patch
|
||||
---
|
||||
|
||||
fix: prevent `a11y_label_has_associated_control` false positive for component in `<label>`
|
||||
@ -1,3 +1,11 @@
|
||||
<script>
|
||||
import Component from './component.svelte'
|
||||
</script>
|
||||
|
||||
<label>
|
||||
<slot />
|
||||
</label>
|
||||
|
||||
<label>
|
||||
<Component />
|
||||
</label>
|
||||
|
||||
Loading…
Reference in new issue