fix: "confirm" button after zip got TAB focus twice
Massimo Melina committed
Mar 31, 2024 at 11:20 UTC
abec8cc7bc204f2a7e517e1644a92b656f3929a1
1 file changed
+1
frontend/src/dialog.ts
+1
@@ -160,6 +160,7 @@ export function confirmDialog(msg: ReactElement | string, options: ConfirmOption
160
},
161
h('a', {
162
href,
163
+ tabIndex: -1,
164
onClick() { dialog.close(true) },
165
}, h('button', {}, t`Confirm`, timeoutConfirm && missingText)),
166
h('button', {