🤲 a11y: Update Chat History aria-label & Controls role (#3604)

This commit is contained in:
Akash 2024-08-16 12:42:09 +05:30 committed by GitHub
parent e47c3f40f0
commit 93cf7bab02
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 3 deletions

View file

@ -9,6 +9,7 @@ import {
useLocalStorage,
useNavScrolling,
useConversations,
useLocalize,
} from '~/hooks';
import { useConversationsInfiniteQuery } from '~/data-provider';
import { TooltipProvider, Tooltip } from '~/components/ui';
@ -24,6 +25,7 @@ import { cn } from '~/utils';
import store from '~/store';
const Nav = ({ navVisible, setNavVisible }) => {
const localize = useLocalize();
const { conversationId } = useParams();
const { isAuthenticated } = useAuthContext();
@ -141,7 +143,7 @@ const Nav = ({ navVisible, setNavVisible }) => {
>
<nav
id="chat-history-nav"
aria-label="chat-history-nav"
aria-label={localize('com_ui_chat_history')}
className="flex h-full w-full flex-col px-3 pb-3.5"
>
<div