Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/late-bugs-battle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@primer/react": patch
---

Add aria-selected value to ActionList.Item.

<!-- Changed components: ActionList -->
1 change: 1 addition & 0 deletions src/ActionList/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export const Item = React.forwardRef<HTMLLIElement, ActionListItemProps>(
data-variant={variant === 'danger' ? variant : undefined}
{...containerProps}
{...props}
aria-selected={selected}
Comment thread
radglob marked this conversation as resolved.
Outdated
>
<ItemWrapper {...wrapperProps}>
<Selection selected={selected} />
Expand Down