Skip to content

Commit 513a52c

Browse files
committed
Add visually hidden headings for improved accessibility in bingo and event views
1 parent bdfb480 commit 513a52c

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

resources/views/front/bingo/show.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class="my-0 mr-md-auto top-logo font-weight-normal"/></a>
2424
@else
2525
<h1 class="page-title text-center pt-4 text-uppercase">{{ $bingo->title }}</h1>
2626
<hr class="header mx-auto" style="width:300px;">
27+
<h2 class="sr-only">{{ t('Single Bingo Show') }}</h2>
2728
<div class="d-flex align-items-center justify-content-center ">
2829
@include('front.bingo.partials.bingo-loop', ['project' => $bingo->project])
2930
</div>

resources/views/front/event/show.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class="my-0 mr-md-auto top-logo font-weight-normal"/></a>
1919
@section('content')
2020
<h1 class="page-title text-center pt-4 text-uppercase">{{ $event->title }}</h1>
2121
<hr class="header mx-auto" style="width:300px;">
22+
<h2 class="sr-only">{{ t('Single Event Show') }}</h2>
2223
<div class="d-flex align-items-center justify-content-center ">
2324
@include('front.event.partials.event-loop')
2425
</div>

0 commit comments

Comments
 (0)