mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
🔈fix: Accessible name on 'Prev' button in Prompts UI (#5369)
Fixes #5310 Add `aria-label="previous"` attribute to the 'Prev' button in the Prompts Panel. * Modify `client/src/components/Chat/Prompts.tsx` to include `aria-label="previous"` attribute for the button.
This commit is contained in:
parent
a2305c3a7c
commit
79585e22d2
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ export default function Prompts() {
|
|||
onClick={prevPage}
|
||||
disabled={!hasPreviousPage}
|
||||
className="m-0 self-start p-0 hover:bg-transparent"
|
||||
aria-label="previous"
|
||||
>
|
||||
<ChevronLeft className={`${hasPreviousPage ? '' : 'text-gray-500'}`} />
|
||||
</Button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue