Skip to content

Commit 52b83f4

Browse files
graphierosalexdln
andauthored
fix: use proper tabindex value
Co-authored-by: Alex Savelyev <91429106+alexdln@users.noreply.github.com>
1 parent 447e003 commit 52b83f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/pages/compare.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ useSeoMeta({
293293
role="tab"
294294
:aria-selected="comparisonView === 'table' ? 'true' : 'false'"
295295
aria-controls="comparison-panel-table"
296-
:tabindex="comparisonView === 'table' ? 0 : -1"
296+
:tabindex="comparisonView === 'table' ? -1 : 0"
297297
class="flex items-center justify-center gap-x-2 rounded px-3 py-2 font-mono text-sm border border-solid transition-colors duration-150 focus-visible:outline-accent/70"
298298
:class="
299299
comparisonView === 'table'

0 commit comments

Comments
 (0)