Skip to content

Commit

Permalink
fix: <caption> breaking keyboard table navigation
Browse files Browse the repository at this point in the history
A usable navigation is more important than a caption.
  • Loading branch information
BGruenberg committed Dec 19, 2024
1 parent 3233514 commit 7552ca0
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
<div class="date-time-overview mt-2 table-responsive">
<table class="table table-borderless d-inline-block mt-1" data-id="overviewDates">
<thead>
<caption class="visually-hidden">{{ 'poll.caption' | translate }}</caption>
<tr>
@for (date of appointment.suggestedDates; track date; let i = $index) {
<th scope="row">
<th>
{{ 'date.date' | translate }} {{ i + 1 }}
</th>
}
Expand Down

0 comments on commit 7552ca0

Please sign in to comment.