1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-15 00:03:28 +01:00

Improve keyboard accessibility of Vue timeline (#889)

Co-authored by Lee Davey <Lee.Davey@bl.uk>
This commit is contained in:
Tessa Walsh 2024-04-03 17:02:55 -04:00 committed by GitHub
parent b4955cca66
commit d1e1636ae3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -39,7 +39,7 @@
@keyup.enter="changePeriod(histoPeriod, $event)"
@mouseover="setTooltipPeriod(histoPeriod, $event)"
@mouseout="setTooltipPeriod(null, $event)"
tabindex="0"
:tabindex="histoPeriod.snapshotCount > 0 ? 0 : -1"
>
</div>
</div>
@ -49,7 +49,6 @@
@keyup.enter="changePeriod(histoPeriod, $event)"
@mouseover="setTooltipPeriod(subPeriod, $event)"
@mouseout="setTooltipPeriod(null, $event)"
tabindex="0"
>
<div class="label">
{{subPeriod.getReadableId()}}