🤲 a11y: Add landmark to footer, labels updates, and sidebar text contrast (#3630)

* add landmark contentinfo to footer

* fix aria-label ai model menuitem for issue #3587

* changed group/today text color to #535353
This commit is contained in:
Vesna Tan 2024-08-16 03:27:56 -04:00 committed by GitHub
parent 93cf7bab02
commit 7f50d2f7c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 6 additions and 4 deletions

View file

@ -33,7 +33,7 @@ const MenuItem: FC<MenuItemProps> = ({
return (
<div
role="menuitem"
aria-label={`menu item for ${title} ${description}`}
aria-label={title}
data-testid="chat-menu-item"
className={cn(
'group m-1.5 flex cursor-pointer gap-2 rounded px-5 py-2.5 !pr-3 text-sm !opacity-100 hover:bg-black/5 focus:ring-0 radix-disabled:pointer-events-none radix-disabled:opacity-50 dark:hover:bg-gray-600 md:min-w-[240px]',