a11y: remove invalid roles

This commit is contained in:
Xyphyn committed 2023-07-29 19:53:58 -07:00
1 parent 981c18e65f
commit a36b9c7c15
4 files changed
+2 -8

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
<div class="loading" role="progressbar">
<div class="loading">
<div class="dot dot1" />
<div class="dot dot2" />
<div class="dot dot3" />
+1 -5
View File
@@ -2,11 +2,7 @@
export let width: number = 18
</script>
<div
class="spinner"
style="width: {width}px; height: {width}px;"
role="progressbar"
>
<div class="spinner" style="width: {width}px; height: {width}px;">
<div class="bar1" />
<div class="bar2" />
<div class="bar3" />
-1
View File
@@ -60,7 +60,6 @@
: 'relative'} cursor-auto {clazz} {itemsClass}"
bind:this={element}
tabindex="-1"
role="menu"
>
<slot name="button" {toggleOpen} />
{#if open}
-1
View File
@@ -28,7 +28,6 @@
</header>
<div
class="flex flex-col sm:flex-row gap-4 max-w-full w-full justify-between flex-wrap"
role="radiogroup"
>
<MultiSelect
options={['Subscribed', 'Local', 'All']}