mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 17:00:15 +01:00
🤲 a11y: Update Chat History aria-label & Controls role (#3604)
This commit is contained in:
parent
e47c3f40f0
commit
93cf7bab02
3 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue