Skip to content

Commit

Permalink
🎨 Icon のボタンに aria-label を
Browse files Browse the repository at this point in the history
  • Loading branch information
anko9801 committed Jul 15, 2024
1 parent 81091d2 commit c47c76f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/newRequest/NewRequestFileForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function removeFile(index: number) {
:src="file.src" />
<DocumentIcon v-else class="h-32" />
<button
aria-label="ファイルを削除"
class="absolute top-0 right-0 h-6 w-6"
@click="removeFile(index)">
<XCircleIcon />
Expand Down
1 change: 1 addition & 0 deletions src/components/newRequest/NewRequestTargets.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ function handleRemoveTarget(index: number) {
</div>
<button
v-if="targets.length > 1"
aria-label="ターゲットを削除"
class="flex"
@click="handleRemoveTarget(i)">
<TrashIcon class="w-6 text-red-400" />
Expand Down

0 comments on commit c47c76f

Please sign in to comment.