mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 14:44:15 +00:00
feat: add aria-label to buttons and links
This commit is contained in:
parent
029c7eb84a
commit
a37759622a
33 changed files with 113 additions and 69 deletions
|
|
@ -36,7 +36,12 @@ export default function ReasonSelector({ reason, setReason }: Props) {
|
|||
return (
|
||||
<div className="relative w-full col-span-2">
|
||||
{/* Toggle button to open the dropdown */}
|
||||
<button type="button" {...getToggleButtonProps()} className="pill input w-full gap-1 !justify-between text-nowrap">
|
||||
<button
|
||||
type="button"
|
||||
{...getToggleButtonProps()}
|
||||
aria-label="Report reason dropdown"
|
||||
className="pill input w-full gap-1 !justify-between text-nowrap"
|
||||
>
|
||||
{selectedItem?.label || <span className="text-black/40">Select a reason for the report...</span>}
|
||||
<Icon icon="tabler:chevron-down" className="ml-2 size-5" />
|
||||
</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue