Skip to content

Commit e1012ce

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

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
@@ -312,7 +312,7 @@ useSeoMeta({
312312
role="tab"
313313
:aria-selected="comparisonView === 'charts' ? 'true' : 'false'"
314314
aria-controls="comparison-panel-charts"
315-
:tabindex="comparisonView === 'charts' ? 0 : -1"
315+
:tabindex="comparisonView === 'charts' ? -1 : 0"
316316
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"
317317
:class="
318318
comparisonView === 'charts'

0 commit comments

Comments
 (0)