Skip to content

Commit eaa894b

Browse files
committed
fix: update button role for improved accessibility
1 parent 81d23de commit eaa894b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/_partials/nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414
</a>
1515
<button class="rounded-lg md:hidden focus:outline-none focus:shadow-outline" @click="open = !open"
16-
role="menuitem" aria-expanded="false" aria-label="Main" aria-controls="menuItems">
16+
role="button" aria-expanded="false" aria-label="Main">
1717
<svg fill="currentColor" viewBox="0 0 20 20" class="w-6 h-6">
1818
<path x-show="!open" fill-rule="evenodd"
1919
d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM9 15a1 1 0 011-1h6a1 1 0 110 2h-6a1 1 0 01-1-1z"

0 commit comments

Comments
 (0)