Skip to content

Commit 6ceee81

Browse files
authored
fix(comparison): label icon-only form buttons (#244)
1 parent 8a2c395 commit 6ceee81

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/features/comparison/components/compare-form.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,12 +256,14 @@ export function CompareForm({
256256
variant="secondary"
257257
disabled={isEmpty || Boolean(loading)}
258258
title={t("form.swap")}
259+
aria-label={t("form.swap")}
259260
>
260261
<ArrowLeftRight className="h-4 w-4" />
261262
</Button>
262263
<Button
263264
onClick={reset}
264265
title={t("form.reset")}
266+
aria-label={t("form.reset")}
265267
disabled={isEmpty || Boolean(loading)}
266268
type="button"
267269
variant="secondary"

0 commit comments

Comments
 (0)