Fixes typo

This commit is contained in:
freearhey 2023-10-10 11:52:47 +03:00
parent ab7f02d1e9
commit a699273978
7 changed files with 10 additions and 10 deletions

View file

@ -14,7 +14,7 @@
{#if selected}
<button
class="w-12 h-12 rounded-full text-primary-500 hover:text-primary-600 dark:hover:text-primary-400 transition-colors duration-200 flex items-center justify-center"
area-label="Unselect"
aria-label="Unselect"
on:click={() => toggle(false)}
>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-6 h-6">
@ -28,7 +28,7 @@
{:else if indeterminate}
<button
class="w-12 h-12 rounded-full text-primary-500 hover:text-primary-600 dark:hover:text-primary-400 transition-colors duration-200 flex items-center justify-center"
area-label="Unselect"
aria-label="Unselect"
on:click={() => toggle(false)}
>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" class="w-6 h-6">
@ -42,7 +42,7 @@
{:else}
<button
class="w-12 h-12 rounded-full text-gray-200 hover:text-gray-400 dark:text-gray-700 dark:hover:text-gray-600 transition-colors duration-200 flex items-center justify-center"
area-label="Select"
aria-label="Select"
on:click={() => toggle(true)}
>
<svg

View file

@ -2,7 +2,7 @@
import SquareButton from '~/components/SquareButton.svelte'
</script>
<SquareButton on:click area-label="Close">
<SquareButton on:click aria-label="Close">
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path
fill-rule="evenodd"

View file

@ -17,7 +17,7 @@
type="button"
on:click={copy}
class="relative flex items-center p-1 text-xs text-gray-500 dark:text-gray-100"
area-label="Copy to Clipboard"
aria-label="Copy to Clipboard"
>
<svg
class="w-5 h-5"

View file

@ -13,7 +13,7 @@
downloadMode.set(true)
dispatch('click')
}}
area-label="Create Playlist"
aria-label="Create Playlist"
>
<span class="inline">
<svg

View file

@ -23,7 +23,7 @@
}
</script>
<ActionButton on:click={onClick} disabled={!$selected.length} area-label="Download Playlist">
<ActionButton on:click={onClick} disabled={!$selected.length} aria-label="Download Playlist">
<span class="inline">
<svg
fill="currentColor"

View file

@ -12,7 +12,7 @@
expanded = !expanded
dispatch('click', { state: expanded })
}}
area-label={expanded ? 'Collapse' : 'Expand'}
aria-label={expanded ? 'Collapse' : 'Expand'}
>
<svg
class="w-4 h-4"

View file

@ -14,7 +14,7 @@
</script>
{#if isAllSelected}
<OutlineButton on:click={deselectAll} area-label="Deselect All ({$selected.length})">
<OutlineButton on:click={deselectAll} aria-label="Deselect All ({$selected.length})">
<span class="text-gray-500 dark:text-white">
<svg
xmlns="http://www.w3.org/2000/svg"
@ -32,7 +32,7 @@
<span class="hidden sm:inline">Deselect All ({$selected.length})</span>
</OutlineButton>
{:else}
<OutlineButton on:click={selectAll} area-label="Select All ({$filteredChannels.length})">
<OutlineButton on:click={selectAll} aria-label="Select All ({$filteredChannels.length})">
<span class="text-gray-500 dark:text-white">
<svg
xmlns="http://www.w3.org/2000/svg"