Skip to content

Commit

Permalink
Ignore a11y check for shoelace components
Browse files Browse the repository at this point in the history
  • Loading branch information
ykrods committed Sep 7, 2024
1 parent 5a52b43 commit 555a4a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/Dropdown.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
>Item 2</sl-menu-item>
<sl-divider></sl-divider>
<!-- svelte-ignore a11y_click_events_have_key_events -->
<!-- svelte-ignore a11y_no_static_element_interactions -->
<sl-menu-item
onclick={ () => { selected = ''; } }
>Clear</sl-menu-item>
Expand Down
1 change: 1 addition & 0 deletions src/shoelace/SLButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@
} & Props = $props();
</script>
<!-- svelte-ignore a11y_click_events_have_key_events -->
<!-- svelte-ignore a11y_no_static_element_interactions -->
<sl-button {...props}>{@render children()}</sl-button>

0 comments on commit 555a4a6

Please sign in to comment.