Skip to content

Commit

Permalink
chore: remove aria-selected it is not a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
jmfrancois committed Oct 13, 2023
1 parent b8b3676 commit f32b33a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type DropdownButtonType = ClickableProps & {
export const DropdownButton = forwardRef(
({ children, icon, checked, ...props }: DropdownButtonType, ref: Ref<HTMLButtonElement>) => {
return (
<Clickable {...props} ref={ref} aria-selected={checked}>
<Clickable {...props} ref={ref} role="menuitem">
<div className={styles.dropdownEntry}>
{icon && (
<span className={styles.buttonIcon}>
Expand Down

0 comments on commit f32b33a

Please sign in to comment.