Skip to content

Commit b0fa792

Browse files
committed
fix(a11y): wrap SidebarItem with <li> in SidebarGroup
1 parent fcfc7e2 commit b0fa792

File tree

1 file changed

+3
-1
lines changed
  • packages/ui-components/src/Containers/Sidebar/SidebarGroup

1 file changed

+3
-1
lines changed

packages/ui-components/src/Containers/Sidebar/SidebarGroup/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ const SidebarGroup: FC<SidebarGroupProps> = ({
2525
<label className={styles.groupName}>{groupName}</label>
2626
<ul className={styles.itemList}>
2727
{items.map(({ label, link }) => (
28-
<SidebarItem key={link} label={label} link={link} {...props} />
28+
<li key={link}>
29+
<SidebarItem label={label} link={link} {...props} />
30+
</li>
2931
))}
3032
</ul>
3133
</section>

0 commit comments

Comments
 (0)