From 79585e22d272a2a13eb524af01a0fc3b5eb9de00 Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Mon, 20 Jan 2025 23:14:49 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=88fix:=20Accessible=20name=20on=20'Pr?= =?UTF-8?q?ev'=20button=20in=20Prompts=20UI=20(#5369)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- client/src/components/Chat/Prompts.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/components/Chat/Prompts.tsx b/client/src/components/Chat/Prompts.tsx index f6339d8c1a..f6c1ba09b3 100644 --- a/client/src/components/Chat/Prompts.tsx +++ b/client/src/components/Chat/Prompts.tsx @@ -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" >