mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Add a11y labels for buttons
This commit is contained in:
parent
c29b1084b3
commit
434a9cfb42
4 changed files with 5 additions and 0 deletions
|
|
@ -35,6 +35,7 @@
|
|||
'border-2 border-white focus:outline-none',
|
||||
query.includes(button.query) ? 'border-opacity-50 bg-darkest' : 'border-opacity-0 neumorphic-shadow-inner'
|
||||
]"
|
||||
:aria-label="`Filter list by ${button.label}`"
|
||||
@click="toggleFilter(button.query); queryResults(query)"
|
||||
>{{ button.label }}</button>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue