Skip to content

Commit

Permalink
fix: unnecessary aria-selected
Browse files Browse the repository at this point in the history
  • Loading branch information
toshusai committed Jun 12, 2024
1 parent 1cfb61b commit 8b1988a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
margin-left: 20px;
}

.charcoal-dropdown-selector-menu-item[aria-selected='true'] {
.charcoal-dropdown-selector-menu-item[data-selected='true'] {
margin-left: 0px;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function DropdownMenuItem(props: DropdownMenuItemProps) {
)}
<span
className="charcoal-dropdown-selector-menu-item"
aria-selected={isSelected}
data-selected={isSelected}
>
{props.children}
</span>
Expand Down

0 comments on commit 8b1988a

Please sign in to comment.