svelte-tabs icon indicating copy to clipboard operation
svelte-tabs copied to clipboard

A11y issues

Open hslee2008 opened this issue 1 year ago • 0 comments

node_modules/svelte-tabs/src/Tab.svelte:46:0 A11y: visible, non-interactive elements with an on:click event must be accompanied by an on:keydown, on:keyup, or on:keypress event.
44: </style>
45:
46: <li
    ^
47:   bind:this={tabEl}
48:   role="tab"

node_modules/svelte-tabs/src/Tabs.svelte:98:0 A11y: <div> with keydown handler must have an ARIA role
 96: </script>
 97:
 98: <div class="svelte-tabs" on:keydown={handleKeyDown}>
     ^
 99:   <slot></slot>
100: </div>

hslee2008 avatar Oct 14 '23 14:10 hslee2008