mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
fix(ui): add role=menuitem to sidebar nav items for e2e tests
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
cf77c9c299
commit
7a774a67a9
1 changed files with 2 additions and 0 deletions
|
|
@ -427,6 +427,7 @@ function NavItem({
|
|||
|
||||
const content = (
|
||||
<a
|
||||
role="menuitem"
|
||||
href={href}
|
||||
target={isExternal ? "_blank" : undefined}
|
||||
rel={isExternal ? "noopener noreferrer" : undefined}
|
||||
|
|
@ -498,6 +499,7 @@ function CollapsibleNavItem({
|
|||
<CollapsibleTrigger asChild>
|
||||
<button
|
||||
type="button"
|
||||
role="menuitem"
|
||||
className={cn(
|
||||
"flex items-center gap-2 h-8 py-1.5 px-2 rounded-md text-[13px] transition-colors w-full",
|
||||
"hover:bg-sidebar-accent text-sidebar-foreground/70",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue