Skip to content

Commit 0439a83

Browse files
committed
Use alt text for aria-label
1 parent ff5727a commit 0439a83

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/views/livewire/site-banner/site-banner-component.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class="site-banner collapsible-container @if ($isExpanded === true) is-expanded
1616
wire:click="toggleBanner()"
1717
aria-expanded="{{ $isExpanded }}"
1818
aria-controls="site-banner"
19-
aria-label="Help about username"
19+
aria-label="{{ trans($altText) }}"
2020
class="button icon">
2121
<img src="{{ asset("images/icons/$iconFilename.svg") }}" alt="{{ trans($altText) }}">
2222
</button>

0 commit comments

Comments
 (0)