Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
18 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
test/validator/samples/a11y-label-has-associated-control-2/input.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script> | ||
import LabelComponent from './label.svelte' | ||
</script> | ||
|
||
<label>A</label> | ||
<label for="id">B</label> | ||
|
||
<label>C <input type="text" /></label> | ||
<label>D <button>D</button></label> | ||
<label>E <span></span></label> | ||
<label>F {#if true}<input type="text" />{/if}</label> | ||
<LabelComponent>G <input type="text" /></LabelComponent> |
1 change: 1 addition & 0 deletions
1
test/validator/samples/a11y-label-has-associated-control-2/warnings.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
3 changes: 0 additions & 3 deletions
3
test/validator/samples/a11y-label-has-associated-control/label.svelte
This file was deleted.
Oops, something went wrong.