diff --git a/frontend/src/components/Footer/index.jsx b/frontend/src/components/Footer/index.jsx index fc51dde7136..10cd80cd537 100644 --- a/frontend/src/components/Footer/index.jsx +++ b/frontend/src/components/Footer/index.jsx @@ -52,6 +52,7 @@ export default function Footer() { target="_blank" rel="noreferrer" className="transition-all duration-300 p-2 rounded-full text-white bg-sidebar-button hover:bg-menu-item-selected-gradient hover:border-slate-100 hover:border-opacity-50 border-transparent border" + aria-label="Find us on Github" > @@ -60,6 +61,7 @@ export default function Footer() { target="_blank" rel="noreferrer" className="transition-all duration-300 p-2 rounded-full text-white bg-sidebar-button hover:bg-menu-item-selected-gradient hover:border-slate-100 hover:border-opacity-50 border-transparent border" + aria-label="Docs" > @@ -68,6 +70,7 @@ export default function Footer() { target="_blank" rel="noreferrer" className="transition-all duration-300 p-2 rounded-full text-white bg-sidebar-button hover:bg-menu-item-selected-gradient hover:border-slate-100 hover:border-opacity-50 border-transparent border" + aria-label="Join our Discord server" > @@ -24,6 +25,7 @@ export default function SettingsButton() { diff --git a/frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx b/frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx index cea32dda452..e31f4793b62 100644 --- a/frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx +++ b/frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx @@ -25,7 +25,10 @@ export default function ThreadItem({ : paths.workspace.thread(slug, thread.slug); return ( -
+
{/* Curved line Element and leader if required */}

setShowOptions(!showOptions)} + aria-label="Thread options" > diff --git a/frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/index.jsx b/frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/index.jsx index 50205ef9e99..d3659e3f0f1 100644 --- a/frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/index.jsx +++ b/frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/index.jsx @@ -46,7 +46,7 @@ export default function ThreadContainer({ workspace }) { ? threads.findIndex((thread) => thread?.slug === threadSlug) + 1 : 0; return ( -

+
+
{workspaces.map((workspace) => { const isActive = workspace.slug === slug; const isHovered = hoverStates[workspace.id]; @@ -82,6 +82,7 @@ export default function ActiveWorkspaces() { onMouseEnter={() => handleMouseEnter(workspace.id)} onMouseLeave={() => handleMouseLeave(workspace.id)} key={workspace.id} + role="listitem" >
handleGearMouseEnter(workspace.id)} onMouseLeave={() => handleGearMouseLeave(workspace.id)} className="rounded-md flex items-center justify-center text-[#A7A8A9] hover:text-white ml-auto" + aria-label="General appearance settings" >
)} - +
); } diff --git a/frontend/src/components/Sidebar/index.jsx b/frontend/src/components/Sidebar/index.jsx index 561f46b3e1b..92bbbba6b7c 100644 --- a/frontend/src/components/Sidebar/index.jsx +++ b/frontend/src/components/Sidebar/index.jsx @@ -27,6 +27,7 @@ export default function Sidebar() { + aria-label="Show sidebar"
{copied ? ( diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/StopGenerationButton/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/StopGenerationButton/index.jsx index 09a7c2cebf3..f9872a0d868 100644 --- a/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/StopGenerationButton/index.jsx +++ b/frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/StopGenerationButton/index.jsx @@ -14,6 +14,7 @@ export default function StopGenerationButton() { data-tooltip-id="stop-generation-button" data-tooltip-content="Stop generating response" className="border-none text-white/60 cursor-pointer group" + aria-label="Stop generating" >