Skip to content

Commit d76a657

Browse files
berry-13justinmdickey
authored andcommitted
🔈fix: Accessible name on 'Prev' button in Prompts UI (danny-avila#5369)
Fixes danny-avila#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.
1 parent 8784908 commit d76a657

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/src/components/Chat/Prompts.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export default function Prompts() {
7777
onClick={prevPage}
7878
disabled={!hasPreviousPage}
7979
className="m-0 self-start p-0 hover:bg-transparent"
80+
aria-label="previous"
8081
>
8182
<ChevronLeft className={`${hasPreviousPage ? '' : 'text-gray-500'}`} />
8283
</Button>

0 commit comments

Comments
 (0)