Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix test fixtures #740

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:else}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:else}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:catch name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
{#await Promise.resolve(42)}
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<span tabindex="0">
<span class="element" />
<span class="element"></span>
</span>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="foo" />
<div class="foo"></div>

<!-- svelte-ignore css-unused-selector -->
<style>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="foo">
<div class="bar" />
<div class="bar" />
</div>

<!-- svelte-ignore css-unused-selector -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
TEXT
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- comment -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
<!-- svelte-ignore a11y-label-has-associated-control -->
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#if true}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#if true}
A
{:else}
<div />
<div></div>
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#key 42}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/key}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#each [] as e}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#each [] as e}
A
{:else}
<div />
<div></div>
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,43 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#await Promise.resolve(42)}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#await Promise.resolve(42)}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{:catch name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#await Promise.resolve(42)}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#await Promise.resolve(42) then n}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#await Promise.resolve(42) catch n}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:else}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:else}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:catch name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
{#await Promise.resolve(42)}
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:catch name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>
<div>
{#await Promise.resolve(42)}
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{:then name}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/await}
</div>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="foo">
<div class="bar" />
<div class="bar"></div>
</div>

<style lang="postcss">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<span tabindex="0">
<span class="element" />
<span class="element"></span>
</span>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="foo" />
<div class="foo"></div>

<style>
.foo {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="foo">
<div class="bar" />
<div class="bar"></div>
</div>

<style lang="postcss">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="foo">
<div class="bar" />
<div class="bar"></div>
</div>

<style lang="scss">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
TEXT
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<!-- comment -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
<!-- svelte-ignore a11y-label-has-associated-control -->
<!-- svelte-ignore a11y-no-noninteractive-tabindex -->
<div class="dropdown">
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#if true}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#if true}
A
{:else}
<div />
<div></div>
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/if}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#key 42}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/key}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#each [] as e}
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
<div>
<!-- svelte-ignore a11y-label-has-associated-control a11y-no-noninteractive-tabindex -->
{#each [] as e}
A
{:else}
<div />
<div></div>
<label tabindex="0">Click</label>
<ul tabindex="0" />
<ul tabindex="0"></ul>
{/each}
</div>
Loading
Loading