Skip to content

Commit

Permalink
Improve keyboard accessibility of timeline
Browse files Browse the repository at this point in the history
  • Loading branch information
tw4l committed Mar 29, 2024
1 parent f40e7ef commit c30f09a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pywb/vueui/src/components/Timeline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
@keyup.enter="changePeriod(histoPeriod, $event)"
@mouseover="setTooltipPeriod(histoPeriod, $event)"
@mouseout="setTooltipPeriod(null, $event)"
tabindex="0"
:tabindex="histoPeriod.snapshotCount ? 0 : -1"
>
</div>
</div>
Expand All @@ -49,7 +49,6 @@
@keyup.enter="changePeriod(histoPeriod, $event)"
@mouseover="setTooltipPeriod(subPeriod, $event)"
@mouseout="setTooltipPeriod(null, $event)"
tabindex="0"
>
<div class="label">
{{subPeriod.getReadableId()}}
Expand Down

0 comments on commit c30f09a

Please sign in to comment.