Skip to content

Commit f6f55ba

Browse files
committed
🎨 Add accessibility attributes (#1611)
1 parent da519fa commit f6f55ba

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/lib/components/TaskTables/TaskTable.svelte

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,11 @@
127127
<!-- TODO: コンテスト種別のボタンの並び順を決める -->
128128
<!-- See: -->
129129
<!-- https://flowbite-svelte.com/docs/components/button-group -->
130-
<ButtonGroup class="m-4 contents-center">
131-
<Button on:click={() => filterTaskResultsByContestType(taskResults, fromABC212_Onwards)}>
130+
<ButtonGroup class="m-4 contents-center" aria-label="Contest filter options">
131+
<Button
132+
on:click={() => filterTaskResultsByContestType(taskResults, fromABC212_Onwards)}
133+
aria-label="Filter contests from ABC212 onwards"
134+
>
132135
ABC212〜
133136
</Button>
134137
</ButtonGroup>

0 commit comments

Comments
 (0)