Skip to content

Commit

Permalink
Add aria roles to dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
louisescher committed Dec 15, 2024
1 parent 91bd421 commit 865cf6a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ const {
data-value={value}
class:list={[disabled && "disabled", icon && "has-icon", color, href && "has-href"]}
role="option"
aria-selected="false"
>
{icon && (
<Icon width={24} height={24} name={icon} />
Expand Down

0 comments on commit 865cf6a

Please sign in to comment.