Skip to content

Enhanced ChatGPT Clone: Features Agents, MCP, Skills, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini, Artifacts, AI model switching, message search, Code Interpreter, langchain, DALL-E-3, OpenAPI Actions, Functions, Secure Multi-User Auth, Presets, open-source for self-hosting. Active

🔇 fix: Hide Button Icons from Screen Readers (#10776)

Daniel Lew1143f73f591c
diff --git a/client/src/components/Agents/AgentDetail.tsx b/client/src/components/Agents/AgentDetail.tsx
index ef77734e30..7047ad67a6 100644
--- a/client/src/components/Agents/AgentDetail.tsx
+++ b/client/src/components/Agents/AgentDetail.tsx
@@ -142,7 +142,7 @@ const AgentDetail: React.FC<AgentDetailProps> = ({ agent, isOpen, onClose }) =>
onClick={handleCopyLink}
title={localize('com_agents_copy_link')}
>
- <Link />
+ <Link aria-hidden="true" />
</Button>
{/* Agent avatar - top center */}
diff --git a/client/src/components/Agents/SearchBar.tsx b/client/src/components/Agents/SearchBar.tsx
index af463682b2..7fab811b4c 100644
--- a/client/src/components/Agents/SearchBar.tsx
+++ b/client/src/components/Agents/SearchBar.tsx
@@ -99,6 +99,7 @@ const SearchBar: React.FC<SearchBarProps> = ({ value, onSearch, className = '' }
<X
className="size-5 text-text-secondary transition-colors duration-200 group-hover:text-text-primary"
strokeWidth={2.5}
+ aria-hidden="true"
/>
</button>
)}
diff --git a/client/src/components/Artifacts/Artifacts.tsx b/client/src/components/Artifacts/Artifacts.tsx
index a3b1a015c3..5b433cf0f6 100644
--- a/client/src/components/Artifacts/Artifacts.tsx
+++ b/client/src/components/Artifacts/Artifacts.tsx
@@ -257,7 +257,11 @@ export default function Artifacts() {
{isRefreshing ? (
<Spinner size={16} />
) : (
- <RefreshCw size={16} className="transition-transform duration-200" />
+ <RefreshCw
+ size={16}
+ className="transition-transform duration-200"
+ aria-hidden="true"
+ />
)}
</Button>
)}
@@ -284,7 +288,7 @@ export default function Artifacts() {
onClick={closeArtifacts}
aria-label={localize('com_ui_close')}
>
- <X size={16} />
+ <X size={16} aria-hidden="true" />
</Button>
</div>
</div>
diff --git a/client/src/components/Artifacts/Code.tsx b/client/src/components/Artifacts/Code.tsx
index c91b0444b1..6894ce775b 100644
--- a/client/src/components/Artifacts/Code.tsx
+++ b/client/src/components/Artifacts/Code.tsx
@@ -114,7 +114,11 @@ export const CopyCodeButton: React.FC<{ content: string }> = ({ content }) => {
onClick={handleCopy}
aria-label={isCopied ? localize('com_ui_copied') : localize('com_ui_copy_code')}
>
- {isCopied ? <CircleCheckBig size={16} /> : <Copy size={16} />}
+ {isCopied ? (
+ <CircleCheckBig size={16} aria-hidden="true" />
+ ) : (
+ <Copy size={16} aria-hidden="true" />
+ )}
</Button>
);
};
diff --git a/client/src/components/Artifacts/DownloadArtifact.tsx b/client/src/components/Artifacts/DownloadArtifact.tsx
index 9c779bb1eb..c8fb6a12fe 100644
--- a/client/src/components/Artifacts/DownloadArtifact.tsx
+++ b/client/src/components/Artifacts/DownloadArtifact.tsx
@@ -41,7 +41,11 @@ const DownloadArtifact = ({ artifact }: { artifact: Artifact }) => {
onClick={handleDownload}
aria-label={localize('com_ui_download_artifact')}
>
- {isDownloaded ? <CircleCheckBig size={16} /> : <Download size={16} />}
+ {isDownloaded ? (
+ <CircleCheckBig size={16} aria-hidden="true" />
+ ) : (
+ <Download size={16} aria-hidden="true" />
+ )}
</Button>
);
};
diff --git a/client/src/components/Banners/Banner.tsx b/client/src/components/Banners/Banner.tsx
index d4bc2e5853..22377e0c05 100644
--- a/client/src/components/Banners/Banner.tsx
+++ b/client/src/components/Banners/Banner.tsx
@@ -41,7 +41,7 @@ export const Banner = ({ onHeightChange }: { onHeightChange?: (height: number) =
className="h-8 w-8 opacity-80 hover:opacity-100"
onClick={onClick}
>
- <XIcon className="mx-auto h-4 w-4" />
+ <XIcon className="mx-auto h-4 w-4" aria-hidden="true" />
</button>
</div>
);
diff --git a/client/src/components/Chat/AddMultiConvo.tsx b/client/src/components/Chat/AddMultiConvo.tsx
index 26395c7a6f..52e169bde9 100644
--- a/client/src/components/Chat/AddMultiConvo.tsx
+++ b/client/src/components/Chat/AddMultiConvo.tsx
@@ -43,7 +43,7 @@ function AddMultiConvo() {
data-testid="parameters-button"
className="inline-flex size-10 flex-shrink-0 items-center justify-center rounded-xl border border-border-light bg-transparent text-text-primary transition-all ease-in-out hover:bg-surface-tertiary disabled:pointer-events-none disabled:opacity-50 radix-state-open:bg-surface-tertiary"
>
- <PlusCircle size={16} aria-label="Plus Icon" />
+ <PlusCircle size={16} aria-hidden="true" />
</TooltipAnchor>
);
}
diff --git a/client/src/components/Chat/Input/Artifacts.tsx b/client/src/components/Chat/Input/Artifacts.tsx
index 493f126e3c..2840fc2653 100644
--- a/client/src/components/Chat/Input/Artifacts.tsx
+++ b/client/src/components/Chat/Input/Artifacts.tsx
@@ -66,7 +66,7 @@ function Artifacts() {
setValue={handleToggle}
label={localize('com_ui_artifacts')}
isCheckedClassName="border-amber-600/40 bg-amber-500/10 hover:bg-amber-700/10"
- icon={<WandSparkles className="icon-md" />}
+ icon={<WandSparkles className="icon-md" aria-hidden="true" />}
/>
{isEnabled && (
@@ -79,7 +79,7 @@ function Artifacts() {
)}
onClick={(e) => e.stopPropagation()}
>
- <ChevronDown className="ml-1 h-4 w-4 text-text-secondary md:ml-0" />
+ <ChevronDown className="ml-1 h-4 w-4 text-text-secondary md:ml-0" aria-hidden="true" />
</Ariakit.MenuButton>
<Ariakit.Menu
diff --git a/client/src/components/Chat/Input/ArtifactsSubMenu.tsx b/client/src/components/Chat/Input/ArtifactsSubMenu.tsx
index e27fa43c0e..45c98b82e7 100644
--- a/client/src/components/Chat/Input/ArtifactsSubMenu.tsx
+++ b/client/src/components/Chat/Input/ArtifactsSubMenu.tsx
@@ -62,9 +62,9 @@ const ArtifactsSubMenu = React.forwardRef<HTMLDivElement, ArtifactsSubMenuProps>
}
>
<div className="flex items-center gap-2">
- <WandSparkles className="icon-md" />
+ <WandSparkles className="icon-md" aria-hidden="true" />
<span>{localize('com_ui_artifacts')}</span>
- {isEnabled && <ChevronRight className="ml-auto h-3 w-3" />}
+ {isEnabled && <ChevronRight className="ml-auto h-3 w-3" aria-hidden="true" />}
</div>
<button
type="button"
diff --git a/client/src/components/Chat/Input/CodeInterpreter.tsx b/client/src/components/Chat/Input/CodeInterpreter.tsx
index 6805c3300c..70080a4565 100644
--- a/client/src/components/Chat/Input/CodeInterpreter.tsx
+++ b/client/src/components/Chat/Input/CodeInterpreter.tsx
@@ -29,7 +29,7 @@ function CodeInterpreter() {
setValue={debouncedChange}
label={localize('com_assistants_code_interpreter')}
isCheckedClassName="border-purple-600/40 bg-purple-500/10 hover:bg-purple-700/10"
- icon={<TerminalSquareIcon className="icon-md" />}
+ icon={<TerminalSquareIcon className="icon-md" aria-hidden="true" />}
/>
)
);
diff --git a/client/src/components/Chat/Input/CollapseChat.tsx b/client/src/components/Chat/Input/CollapseChat.tsx
index 1ae0caf794..ea099ed69b 100644
--- a/client/src/components/Chat/Input/CollapseChat.tsx
+++ b/client/src/components/Chat/Input/CollapseChat.tsx
@@ -41,9 +41,9 @@ const CollapseChat = ({
)}
>
{isCollapsed ? (
- <ChevronUp className="h-full w-full" />
+ <ChevronUp className="h-full w-full" aria-hidden="true" />
) : (
- <ChevronDown className="h-full w-full" />
+ <ChevronDown className="h-full w-full" aria-hidden="true" />
)}
</button>
}
diff --git a/client/src/components/Chat/Input/Files/SourceIcon.tsx b/client/src/components/Chat/Input/Files/SourceIcon.tsx
index 677de452ff..7378d49a6b 100644
--- a/client/src/components/Chat/Input/Files/SourceIcon.tsx
+++ b/client/src/components/Chat/Input/Files/SourceIcon.tsx
@@ -33,7 +33,7 @@ export default function SourceIcon({
return (
<div className={cn(className, sourceToClassname[FileSources.execute_code] ?? '')}>
<span className="flex items-center justify-center">
- <Terminal className="h-3 w-3" />
+ <Terminal className="h-3 w-3" aria-hidden="true" />
</span>
</div>
);
@@ -43,7 +43,7 @@ export default function SourceIcon({
return (
<div className={cn(className, sourceToClassname[source] ?? '')}>
<span className="flex items-center justify-center">
- <Type className="h-3 w-3" />
+ <Type className="h-3 w-3" aria-hidden="true" />
</span>
</div>
);
@@ -53,7 +53,7 @@ export default function SourceIcon({
return (
<div className={cn(className, sourceToClassname[source] ?? '')}>
<span className="flex items-center justify-center">
- <Database className="h-3 w-3" />
+ <Database className="h-3 w-3" aria-hidden="true" />
</span>
</div>
);
diff --git a/client/src/components/Chat/Input/Files/Table/Columns.tsx b/client/src/components/Chat/Input/Files/Table/Columns.tsx
index fb0eccee67..2c23b55e30 100644
--- a/client/src/components/Chat/Input/Files/Table/Columns.tsx
+++ b/client/src/components/Chat/Input/Files/Table/Columns.tsx
@@ -68,7 +68,7 @@ export const columns: ColumnDef<TFile>[] = [
onClick={() => column.toggleSorting(column.getIsSorted() === 'asc')}
>
{localize('com_ui_name')}
- <ArrowUpDown className="ml-2 h-3 w-4 sm:h-4 sm:w-4" />
+ <ArrowUpDown className="ml-2 h-3 w-4 sm:h-4 sm:w-4" aria-hidden="true" />
</Button>
);
},
@@ -107,7 +107,7 @@ export const columns: ColumnDef<TFile>[] = [
className="px-2 py-0 text-xs hover:bg-surface-hover sm:px-2 sm:py-2 sm:text-sm"
>
{localize('com_ui_date')}
- <ArrowUpDown className="ml-2 h-3 w-4 sm:h-4 sm:w-4" />
+ <ArrowUpDown className="ml-2 h-3 w-4 sm:h-4 sm:w-4" aria-hidden="true" />
</Button>
);
},
@@ -160,7 +160,7 @@ export const columns: ColumnDef<TFile>[] = [
}
return (
<div className="flex flex-wrap items-center gap-2">
- <Database className="icon-sm text-cyan-700" />
+ <Database className="icon-sm text-cyan-700" aria-hidden="true" />
{localize('com_ui_host')}
</div>
);
@@ -204,7 +204,7 @@ export const columns: ColumnDef<TFile>[] = [
onClick={() => column.toggleSorting(column.getIsSorted() === 'asc')}
>
{localize('com_ui_size')}
- <ArrowUpDown className="ml-2 h-3 w-4 sm:h-4 sm:w-4" />
+ <ArrowUpDown className="ml-2 h-3 w-4 sm:h-4 sm:w-4" aria-hidden="true" />
</Button>
);
},
diff --git a/client/src/components/Chat/Input/Files/Table/DataTable.tsx b/client/src/components/Chat/Input/Files/Table/DataTable.tsx
index 70459b2d66..38d4a44f91 100644
--- a/client/src/components/Chat/Input/Files/Table/DataTable.tsx
+++ b/client/src/components/Chat/Input/Files/Table/DataTable.tsx
@@ -127,7 +127,7 @@ export default function DataTable<TData, TValue>({ columns, data }: DataTablePro
aria-label={localize('com_files_filter_by')}
className={cn('min-w-[40px]', isSmallScreen && 'px-2 py-1')}
>
- <ListFilter className="size-3.5 sm:size-4" />
+ <ListFilter className="size-3.5 sm:size-4" aria-hidden="true" />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent
diff --git a/client/src/components/Chat/Input/Files/Table/SortFilterHeader.tsx b/client/src/components/Chat/Input/Files/Table/SortFilterHeader.tsx
index d275044eef..1359abb4a5 100644
--- a/client/src/components/Chat/Input/Files/Table/SortFilterHeader.tsx
+++ b/client/src/components/Chat/Input/Files/Table/SortFilterHeader.tsx
@@ -41,9 +41,9 @@ export function SortFilterHeader<TData, TValue>({
>
<span>{title}</span>
{column.getIsFiltered() ? (
- <ListFilter className="icon-sm ml-2 text-muted-foreground/70" />
+ <ListFilter className="icon-sm ml-2 text-muted-foreground/70" aria-hidden="true" />
) : (
- <ListFilter className="icon-sm ml-2 opacity-30" />
+ <ListFilter className="icon-sm ml-2 opacity-30" aria-hidden="true" />
)}
{(() => {
const sortState = column.getIsSorted();
@@ -95,7 +95,10 @@ export function SortFilterHeader<TData, TValue>({
column.setFilterValue(value);
}}
>
- <ListFilter className="mr-2 h-3.5 w-3.5 text-muted-foreground/70" />
+ <ListFilter
+ className="mr-2 h-3.5 w-3.5 text-muted-foreground/70"
+ aria-hidden="true"
+ />
{filterValue}
</DropdownMenuItem>
);
@@ -112,7 +115,7 @@ export function SortFilterHeader<TData, TValue>({
column.setFilterValue(undefined);
}}
>
- <FilterX className="mr-2 h-3.5 w-3.5 text-muted-foreground/70" />
+ <FilterX className="mr-2 h-3.5 w-3.5 text-muted-foreground/70" aria-hidden="true" />
{localize('com_ui_show_all')}
</DropdownMenuItem>
)}
diff --git a/client/src/components/Chat/Input/HeaderOptions.tsx b/client/src/components/Chat/Input/HeaderOptions.tsx
index f37cfc0c14..7b0e01a17e 100644
--- a/client/src/components/Chat/Input/HeaderOptions.tsx
+++ b/client/src/components/Chat/Input/HeaderOptions.tsx
@@ -58,7 +58,7 @@ export default function HeaderOptions({
data-testid="parameters-button"
className="inline-flex size-10 items-center justify-center rounded-lg border border-border-light bg-transparent text-text-primary transition-all ease-in-out hover:bg-surface-tertiary disabled:pointer-events-none disabled:opacity-50 radix-state-open:bg-surface-tertiary"
>
- <Settings2 size={16} aria-label="Settings/Parameters Icon" />
+ <Settings2 size={16} aria-hidden="true" />
</TooltipAnchor>
)}
</div>
diff --git a/client/src/components/Chat/Input/ToolsDropdown.tsx b/client/src/components/Chat/Input/ToolsDropdown.tsx
index 003faf2cec..43117c9a03 100644
--- a/client/src/components/Chat/Input/ToolsDropdown.tsx
+++ b/client/src/components/Chat/Input/ToolsDropdown.tsx
@@ -168,7 +168,7 @@ const ToolsDropdown = ({ disabled }: ToolsDropdownProps) => {
render: (props) => (
<div {...props}>
<div className="flex items-center gap-2">
- <Globe className="icon-md" />
+ <Globe className="icon-md" aria-hidden="true" />
<span>{localize('com_ui_web_search')}</span>
</div>
<div className="flex items-center gap-1">
@@ -188,7 +188,7 @@ const ToolsDropdown = ({ disabled }: ToolsDropdownProps) => {
ref={searchMenuTriggerRef}
>
<div className="h-4 w-4">
- <Settings className="h-4 w-4" />
+ <Settings className="h-4 w-4" aria-hidden="true" />
</div>
</button>
)}
@@ -222,7 +222,7 @@ const ToolsDropdown = ({ disabled }: ToolsDropdownProps) => {
render: (props) => (
<div {...props}>
<div className="flex items-center gap-2">
- <TerminalSquareIcon className="icon-md" />
+ <TerminalSquareIcon className="icon-md" aria-hidden="true" />
<span>{localize('com_assistants_code_interpreter')}</span>
</div>
<div className="flex items-center gap-1">
@@ -242,7 +242,7 @@ const ToolsDropdown = ({ disabled }: ToolsDropdownProps) => {
aria-label="Configure code interpreter"
>
<div className="h-4 w-4">
- <Settings className="h-4 w-4" />
+ <Settings className="h-4 w-4" aria-hidden="true" />
</div>
</button>
)}
@@ -310,7 +310,7 @@ const ToolsDropdown = ({ disabled }: ToolsDropdownProps) => {
)}
>
<div className="flex w-full items-center justify-center gap-2">
- <Settings2 className="icon-md" />
+ <Settings2 className="icon-md" aria-hidden="true" />
</div>
</Ariakit.MenuButton>
}
diff --git a/client/src/components/Chat/Input/WebSearch.tsx b/client/src/components/Chat/Input/WebSearch.tsx
index a6ca908411..9bc955b097 100644
--- a/client/src/components/Chat/Input/WebSearch.tsx
+++ b/client/src/components/Chat/Input/WebSearch.tsx
@@ -29,7 +29,7 @@ function WebSearch() {
setValue={debouncedChange}
label={localize('com_ui_search')}
isCheckedClassName="border-blue-600/40 bg-blue-500/10 hover:bg-blue-700/10"
- icon={<Globe className="icon-md" />}
+ icon={<Globe className="icon-md" aria-hidden="true" />}
/>
)
);
diff --git a/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx b/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx
index 52c3fc8367..ad5d224bb8 100644
--- a/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx
+++ b/client/src/components/Chat/Menus/Endpoints/components/EndpointItem.tsx
@@ -45,7 +45,7 @@ const SettingsButton = ({
aria-label={`${text} ${endpoint.label}`}
>
<div className="flex w-[28px] items-center gap-1 whitespace-nowrap transition-all duration-300 ease-in-out group-hover:w-auto group-focus/button:w-auto">
- <SettingsIcon className="h-4 w-4 flex-shrink-0" />
+ <SettingsIcon className="h-4 w-4 flex-shrink-0" aria-hidden="true" />
<span className="max-w-0 overflow-hidden whitespace-nowrap opacity-0 transition-all duration-300 ease-in-out group-hover:max-w-[100px] group-hover:opacity-100 group-focus/button:max-w-[100px] group-focus/button:opacity-100">
{text}
</span>
diff --git a/client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx b/client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx
index eeefdba598..67b8b522ee 100644
--- a/client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx
+++ b/client/src/components/Chat/Menus/Endpoints/components/EndpointModelItem.tsx
@@ -51,7 +51,10 @@ export function EndpointModelItem({ modelId, endpoint, isSelected }: EndpointMod
) : null}
<span className="truncate text-left">{modelName}</span>
{isGlobal && (
- <EarthIcon className="ml-auto size-4 flex-shrink-0 self-center text-green-400" />
+ <EarthIcon
+ className="ml-auto size-4 flex-shrink-0 self-center text-green-400"
+ aria-hidden="true"
+ />
)}
</div>
{isSelected && (
diff --git a/client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx b/client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx
index ffefbc44d4..c15abbb48b 100644
--- a/client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx
+++ b/client/src/components/Chat/Menus/Endpoints/components/SearchResults.tsx
@@ -172,7 +172,9 @@ export function SearchResults({ results, localize, searchValue }: SearchResultsP
)}
<span>{modelName}</span>
</div>
- {isGlobal && <EarthIcon className="ml-auto size-4 text-green-400" />}
+ {isGlobal && (
+ <EarthIcon className="ml-auto size-4 text-green-400" aria-hidden="true" />
+ )}
{selectedEndpoint === endpoint.value && selectedModel === modelId && (
<svg
width="16"
diff --git a/client/src/components/Chat/Menus/PresetsMenu.tsx b/client/src/components/Chat/Menus/PresetsMenu.tsx
index 2c05eff866..ea1fc3aa4b 100644
--- a/client/src/components/Chat/Menus/PresetsMenu.tsx
+++ b/client/src/components/Chat/Menus/PresetsMenu.tsx
@@ -32,7 +32,7 @@ const PresetsMenu: FC = () => {
data-testid="presets-button"
className="inline-flex size-10 flex-shrink-0 items-center justify-center rounded-xl border border-border-light bg-transparent text-text-primary transition-all ease-in-out hover:bg-surface-tertiary disabled:pointer-events-none disabled:opacity-50 radix-state-open:bg-surface-tertiary"
>
- <BookCopy size={16} aria-label="Preset Icon" />
+ <BookCopy size={16} aria-hidden="true" />
</TooltipAnchor>
</Trigger>
<Portal>
diff --git a/client/src/components/Chat/Menus/UI/TitleButton.tsx b/client/src/components/Chat/Menus/UI/TitleButton.tsx
index d6f7dec095..82098838ea 100644
--- a/client/src/components/Chat/Menus/UI/TitleButton.tsx
+++ b/client/src/components/Chat/Menus/UI/TitleButton.tsx
@@ -22,7 +22,7 @@ export default function TitleButton({ primaryText = '', secondaryText = '' }) {
<span className="text-text-primary"> {primaryText} </span>
{!!secondaryText && <span className="text-token-text-secondary">{secondaryText}</span>}
</div>
- <ChevronDown className="text-token-text-secondary size-4" />
+ <ChevronDown className="text-token-text-secondary size-4" aria-hidden="true" />
</button>
</Trigger>
);
diff --git a/client/src/components/Chat/Messages/Content/AgentHandoff.tsx b/client/src/components/Chat/Messages/Content/AgentHandoff.tsx
index 989cf4d3c4..f5fa162ff2 100644
--- a/client/src/components/Chat/Messages/Content/AgentHandoff.tsx
+++ b/client/src/components/Chat/Messages/Content/AgentHandoff.tsx
@@ -74,6 +74,7 @@ const AgentHandoff: React.FC<AgentHandoffProps> = ({ name, args: _args = '' }) =
{hasInfo && (
<ChevronDown
className={cn('ml-1 h-3 w-3 transition-transform', showInfo && 'rotate-180')}
+ aria-hidden="true"
/>
)}
</div>
diff --git a/client/src/components/Chat/Messages/Content/CancelledIcon.tsx b/client/src/components/Chat/Messages/Content/CancelledIcon.tsx
index e6afa74356..e0dff0a924 100644
--- a/client/src/components/Chat/Messages/Content/CancelledIcon.tsx
+++ b/client/src/components/Chat/Messages/Content/CancelledIcon.tsx
@@ -3,7 +3,7 @@ import { X } from 'lucide-react';
export default function CancelledIcon() {
return (
<div className="flex h-full w-full items-center justify-center rounded-full bg-transparent text-text-secondary">
- <X className="size-4" />
+ <X className="size-4" aria-hidden="true" />
</div>
);
}
diff --git a/client/src/components/Chat/Messages/Content/DialogImage.tsx b/client/src/components/Chat/Messages/Content/DialogImage.tsx
index 6923f15194..723dc42f59 100644
--- a/client/src/components/Chat/Messages/Content/DialogImage.tsx
+++ b/client/src/components/Chat/Messages/Content/DialogImage.tsx
@@ -204,7 +204,7 @@ export default function DialogImage({ isOpen, onOpenChange, src = '', downloadIm
className="h-10 w-10 p-0 hover:bg-surface-hover"
aria-label={localize('com_ui_close')}
>
- <X className="size-7 sm:size-6" />
+ <X className="size-7 sm:size-6" aria-hidden="true" />
</Button>
}
/>
@@ -219,7 +219,7 @@ export default function DialogImage({ isOpen, onOpenChange, src = '', downloadIm
className="h-10 w-10 p-0"
aria-label={localize('com_ui_reset_zoom')}
>
- <RotateCcw className="size-6" />
+ <RotateCcw className="size-6" aria-hidden="true" />
</Button>
}
/>
@@ -233,7 +233,7 @@ export default function DialogImage({ isOpen, onOpenChange, src = '', downloadIm
className="h-10 w-10 p-0"
aria-label={localize('com_ui_download')}
>
- <ArrowDownToLine className="size-6" />
+ <ArrowDownToLine className="size-6" aria-hidden="true" />
</Button>
}
/>
@@ -247,9 +247,9 @@ export default function DialogImage({ isOpen, onOpenChange, src = '', downloadIm
aria-label={imageDetailsLabel}
>
{isPromptOpen ? (
- <PanelLeftOpen className="size-7 sm:size-6" />
+ <PanelLeftOpen className="size-7 sm:size-6" aria-hidden="true" />
) : (
- <PanelLeftClose className="size-7 sm:size-6" />
+ <PanelLeftClose className="size-7 sm:size-6" aria-hidden="true" />
)}
</Button>
}
@@ -322,7 +322,7 @@ export default function DialogImage({ isOpen, onOpenChange, src = '', downloadIm
variant="ghost"
className="h-12 w-12 p-0"
>
- <X className="size-6" />
+ <X className="size-6" aria-hidden="true" />
</Button>
</div>
diff --git a/client/src/components/Chat/Messages/Content/Parts/EditTextPart.tsx b/client/src/components/Chat/Messages/Content/Parts/EditTextPart.tsx
index 10f61fd8af..73301f9eb5 100644
--- a/client/src/components/Chat/Messages/Content/Parts/EditTextPart.tsx
+++ b/client/src/components/Chat/Messages/Content/Parts/EditTextPart.tsx
@@ -157,7 +157,7 @@ const EditTextPart = ({
{part.type === ContentTypes.THINK && (
<div className="mt-2 flex items-center gap-1.5 text-xs text-text-secondary">
<span className="flex gap-2 rounded-lg bg-surface-tertiary px-1.5 py-1 font-medium">
- <Lightbulb className="size-3.5" />
+ <Lightbulb className="size-3.5" aria-hidden="true" />
{localize('com_ui_thoughts')}
</span>
</div>
@@ -165,7 +165,7 @@ const EditTextPart = ({
{part.type !== ContentTypes.THINK && (
<div className="mt-2 flex items-center gap-1.5 text-xs text-text-secondary">
<span className="flex gap-2 rounded-lg bg-surface-tertiary px-1.5 py-1 font-medium">
- <MessageSquare className="size-3.5" />
+ <MessageSquare className="size-3.5" aria-hidden="true" />
{localize('com_ui_response')}
</span>
</div>
diff --git a/client/src/components/Chat/Messages/Content/Parts/Thinking.tsx b/client/src/components/Chat/Messages/Content/Parts/Thinking.tsx
index 9a7618ef3f..725a480004 100644
--- a/client/src/components/Chat/Messages/Content/Parts/Thinking.tsx
+++ b/client/src/components/Chat/Messages/Content/Parts/Thinking.tsx
@@ -71,12 +71,16 @@ export const ThinkingButton = memo(
)}
>
<span className="relative mr-1.5 inline-flex h-[18px] w-[18px] items-center justify-center">
- <Lightbulb className="icon-sm absolute text-text-secondary opacity-100 transition-opacity group-hover/button:opacity-0" />
+ <Lightbulb
+ className="icon-sm absolute text-text-secondary opacity-100 transition-opacity group-hover/button:opacity-0"
+ aria-hidden="true"
+ />
<ChevronDown
className={cn(
'icon-sm absolute transform-gpu text-text-primary opacity-0 transition-all duration-300 group-hover/button:opacity-100',
isExpanded && 'rotate-180',
)}
+ aria-hidden="true"
/>
</span>
{label}
diff --git a/client/src/components/Chat/Messages/Content/ProgressText.tsx b/client/src/components/Chat/Messages/Content/ProgressText.tsx
index e131579f6d..942ed9ba23 100644
--- a/client/src/components/Chat/Messages/Content/ProgressText.tsx
+++ b/client/src/components/Chat/Messages/Content/ProgressText.tsx
@@ -98,9 +98,9 @@ export default function ProgressText({
<span className={showShimmer ? 'shimmer' : ''}>{text}</span>
{hasInput &&
(isExpanded ? (
- <ChevronUp className="size-4 shrink-0 translate-y-[1px]" />
+ <ChevronUp className="size-4 shrink-0 translate-y-[1px]" aria-hidden="true" />
) : (
- <ChevronDown className="size-4 shrink-0 translate-y-[1px]" />
+ <ChevronDown className="size-4 shrink-0 translate-y-[1px]" aria-hidden="true" />
))}
</button>
</Wrapper>
diff --git a/client/src/components/Chat/Messages/Content/ToolCall.tsx b/client/src/components/Chat/Messages/Content/ToolCall.tsx
index 7094712490..b9feef1bad 100644
--- a/client/src/components/Chat/Messages/Content/ToolCall.tsx
+++ b/client/src/components/Chat/Messages/Content/ToolCall.tsx
@@ -236,7 +236,7 @@ export default function ToolCall({
</Button>
</div>
<p className="flex items-center text-xs text-text-warning">
- <TriangleAlert className="mr-1.5 inline-block h-4 w-4" />
+ <TriangleAlert className="mr-1.5 inline-block h-4 w-4" aria-hidden="true" />
{localize('com_assistants_allow_sites_you_trust')}
</p>
</div>
diff --git a/client/src/components/Chat/Messages/Feedback.tsx b/client/src/components/Chat/Messages/Feedback.tsx
index a43b9700ee..9ac3c90f8b 100644
--- a/client/src/components/Chat/Messages/Feedback.tsx
+++ b/client/src/components/Chat/Messages/Feedback.tsx
@@ -65,7 +65,7 @@ function FeedbackOptionButton({
aria-label={label}
aria-pressed={active}
>
- <Icon size="19" bold={active} />
+ <Icon size="19" bold={active} aria-hidden="true" />
<span>{label}</span>
</button>
);
diff --git a/client/src/components/Chat/Messages/Fork.tsx b/client/src/components/Chat/Messages/Fork.tsx
index 810692c328..0805d3dfe1 100644
--- a/client/src/components/Chat/Messages/Fork.tsx
+++ b/client/src/components/Chat/Messages/Fork.tsx
@@ -273,10 +273,10 @@ export default function Fork({
{
setting: ForkOptions.DIRECT_PATH,
label: localize(optionLabels[ForkOptions.DIRECT_PATH]),
- icon: <GitCommit className="h-full w-full rotate-90 p-2" />,
+ icon: <GitCommit className="h-full w-full rotate-90 p-2" aria-hidden="true" />,
hoverTitle: (
<>
- <GitCommit className="h-5 w-5 rotate-90" />
+ <GitCommit className="h-5 w-5 rotate-90" aria-hidden="true" />
{localize(optionLabels[ForkOptions.DIRECT_PATH])}
</>
),
@@ -285,10 +285,10 @@ export default function Fork({
{
setting: ForkOptions.INCLUDE_BRANCHES,
label: localize(optionLabels[ForkOptions.INCLUDE_BRANCHES]),
- icon: <GitBranchPlus className="h-full w-full rotate-180 p-2" />,
+ icon: <GitBranchPlus className="h-full w-full rotate-180 p-2" aria-hidden="true" />,
hoverTitle: (
<>
- <GitBranchPlus className="h-4 w-4 rotate-180" />
+ <GitBranchPlus className="h-4 w-4 rotate-180" aria-hidden="true" />
{localize(optionLabels[ForkOptions.INCLUDE_BRANCHES])}
</>
),
@@ -297,10 +297,10 @@ export default function Fork({
{
setting: ForkOptions.TARGET_LEVEL,
label: localize(optionLabels[ForkOptions.TARGET_LEVEL]),
- icon: <ListTree className="h-full w-full p-2" />,
+ icon: <ListTree className="h-full w-full p-2" aria-hidden="true" />,
hoverTitle: (
<>
- <ListTree className="h-5 w-5" />
+ <ListTree className="h-5 w-5" aria-hidden="true" />
{`${localize(optionLabels[ForkOptions.TARGET_LEVEL])} (${localize('com_endpoint_default')})`}
</>
),
@@ -333,7 +333,7 @@ export default function Fork({
type="button"
aria-label={localize('com_ui_fork')}
>
- <GitFork size="19" />
+ <GitFork size="19" aria-hidden="true" />
</button>
}
/>
@@ -360,7 +360,7 @@ export default function Fork({
className="flex h-5 w-5 cursor-help items-center rounded-full text-text-secondary"
aria-label={localize('com_ui_fork_info_button_label')}
>
- <InfoIcon />
+ <InfoIcon aria-hidden="true" />
</button>
}
/>
diff --git a/client/src/components/Chat/Messages/SearchButtons.tsx b/client/src/components/Chat/Messages/SearchButtons.tsx
index 46804cefbe..0b2a5d8895 100644
--- a/client/src/components/Chat/Messages/SearchButtons.tsx
+++ b/client/src/components/Chat/Messages/SearchButtons.tsx
@@ -61,7 +61,7 @@ export default function SearchButtons({ message }: { message: TMessage }) {
onClick={clickHandler}
title={localize('com_ui_go_to_conversation')}
>
- <Link className="icon-sm" />
+ <Link className="icon-sm" aria-hidden="true" />
{message.title}
</button>
</div>
diff --git a/client/src/components/Chat/TemporaryChat.tsx b/client/src/components/Chat/TemporaryChat.tsx
index a134379497..8d4d28c2de 100644
--- a/client/src/components/Chat/TemporaryChat.tsx
+++ b/client/src/components/Chat/TemporaryChat.tsx
@@ -1,5 +1,4 @@
import React from 'react';
-import { motion } from 'framer-motion';
import { TooltipAnchor } from '@librechat/client';
import { MessageCircleDashed } from 'lucide-react';
import { useRecoilState, useRecoilCallback } from 'recoil';
@@ -54,6 +53,7 @@ export function TemporaryChat() {
{temporaryBadge.icon && (
<temporaryBadge.icon
className={cn('relative h-5 w-5 md:h-4 md:w-4', !temporaryBadge.label && 'mx-auto')}
+ aria-hidden="true"
/>
)}
</button>
diff --git a/client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx b/client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx
index 46b1b7d2f7..196efac868 100644
--- a/client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx
+++ b/client/src/components/Conversations/ConvoOptions/ConvoOptions.tsx
@@ -133,7 +133,7 @@ function ConvoOptions({
{
label: localize('com_ui_share'),
onClick: handleShareClick,
- icon: <Share2 className="icon-sm mr-2 text-text-primary" />,
+ icon: <Share2 className="icon-sm mr-2 text-text-primary" aria-hidden="true" />,
show: startupConfig && startupConfig.sharedLinksEnabled,
hideOnClick: false,
ref: shareButtonRef,
@@ -142,7 +142,7 @@ function ConvoOptions({
{
label: localize('com_ui_rename'),
onClick: renameHandler,
- icon: <Pen className="icon-sm mr-2 text-text-primary" />,
+ icon: <Pen className="icon-sm mr-2 text-text-primary" aria-hidden="true" />,
},
{
label: localize('com_ui_duplicate'),
@@ -151,7 +151,7 @@ function ConvoOptions({
icon: isDuplicateLoading ? (
<Spinner className="size-4" />
) : (
- <CopyPlus className="icon-sm mr-2 text-text-primary" />
+ <CopyPlus className="icon-sm mr-2 text-text-primary" aria-hidden="true" />
),
},
{
@@ -161,13 +161,13 @@ function ConvoOptions({
icon: isArchiveLoading ? (
<Spinner className="size-4" />
) : (
- <Archive className="icon-sm mr-2 text-text-primary" />
+ <Archive className="icon-sm mr-2 text-text-primary" aria-hidden="true" />
),
},
{
label: localize('com_ui_delete'),
onClick: handleDeleteClick,
- icon: <Trash className="icon-sm mr-2 text-text-primary" />,
+ icon: <Trash className="icon-sm mr-2 text-text-primary" aria-hidden="true" />,
hideOnClick: false,
ref: deleteButtonRef,
render: (props) => <button {...props} />,
diff --git a/client/src/components/Conversations/ConvoOptions/ShareButton.tsx b/client/src/components/Conversations/ConvoOptions/ShareButton.tsx
index cbbb612251..98b99b2dd7 100644
--- a/client/src/components/Conversations/ConvoOptions/ShareButton.tsx
+++ b/client/src/components/Conversations/ConvoOptions/ShareButton.tsx
@@ -102,7 +102,11 @@ export default function ShareButton({
}}
className={cn('shrink-0', isCopying ? 'cursor-default' : '')}
>
- {isCopying ? <CopyCheck className="size-4" /> : <Copy className="size-4" />}
+ {isCopying ? (
+ <CopyCheck className="size-4" aria-hidden="true" />
+ ) : (
+ <Copy className="size-4" aria-hidden="true" />
+ )}
</Button>
</div>
)}
diff --git a/client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx b/client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx
index e5d1dbfb20..ccec9fe105 100644
--- a/client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx
+++ b/client/src/components/Conversations/ConvoOptions/SharedLinkButton.tsx
@@ -139,7 +139,7 @@ export default function SharedLinkButton({
{isUpdateLoading ? (
<Spinner className="size-4" />
) : (
- <RotateCw className="size-4" />
+ <RotateCw className="size-4" aria-hidden="true" />
)}
</Button>
)}
@@ -154,7 +154,7 @@ export default function SharedLinkButton({
variant="outline"
aria-label={qrCodeLabel}
>
- <QrCode className="size-4" />
+ <QrCode className="size-4" aria-hidden="true" />
</Button>
)}
/>
@@ -168,7 +168,7 @@ export default function SharedLinkButton({
variant="destructive"
aria-label={localize('com_ui_delete')}
>
- <Trash2 className="size-4" />
+ <Trash2 className="size-4" aria-hidden="true" />
</Button>
)}
/>
diff --git a/client/src/components/Endpoints/MessageEndpointIcon.tsx b/client/src/components/Endpoints/MessageEndpointIcon.tsx
index 9b71396d12..1788b0d974 100644
--- a/client/src/components/Endpoints/MessageEndpointIcon.tsx
+++ b/client/src/components/Endpoints/MessageEndpointIcon.tsx
@@ -119,7 +119,7 @@ const MessageEndpointIcon: React.FC<IconProps> = (props) => {
) : (
<div className="h-6 w-6">
<div className="shadow-stroke flex h-6 w-6 items-center justify-center overflow-hidden rounded-full">
- <Feather className="h-2/3 w-2/3 text-gray-400" />
+ <Feather className="h-2/3 w-2/3 text-gray-400" aria-hidden="true" />
</div>
</div>
),
diff --git a/client/src/components/Endpoints/MinimalIcon.tsx b/client/src/components/Endpoints/MinimalIcon.tsx
index f21cad1e08..b0f1fb22b9 100644
--- a/client/src/components/Endpoints/MinimalIcon.tsx
+++ b/client/src/components/Endpoints/MinimalIcon.tsx
@@ -47,7 +47,7 @@ const MinimalIcon: React.FC<IconProps> = (props) => {
[EModelEndpoint.assistants]: { icon: <Sparkles className="icon-sm" />, name: 'Assistant' },
[EModelEndpoint.azureAssistants]: { icon: <Sparkles className="icon-sm" />, name: 'Assistant' },
[EModelEndpoint.agents]: {
- icon: <Feather className="icon-sm" />,
+ icon: <Feather className="icon-sm" aria-hidden="true" />,
name: props.modelLabel ?? alternateName[EModelEndpoint.agents],
},
[EModelEndpoint.bedrock]: {
diff --git a/client/src/components/Endpoints/Settings/Examples.tsx b/client/src/components/Endpoints/Settings/Examples.tsx
index 10f6236855..78b045e141 100644
--- a/client/src/components/Endpoints/Settings/Examples.tsx
+++ b/client/src/components/Endpoints/Settings/Examples.tsx
@@ -81,14 +81,14 @@ function Examples({ readonly, examples, setExample, addExample, removeExample }:
className="mr-2 mt-1 h-auto items-center justify-center bg-transparent px-3 py-2 text-xs font-medium font-normal text-black hover:bg-gray-100 hover:text-black focus:ring-0 focus:ring-offset-0 dark:bg-transparent dark:text-white dark:hover:bg-gray-700 dark:hover:text-white dark:focus:outline-none dark:focus:ring-offset-0"
onClick={removeExample}
>
- <Minus className="w-[16px]" />
+ <Minus className="w-[16px]" aria-hidden="true" />
</Button>
<Button
type="button"
className="mt-1 h-auto items-center justify-center bg-transparent px-3 py-2 text-xs font-medium font-normal text-black hover:bg-gray-100 hover:text-black focus:ring-0 focus:ring-offset-0 dark:bg-transparent dark:text-white dark:hover:bg-gray-700 dark:hover:text-white dark:focus:outline-none dark:focus:ring-offset-0"
onClick={addExample}
>
- <Plus className="w-[16px]" />
+ <Plus className="w-[16px]" aria-hidden="true" />
</Button>
</div>
</>
diff --git a/client/src/components/Endpoints/URLIcon.tsx b/client/src/components/Endpoints/URLIcon.tsx
index 7419bde8fc..ddb62aaded 100644
--- a/client/src/components/Endpoints/URLIcon.tsx
+++ b/client/src/components/Endpoints/URLIcon.tsx
@@ -38,7 +38,7 @@ export const URLIcon = memo(
className="absolute flex items-center justify-center rounded-full bg-red-500"
style={{ width: '14px', height: '14px', top: 0, right: 0 }}
>
- <AlertCircle size={10} className="text-white" />
+ <AlertCircle size={10} className="text-white" aria-hidden="true" />
</div>
)}
</div>
diff --git a/client/src/components/Files/FileList/FileSidePanel.tsx b/client/src/components/Files/FileList/FileSidePanel.tsx
index 5b59678426..c62a03464c 100644
--- a/client/src/components/Files/FileList/FileSidePanel.tsx
+++ b/client/src/components/Files/FileList/FileSidePanel.tsx
@@ -150,12 +150,12 @@ export default function FileSidePanel() {
return (
<div className="w-30">
<h2 className="m-3 text-lg">
- <strong>Files</strong>
+ <strong>{localize('com_ui_files')}</strong>
</h2>
<div className="m-3 mt-2 flex w-full flex-row justify-between gap-x-2 lg:m-0">
<div className="flex w-2/3 flex-row">
<Button variant="ghost" className="m-0 mr-2 p-0">
- <ListFilter className="h-4 w-4" />
+ <ListFilter className="h-4 w-4" aria-hidden="true" />
</Button>
<Input
placeholder={localize('com_files_filter')}
diff --git a/client/src/components/MCP/MCPConfigDialog.tsx b/client/src/components/MCP/MCPConfigDialog.tsx
index 3569c1b350..add060d11c 100644
--- a/client/src/components/MCP/MCPConfigDialog.tsx
+++ b/client/src/components/MCP/MCPConfigDialog.tsx
@@ -65,14 +65,14 @@ export default function MCPConfigDialog({
if (requiresOAuth) {
return (
<div className="flex items-center gap-2 rounded-full bg-amber-50 px-2 py-0.5 text-xs font-medium text-amber-600 dark:bg-amber-950 dark:text-amber-400">
- <KeyRound className="h-3 w-3" />
+ <KeyRound className="h-3 w-3" aria-hidden="true" />
<span>{localize('com_ui_oauth')}</span>
</div>
);
} else {
return (
<div className="flex items-center gap-2 rounded-full bg-orange-50 px-2 py-0.5 text-xs font-medium text-orange-600 dark:bg-orange-950 dark:text-orange-400">
- <PlugZap className="h-3 w-3" />
+ <PlugZap className="h-3 w-3" aria-hidden="true" />
<span>{localize('com_ui_offline')}</span>
</div>
);
@@ -82,7 +82,7 @@ export default function MCPConfigDialog({
if (connectionState === 'error') {
return (
<div className="flex items-center gap-2 rounded-full bg-red-50 px-2 py-0.5 text-xs font-medium text-red-600 dark:bg-red-950 dark:text-red-400">
- <AlertTriangle className="h-3 w-3" />
+ <AlertTriangle className="h-3 w-3" aria-hidden="true" />
<span>{localize('com_ui_error')}</span>
</div>
);
diff --git a/client/src/components/MCP/MCPServerStatusIcon.tsx b/client/src/components/MCP/MCPServerStatusIcon.tsx
index 76113fb0c2..cebd15368d 100644
--- a/client/src/components/MCP/MCPServerStatusIcon.tsx
+++ b/client/src/components/MCP/MCPServerStatusIcon.tsx
@@ -138,7 +138,7 @@ function DisconnectedOAuthStatusIcon({ serverName, onConfigClick }: StatusIconPr
className="flex h-6 w-6 items-center justify-center rounded p-1 hover:bg-surface-secondary"
aria-label={localize('com_nav_mcp_configure_server', { 0: serverName })}
>
- <KeyRound className="h-4 w-4 text-amber-500" />
+ <KeyRound className="h-4 w-4 text-amber-500" aria-hidden="true" />
</button>
);
}
@@ -151,7 +151,7 @@ function DisconnectedStatusIcon({ serverName, onConfigClick }: StatusIconProps)
className="flex h-6 w-6 items-center justify-center rounded p-1 hover:bg-surface-secondary"
aria-label={localize('com_nav_mcp_configure_server', { 0: serverName })}
>
- <PlugZap className="h-4 w-4 text-orange-500" />
+ <PlugZap className="h-4 w-4 text-orange-500" aria-hidden="true" />
</button>
);
}
@@ -164,7 +164,7 @@ function ErrorStatusIcon({ serverName, onConfigClick }: StatusIconProps) {
className="flex h-6 w-6 items-center justify-center rounded p-1 hover:bg-surface-secondary"
aria-label={localize('com_nav_mcp_configure_server', { 0: serverName })}
>
- <AlertTriangle className="h-4 w-4 text-red-500" />
+ <AlertTriangle className="h-4 w-4 text-red-500" aria-hidden="true" />
</button>
);
}
@@ -185,7 +185,10 @@ function AuthenticatedStatusIcon({
className="flex h-6 w-6 items-center justify-center rounded p-1 hover:bg-surface-secondary"
aria-label={localize('com_nav_mcp_configure_server', { 0: serverName })}
>
- <SettingsIcon className={`h-4 w-4 ${isAuthenticated ? 'text-green-500' : 'text-gray-400'}`} />
+ <SettingsIcon
+ className={`h-4 w-4 ${isAuthenticated ? 'text-green-500' : 'text-gray-400'}`}
+ aria-hidden="true"
+ />
</button>
);
}
diff --git a/client/src/components/MCP/ServerInitializationSection.tsx b/client/src/components/MCP/ServerInitializationSection.tsx
index e84c84a55d..aae8205db0 100644
--- a/client/src/components/MCP/ServerInitializationSection.tsx
+++ b/client/src/components/MCP/ServerInitializationSection.tsx
@@ -85,7 +85,7 @@ export default function ServerInitializationSection({
const icon = isServerInitializing ? (
<Spinner className="h-4 w-4" />
) : (
- <RefreshCw className="h-4 w-4" />
+ <RefreshCw className="h-4 w-4" aria-hidden="true" />
);
return (
diff --git a/client/src/components/Messages/Content/RunCode.tsx b/client/src/components/Messages/Content/RunCode.tsx
index da1e0767cf..a42692ebbd 100644
--- a/client/src/components/Messages/Content/RunCode.tsx
+++ b/client/src/components/Messages/Content/RunCode.tsx
@@ -93,7 +93,7 @@ const RunCode: React.FC<CodeBarProps> = React.memo(({ lang, codeRef, blockIndex
{execute.isLoading ? (
<Spinner className="animate-spin" size={18} />
) : (
- <TerminalSquareIcon size={18} />
+ <TerminalSquareIcon size={18} aria-hidden="true" />
)}
{localize('com_ui_run_code')}
</button>
diff --git a/client/src/components/Nav/AccountSettings.tsx b/client/src/components/Nav/AccountSettings.tsx
index 6bf48e6fb2..3bf37d9c1a 100644
--- a/client/src/components/Nav/AccountSettings.tsx
+++ b/client/src/components/Nav/AccountSettings.tsx
@@ -93,7 +93,7 @@ function AccountSettings() {
value="logout"
className="select-item text-sm"
>
- <LogOut className="icon-md" />
+ <LogOut className="icon-md" aria-hidden="true" />
{localize('com_nav_log_out')}
</Select.SelectItem>
</Select.SelectPopover>
diff --git a/client/src/components/Nav/AgentMarketplaceButton.tsx b/client/src/components/Nav/AgentMarketplaceButton.tsx
index 72f6cc12db..9169ebf985 100644
--- a/client/src/components/Nav/AgentMarketplaceButton.tsx
+++ b/client/src/components/Nav/AgentMarketplaceButton.tsx
@@ -58,7 +58,7 @@ export default function AgentMarketplaceButton({
className="rounded-full border-none bg-transparent p-2 hover:bg-surface-hover md:rounded-xl"
onClick={handleAgentMarketplace}
>
- <LayoutGrid className="icon-lg text-text-primary" />
+ <LayoutGrid className="icon-lg text-text-primary" aria-hidden="true" />
</Button>
}
/>
diff --git a/client/src/components/Nav/SearchBar.tsx b/client/src/components/Nav/SearchBar.tsx
index 1e23f757e8..893a3d98f2 100644
--- a/client/src/components/Nav/SearchBar.tsx
+++ b/client/src/components/Nav/SearchBar.tsx
@@ -144,7 +144,7 @@ const SearchBar = forwardRef((props: SearchBarProps, ref: React.Ref<HTMLDivEleme
tabIndex={showClearIcon ? 0 : -1}
disabled={!showClearIcon}
>
- <X className="h-5 w-5 cursor-pointer" />
+ <X className="h-5 w-5 cursor-pointer" aria-hidden="true" />
</button>
</div>
);
diff --git a/client/src/components/Nav/Settings.tsx b/client/src/components/Nav/Settings.tsx
index 868c987070..f7bbd59d3e 100644
--- a/client/src/components/Nav/Settings.tsx
+++ b/client/src/components/Nav/Settings.tsx
@@ -80,17 +80,17 @@ export default function Settings({ open, onOpenChange }: TDialogProps) {
},
{
value: SettingsTabValues.CHAT,
- icon: <MessageSquare className="icon-sm" />,
+ icon: <MessageSquare className="icon-sm" aria-hidden="true" />,
label: 'com_nav_setting_chat',
},
{
value: SettingsTabValues.COMMANDS,
- icon: <Command className="icon-sm" />,
+ icon: <Command className="icon-sm" aria-hidden="true" />,
label: 'com_nav_commands',
},
{
value: SettingsTabValues.SPEECH,
- icon: <SpeechIcon className="icon-sm" />,
+ icon: <SpeechIcon className="icon-sm" aria-hidden="true" />,
label: 'com_nav_setting_speech',
},
...(hasAnyPersonalizationFeature
diff --git a/client/src/components/Nav/SettingsTabs/Account/Avatar.tsx b/client/src/components/Nav/SettingsTabs/Account/Avatar.tsx
index e8b4437368..9bd9069bd0 100644
--- a/client/src/components/Nav/SettingsTabs/Account/Avatar.tsx
+++ b/client/src/components/Nav/SettingsTabs/Account/Avatar.tsx
@@ -170,7 +170,7 @@ function Avatar() {
<span>{localize('com_nav_profile_picture')}</span>
<OGDialogTrigger asChild>
<Button variant="outline">
- <FileImage className="mr-2 flex w-[22px] items-center" />
+ <FileImage className="mr-2 flex w-[22px] items-center" aria-hidden="true" />
<span>{localize('com_nav_change_picture')}</span>
</Button>
</OGDialogTrigger>
@@ -211,7 +211,7 @@ function Avatar() {
{!isDragging && (
<div className="pointer-events-none absolute inset-0 flex items-center justify-center opacity-0 transition-opacity hover:opacity-100">
<div className="rounded-full bg-black/50 p-2">
- <Move className="h-6 w-6 text-white" />
+ <Move className="h-6 w-6 text-white" aria-hidden="true" />
</div>
</div>
)}
@@ -236,7 +236,7 @@ function Avatar() {
aria-label={localize('com_ui_zoom_out')}
className="shrink-0"
>
- <ZoomOut className="h-4 w-4" />
+ <ZoomOut className="h-4 w-4" aria-hidden="true" />
</Button>
<Slider
id="zoom-slider"
@@ -257,7 +257,7 @@ function Avatar() {
aria-label={localize('com_ui_zoom_in')}
className="shrink-0"
>
- <ZoomIn className="h-4 w-4" />
+ <ZoomIn className="h-4 w-4" aria-hidden="true" />
</Button>
</div>
</div>
@@ -270,7 +270,7 @@ function Avatar() {
className="flex items-center space-x-2"
aria-label={localize('com_ui_rotate_90')}
>
- <RotateCw className="h-4 w-4" />
+ <RotateCw className="h-4 w-4" aria-hidden="true" />
<span className="text-sm">{localize('com_ui_rotate')}</span>
</Button>
<Button
@@ -280,7 +280,7 @@ function Avatar() {
className="flex items-center space-x-2"
aria-label={localize('com_ui_reset_adjustments')}
>
- <X className="h-4 w-4" />
+ <X className="h-4 w-4" aria-hidden="true" />
<span className="text-sm">{localize('com_ui_reset')}</span>
</Button>
</div>
@@ -312,7 +312,7 @@ function Avatar() {
{isUploading ? (
<Spinner className="icon-sm mr-2" />
) : (
- <Upload className="mr-2 h-4 w-4" />
+ <Upload className="mr-2 h-4 w-4" aria-hidden="true" />
)}
{localize('com_ui_upload')}
</Button>
diff --git a/client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx b/client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx
index fc3b545f0c..c89ce61fff 100644
--- a/client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx
+++ b/client/src/components/Nav/SettingsTabs/Account/BackupCodesItem.tsx
@@ -171,7 +171,7 @@ const BackupCodesItem: React.FC = () => {
{isLoading ? (
<Spinner className="mr-2" />
) : (
- <RefreshCcw className="mr-2 h-4 w-4" />
+ <RefreshCcw className="mr-2 h-4 w-4" aria-hidden="true" />
)}
{isLoading
? localize('com_ui_regenerating')
diff --git a/client/src/components/Nav/SettingsTabs/Account/DeleteAccount.tsx b/client/src/components/Nav/SettingsTabs/Account/DeleteAccount.tsx
index 29d1608b46..e879a0f2c6 100644
--- a/client/src/components/Nav/SettingsTabs/Account/DeleteAccount.tsx
+++ b/client/src/components/Nav/SettingsTabs/Account/DeleteAccount.tsx
@@ -123,12 +123,12 @@ const renderDeleteButton = (
<>
{isLocked ? (
<>
- <LockIcon className="size-5" />
+ <LockIcon className="size-5" aria-hidden="true" />
<span className="ml-2">{localize('com_ui_locked')}</span>
</>
) : (
<>
- <Trash className="size-5" />
+ <Trash className="size-5" aria-hidden="true" />
<span className="ml-2">{localize('com_nav_delete_account_button')}</span>
</>
)}
diff --git a/client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx b/client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx
index 21cd6a980b..63c7ffa6e5 100644
--- a/client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx
+++ b/client/src/components/Nav/SettingsTabs/Account/TwoFactorAuthentication.tsx
@@ -216,7 +216,7 @@ const TwoFactorAuthentication: React.FC = () => {
>
<OGDialogHeader>
<OGDialogTitle className="mb-2 flex items-center gap-3 text-2xl font-bold">
- <SmartphoneIcon className="h-6 w-6 text-primary" />
+ <SmartphoneIcon className="h-6 w-6 text-primary" aria-hidden="true" />
{user?.twoFactorEnabled
? localize('com_ui_2fa_disable')
: localize('com_ui_2fa_setup')}
diff --git a/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/BackupPhase.tsx b/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/BackupPhase.tsx
index cc986ceda1..48e6fc1bf6 100644
--- a/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/BackupPhase.tsx
+++ b/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/BackupPhase.tsx
@@ -48,7 +48,7 @@ export const BackupPhase: React.FC<BackupPhaseProps> = ({
</div>
<div className="flex gap-4">
<Button variant="outline" onClick={onDownload} className="flex-1 gap-2">
- <Download className="h-4 w-4" />
+ <Download className="h-4 w-4" aria-hidden="true" />
<span className="hidden sm:inline">{localize('com_ui_download_backup')}</span>
</Button>
<Button onClick={onNext} disabled={!downloaded} className="flex-1">
diff --git a/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/QRPhase.tsx b/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/QRPhase.tsx
index 246a090861..ba31a25799 100644
--- a/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/QRPhase.tsx
+++ b/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/QRPhase.tsx
@@ -53,7 +53,11 @@ export const QRPhase: React.FC<QRPhaseProps> = ({ secret, otpauthUrl, onNext })
onClick={handleCopy}
className={cn('h-auto shrink-0', isCopying ? 'cursor-default' : '')}
>
- {isCopying ? <Check className="size-4" /> : <Copy className="size-4" />}
+ {isCopying ? (
+ <Check className="size-4" aria-hidden="true" />
+ ) : (
+ <Copy className="size-4" aria-hidden="true" />
+ )}
</Button>
</div>
</div>
diff --git a/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/SetupPhase.tsx b/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/SetupPhase.tsx
index 14910df786..b7df1d65d7 100644
--- a/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/SetupPhase.tsx
+++ b/client/src/components/Nav/SettingsTabs/Account/TwoFactorPhases/SetupPhase.tsx
@@ -33,7 +33,11 @@ export const SetupPhase: React.FC<SetupPhaseProps> = ({ isGenerating, onGenerate
className="flex w-full"
disabled={isGenerating}
>
- {isGenerating ? <Spinner className="size-5" /> : <QrCode className="size-5" />}
+ {isGenerating ? (
+ <Spinner className="size-5" />
+ ) : (
+ <QrCode className="size-5" aria-hidden="true" />
+ )}
{isGenerating ? localize('com_ui_generating') : localize('com_ui_generate_qrcode')}
</Button>
</div>
diff --git a/client/src/components/Nav/SettingsTabs/DangerButton.tsx b/client/src/components/Nav/SettingsTabs/DangerButton.tsx
index 15084e9ba9..897e674d8b 100644
--- a/client/src/components/Nav/SettingsTabs/DangerButton.tsx
+++ b/client/src/components/Nav/SettingsTabs/DangerButton.tsx
@@ -55,7 +55,7 @@ const DangerButton = (props: TDangerButtonProps, ref: ForwardedRef<HTMLButtonEle
id={`${id}-text`}
data-testid={dataTestIdConfirm}
>
- {renderMutation(<CheckIcon className="h-5 w-5" />)}
+ {renderMutation(<CheckIcon className="h-5 w-5" aria-hidden="true" />)}
{mutation && mutation.isLoading ? null : localize(confirmActionTextCode)}
</div>
) : (
diff --git a/client/src/components/Nav/SettingsTabs/Data/ImportConversations.tsx b/client/src/components/Nav/SettingsTabs/Data/ImportConversations.tsx
index 816c5a2deb..96ddfb88e4 100644
--- a/client/src/components/Nav/SettingsTabs/Data/ImportConversations.tsx
+++ b/client/src/components/Nav/SettingsTabs/Data/ImportConversations.tsx
@@ -120,7 +120,7 @@ function ImportConversations() {
{isUploading ? (
<Spinner className="mr-1 w-4" />
) : (
- <Import className="mr-1 flex h-4 w-4 items-center stroke-1" />
+ <Import className="mr-1 flex h-4 w-4 items-center stroke-1" aria-hidden="true" />
)}
<span>{localize('com_ui_import')}</span>
</Button>
diff --git a/client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx b/client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx
index ebea2ea0bf..f82826aa10 100644
--- a/client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx
+++ b/client/src/components/Nav/SettingsTabs/General/ArchivedChatsTable.tsx
@@ -234,7 +234,7 @@ export default function ArchivedChatsTable({
{unarchiveMutation.isLoading ? (
<Spinner />
) : (
- <ArchiveRestore className="size-4" />
+ <ArchiveRestore className="size-4" aria-hidden="true" />
)}
</Button>
}
@@ -251,7 +251,7 @@ export default function ArchivedChatsTable({
}}
title={localize('com_ui_delete')}
>
- <TrashIcon className="size-4" />
+ <TrashIcon className="size-4" aria-hidden="true" />
</Button>
}
/>
diff --git a/client/src/components/Nav/SettingsTabs/Speech/Speech.tsx b/client/src/components/Nav/SettingsTabs/Speech/Speech.tsx
index ee4c1eb09d..c3ea966e2d 100644
--- a/client/src/components/Nav/SettingsTabs/Speech/Speech.tsx
+++ b/client/src/components/Nav/SettingsTabs/Speech/Speech.tsx
@@ -167,7 +167,7 @@ function Speech() {
value="simple"
style={{ userSelect: 'none' }}
>
- <Lightbulb />
+ <Lightbulb aria-hidden="true" />
{localize('com_ui_simple')}
</Tabs.Trigger>
<Tabs.Trigger
@@ -180,7 +180,7 @@ function Speech() {
value="advanced"
style={{ userSelect: 'none' }}
>
- <Cog />
+ <Cog aria-hidden="true" />
{localize('com_ui_advanced')}
</Tabs.Trigger>
</Tabs.List>
diff --git a/client/src/components/Plugins/Store/PluginAuthForm.tsx b/client/src/components/Plugins/Store/PluginAuthForm.tsx
index f7a214e88b..68fb41f7a2 100644
--- a/client/src/components/Plugins/Store/PluginAuthForm.tsx
+++ b/client/src/components/Plugins/Store/PluginAuthForm.tsx
@@ -93,7 +93,7 @@ function PluginAuthForm({ plugin, onSubmit, isEntityTool }: TPluginAuthFormProps
>
<div className="flex items-center justify-center gap-2">
{localize('com_ui_save')}
- <Save className="flex h-4 w-4 items-center stroke-2" />
+ <Save className="flex h-4 w-4 items-center stroke-2" aria-hidden="true" />
</div>
</button>
</form>
diff --git a/client/src/components/Plugins/Store/PluginStoreDialog.tsx b/client/src/components/Plugins/Store/PluginStoreDialog.tsx
index b54fdada34..2b8e820700 100644
--- a/client/src/components/Plugins/Store/PluginStoreDialog.tsx
+++ b/client/src/components/Plugins/Store/PluginStoreDialog.tsx
@@ -181,14 +181,13 @@ function PluginStoreDialog({ isOpen, setIsOpen }: TPluginStoreDialogProps) {
<div className="mt-4 flex flex-col gap-4">
<div className="flex items-center">
<div className="relative flex items-center">
- <Search className="absolute left-2 h-6 w-6 text-gray-500" />
+ <Search className="absolute left-2 h-6 w-6 text-gray-500" aria-hidden="true" />
<input
type="text"
value={searchValue}
onChange={handleSearch}
placeholder={localize('com_nav_plugin_search')}
- className="
- text-token-text-primary flex rounded-md border border-border-heavy bg-surface-tertiary py-2 pl-10 pr-2"
+ className="text-token-text-primary flex rounded-md border border-border-heavy bg-surface-tertiary py-2 pl-10 pr-2"
/>
</div>
</div>
diff --git a/client/src/components/Plugins/Store/PluginStoreItem.tsx b/client/src/components/Plugins/Store/PluginStoreItem.tsx
index 6221c8dead..83e169f528 100644
--- a/client/src/components/Plugins/Store/PluginStoreItem.tsx
+++ b/client/src/components/Plugins/Store/PluginStoreItem.tsx
@@ -45,7 +45,10 @@ function PluginStoreItem({ plugin, onInstall, onUninstall, isInstalled }: TPlugi
>
<div className="flex w-full items-center justify-center gap-2">
{localize('com_nav_plugin_install')}
- <DownloadCloud className="flex h-4 w-4 items-center stroke-2" />
+ <DownloadCloud
+ className="flex h-4 w-4 items-center stroke-2"
+ aria-hidden="true"
+ />
</div>
</button>
) : (
@@ -56,7 +59,7 @@ function PluginStoreItem({ plugin, onInstall, onUninstall, isInstalled }: TPlugi
>
<div className="flex w-full items-center justify-center gap-2">
{localize('com_nav_plugin_uninstall')}
- <XCircle className="flex h-4 w-4 items-center stroke-2" />
+ <XCircle className="flex h-4 w-4 items-center stroke-2" aria-hidden="true" />
</div>
</button>
)}
diff --git a/client/src/components/Prompts/AdminSettings.tsx b/client/src/components/Prompts/AdminSettings.tsx
index 7b25db721c..629f5bfecc 100644
--- a/client/src/components/Prompts/AdminSettings.tsx
+++ b/client/src/components/Prompts/AdminSettings.tsx
@@ -208,7 +208,7 @@ const AdminSettings = () => {
className="inline-flex items-center text-blue-500 underline"
>
{localize('com_ui_more_info')}
- <ExternalLink size={16} className="ml-1" />
+ <ExternalLink size={16} className="ml-1" aria-hidden="true" />
</a>
</div>
</>
diff --git a/client/src/components/Prompts/BackToChat.tsx b/client/src/components/Prompts/BackToChat.tsx
index db107c08be..c8e28ba2fe 100644
--- a/client/src/components/Prompts/BackToChat.tsx
+++ b/client/src/components/Prompts/BackToChat.tsx
@@ -19,7 +19,7 @@ export default function BackToChat({ className }: { className?: string }) {
href="/"
onClick={clickHandler}
>
- <ArrowLeft className="icon-xs mr-2" />
+ <ArrowLeft className="icon-xs mr-2" aria-hidden="true" />
{localize('com_ui_back_to_chat')}
</a>
);
diff --git a/client/src/components/Prompts/DeleteVersion.tsx b/client/src/components/Prompts/DeleteVersion.tsx
index 8a7f6109b8..428be89c91 100644
--- a/client/src/components/Prompts/DeleteVersion.tsx
+++ b/client/src/components/Prompts/DeleteVersion.tsx
@@ -28,7 +28,7 @@ const DeleteConfirmDialog = ({
e.stopPropagation();
}}
>
- <Trash2 className="size-5 cursor-pointer text-white" />
+ <Trash2 className="size-5 cursor-pointer text-white" aria-hidden="true" />
</Button>
</OGDialogTrigger>
<OGDialogTemplate
diff --git a/client/src/components/Prompts/Groups/List.tsx b/client/src/components/Prompts/Groups/List.tsx
index 2a7cdc4619..94d3f45602 100644
--- a/client/src/components/Prompts/Groups/List.tsx
+++ b/client/src/components/Prompts/Groups/List.tsx
@@ -36,7 +36,7 @@ export default function List({
onClick={() => navigate('/d/prompts/new')}
aria-label={localize('com_ui_create_prompt')}
>
- <Plus className="size-4" aria-hidden />
+ <Plus className="size-4" aria-hidden="true" />
{localize('com_ui_create_prompt')}
</Button>
</div>
diff --git a/client/src/components/Prompts/PromptForm.tsx b/client/src/components/Prompts/PromptForm.tsx
index e1ba411c09..8ccf895540 100644
--- a/client/src/components/Prompts/PromptForm.tsx
+++ b/client/src/components/Prompts/PromptForm.tsx
@@ -130,7 +130,7 @@ const RightPanel = React.memo(
!canEdit
}
>
- <Rocket className="size-5 cursor-pointer text-white" />
+ <Rocket className="size-5 cursor-pointer text-white" aria-hidden="true" />
</Button>
)}
<DeleteVersion
@@ -422,7 +422,7 @@ const PromptForm = () => {
onClick={() => setShowSidePanel(true)}
aria-label={localize('com_endpoint_open_menu')}
>
- <Menu className="size-5" />
+ <Menu className="size-5" aria-hidden="true" />
</Button>
<div className="hidden lg:block">
{editorMode === PromptsEditorMode.SIMPLE && (
diff --git a/client/src/components/Prompts/SharePrompt.tsx b/client/src/components/Prompts/SharePrompt.tsx
index ea5bfe62dc..aeb9543140 100644
--- a/client/src/components/Prompts/SharePrompt.tsx
+++ b/client/src/components/Prompts/SharePrompt.tsx
@@ -60,7 +60,7 @@ const SharePrompt = React.memo(
className="h-10 w-10 border border-transparent bg-blue-500/90 p-0.5 transition-all hover:bg-blue-600 dark:bg-blue-600 dark:hover:bg-blue-800"
disabled={disabled}
>
- <Share2Icon className="size-5 cursor-pointer text-white" />
+ <Share2Icon className="size-5 cursor-pointer text-white" aria-hidden="true" />
</Button>
</GenericGrantAccessDialog>
);
diff --git a/client/src/components/Sharing/AccessRolesPicker.tsx b/client/src/components/Sharing/AccessRolesPicker.tsx
index 484ed07126..1e77bccac3 100644
--- a/client/src/components/Sharing/AccessRolesPicker.tsx
+++ b/client/src/components/Sharing/AccessRolesPicker.tsx
@@ -80,7 +80,7 @@ export default function AccessRolesPicker({
<span className="font-medium">
{selectedRoleInfo?.name || localize('com_ui_select')}
</span>
- <ChevronDown className="h-4 w-4 text-text-secondary" />
+ <ChevronDown className="h-4 w-4 text-text-secondary" aria-hidden="true" />
</Ariakit.MenuButton>
}
items={dropdownItems}
diff --git a/client/src/components/Sharing/GenericGrantAccessDialog.tsx b/client/src/components/Sharing/GenericGrantAccessDialog.tsx
index 2b06812cf8..b612526630 100644
--- a/client/src/components/Sharing/GenericGrantAccessDialog.tsx
+++ b/client/src/components/Sharing/GenericGrantAccessDialog.tsx
@@ -241,7 +241,7 @@ export default function GenericGrantAccessDialog({
>
<div className="flex min-w-[32px] items-center justify-center gap-2 text-blue-500">
<span className="flex h-6 w-6 items-center justify-center">
- <Share2Icon className="icon-md h-4 w-4" />
+ <Share2Icon className="icon-md h-4 w-4" aria-hidden="true" />
</span>
{totalCurrentShares > 0 && (
<Label className="text-sm font-medium text-text-secondary">{totalCurrentShares}</Label>
@@ -256,7 +256,7 @@ export default function GenericGrantAccessDialog({
<OGDialogContent className="max-h-[90vh] w-11/12 overflow-y-auto md:max-w-3xl">
<OGDialogTitle>
<div className="flex items-center gap-2">
- <Users className="h-5 w-5" />
+ <Users className="h-5 w-5" aria-hidden="true" />
{localize('com_ui_share_var', {
0: config?.getShareMessage(resourceName),
})}
@@ -270,7 +270,7 @@ export default function GenericGrantAccessDialog({
{hasPeoplePickerAccess && (
<div className="space-y-2">
<h4 className="mb-2 flex items-center gap-2 text-sm font-medium text-text-primary">
- <UserCheck className="h-4 w-4" />
+ <UserCheck className="h-4 w-4" aria-hidden="true" />
{localize('com_ui_user_group_permissions')} ( {allShares.length} )
</h4>
@@ -295,7 +295,7 @@ export default function GenericGrantAccessDialog({
if (allShares.length === 0 && !hasChanges) {
return (
<div className="rounded-lg border-2 border-dashed border-border-light p-8 text-center">
- <Users className="mx-auto h-8 w-8 text-text-primary" />
+ <Users className="mx-auto h-8 w-8 text-text-primary" aria-hidden="true" />
<p className="mt-2 text-sm text-text-primary">
{localize('com_ui_no_individual_access')}
</p>
@@ -311,7 +311,7 @@ export default function GenericGrantAccessDialog({
{!hasAtLeastOneOwner && hasChanges && (
<div className="rounded-lg border border-destructive/30 bg-destructive/10 p-3 text-center">
<div className="flex items-center justify-center gap-2 text-sm text-red-600 dark:text-red-400">
- <UserX className="h-4 w-4" />
+ <UserX className="h-4 w-4" aria-hidden="true" />
{localize('com_ui_at_least_one_owner_required')}
</div>
</div>
@@ -363,7 +363,11 @@ export default function GenericGrantAccessDialog({
: localize('com_ui_copy_url_to_clipboard')
}
>
- {isCopying ? <CopyCheck className="h-4 w-4" /> : <Link className="h-4 w-4" />}
+ {isCopying ? (
+ <CopyCheck className="h-4 w-4" aria-hidden="true" />
+ ) : (
+ <Link className="h-4 w-4" aria-hidden="true" />
+ )}
</Button>
)}
</div>
diff --git a/client/src/components/Sharing/PeoplePicker/SearchPicker.tsx b/client/src/components/Sharing/PeoplePicker/SearchPicker.tsx
index 4cd78015e8..9c5f08b433 100644
--- a/client/src/components/Sharing/PeoplePicker/SearchPicker.tsx
+++ b/client/src/components/Sharing/PeoplePicker/SearchPicker.tsx
@@ -85,7 +85,10 @@ export function SearchPicker<TOption extends { key: string; value: string }>({
{isLoading ? (
<Spinner className="absolute left-3 h-4 w-4" />
) : (
- <Search className="absolute left-3 h-4 w-4 text-text-secondary group-focus-within:text-text-primary group-hover:text-text-primary" />
+ <Search
+ className="absolute left-3 h-4 w-4 text-text-secondary group-focus-within:text-text-primary group-hover:text-text-primary"
+ aria-hidden="true"
+ />
)}
<Ariakit.Combobox
ref={inputRef}
diff --git a/client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx b/client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx
index ddfce5fa58..b74b212669 100644
--- a/client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx
+++ b/client/src/components/Sharing/PeoplePicker/SelectedPrincipalsList.tsx
@@ -38,7 +38,7 @@ export default function SelectedPrincipalsList({
return (
<div className={`space-y-3 ${className}`}>
<div className="rounded-lg border border-dashed border-border-medium py-8 text-center text-muted-foreground">
- <Users className="mx-auto mb-2 h-8 w-8 opacity-50" />
+ <Users className="mx-auto mb-2 h-8 w-8 opacity-50" aria-hidden="true" />
<p className="mt-1 text-xs">{localize('com_ui_search_above_to_add_all')}</p>
</div>
</div>
@@ -64,7 +64,7 @@ export default function SelectedPrincipalsList({
<span>{subtitle}</span>
{share.source === 'entra' && (
<>
- <ExternalLink className="h-3 w-3" />
+ <ExternalLink className="h-3 w-3" aria-hidden="true" />
<span>{localize('com_ui_azure_ad')}</span>
</>
)}
@@ -89,7 +89,7 @@ export default function SelectedPrincipalsList({
className="h-9 w-9 p-0 hover:border-destructive/10 hover:bg-destructive/10 hover:text-destructive"
aria-label={localize('com_ui_remove_user', { 0: displayName })}
>
- <X className="h-4 w-4" />
+ <X className="h-4 w-4" aria-hidden="true" />
</Button>
</div>
</div>
diff --git a/client/src/components/SidePanel/Agents/Advanced/AdvancedPanel.tsx b/client/src/components/SidePanel/Agents/Advanced/AdvancedPanel.tsx
index 6bc4cf5a0d..0da227949d 100644
--- a/client/src/components/SidePanel/Agents/Advanced/AdvancedPanel.tsx
+++ b/client/src/components/SidePanel/Agents/Advanced/AdvancedPanel.tsx
@@ -35,7 +35,7 @@ export default function AdvancedPanel() {
aria-label={localize('com_ui_back_to_builder')}
>
<div className="advanced-panel-content flex w-full items-center justify-center gap-2">
- <ChevronLeft />
+ <ChevronLeft aria-hidden="true" />
</div>
</button>
</div>
diff --git a/client/src/components/SidePanel/Agents/Advanced/AgentChain.tsx b/client/src/components/SidePanel/Agents/Advanced/AgentChain.tsx
index 4bf30078ad..a25998d175 100644
--- a/client/src/components/SidePanel/Agents/Advanced/AgentChain.tsx
+++ b/client/src/components/SidePanel/Agents/Advanced/AgentChain.tsx
@@ -150,7 +150,7 @@ const AgentChain: React.FC<AgentChainProps> = ({ field, currentAgentId }) => {
0: getAgentDetails(agentId)?.name || localize('com_ui_agent'),
})}
>
- <X size={18} className="text-text-secondary" />
+ <X size={18} className="text-text-secondary" aria-hidden="true" />
</button>
</div>
{idx < agentIds.length - 1 && (
diff --git a/client/src/components/SidePanel/Agents/AgentPanel.tsx b/client/src/components/SidePanel/Agents/AgentPanel.tsx
index 6106a39cd6..06a3e912ea 100644
--- a/client/src/components/SidePanel/Agents/AgentPanel.tsx
+++ b/client/src/components/SidePanel/Agents/AgentPanel.tsx
@@ -512,7 +512,7 @@ export default function AgentPanel() {
localize('com_ui_agent')
}
>
- <Plus className="mr-1 h-4 w-4" />
+ <Plus className="mr-1 h-4 w-4" aria-hidden="true" />
{localize('com_ui_create') +
' ' +
localize('com_ui_new') +
diff --git a/client/src/components/SidePanel/Agents/Code/Action.tsx b/client/src/components/SidePanel/Agents/Code/Action.tsx
index a9f60b07fe..4ddc6812e3 100644
--- a/client/src/components/SidePanel/Agents/Code/Action.tsx
+++ b/client/src/components/SidePanel/Agents/Code/Action.tsx
@@ -87,7 +87,7 @@ export default function Action({ authType = '', isToolAuthenticated = false }) {
onClick={() => setIsDialogOpen(true)}
aria-label={localize('com_ui_add_api_key')}
>
- <KeyRoundIcon className="h-5 w-5 text-text-primary" />
+ <KeyRoundIcon className="h-5 w-5 text-text-primary" aria-hidden="true" />
</button>
)}
<HoverCardTrigger>
diff --git a/client/src/components/SidePanel/Agents/MCPTool.tsx b/client/src/components/SidePanel/Agents/MCPTool.tsx
index e0217ed3ce..24d82f8381 100644
--- a/client/src/components/SidePanel/Agents/MCPTool.tsx
+++ b/client/src/components/SidePanel/Agents/MCPTool.tsx
@@ -291,7 +291,7 @@ export default function MCPTool({ serverInfo }: { serverInfo?: MCPServerInfo })
<Ariakit.VisuallyHidden>
{localize('com_ui_tool_more_info')}
</Ariakit.VisuallyHidden>
- <ChevronDown className="h-4 w-4" />
+ <ChevronDown className="h-4 w-4" aria-hidden="true" />
</Ariakit.HovercardDisclosure>
</div>
<Ariakit.Hovercard
diff --git a/client/src/components/SidePanel/Agents/Search/InputSection.tsx b/client/src/components/SidePanel/Agents/Search/InputSection.tsx
index a99abb0172..caeb5fb1ba 100644
--- a/client/src/components/SidePanel/Agents/Search/InputSection.tsx
+++ b/client/src/components/SidePanel/Agents/Search/InputSection.tsx
@@ -114,9 +114,15 @@ export default function InputSection({
>
<div className="relative h-4 w-4">
{passwordVisibility[name] ? (
- <EyeOff className="absolute inset-0 h-4 w-4 duration-200 animate-in fade-in" />
+ <EyeOff
+ className="absolute inset-0 h-4 w-4 duration-200 animate-in fade-in"
+ aria-hidden="true"
+ />
) : (
- <Eye className="absolute inset-0 h-4 w-4 duration-200 animate-in fade-in" />
+ <Eye
+ className="absolute inset-0 h-4 w-4 duration-200 animate-in fade-in"
+ aria-hidden="true"
+ />
)}
</div>
</button>
diff --git a/client/src/components/SidePanel/Bookmarks/BookmarkTable.tsx b/client/src/components/SidePanel/Bookmarks/BookmarkTable.tsx
index 8565e89222..8db2f62799 100644
--- a/client/src/components/SidePanel/Bookmarks/BookmarkTable.tsx
+++ b/client/src/components/SidePanel/Bookmarks/BookmarkTable.tsx
@@ -115,7 +115,7 @@ const BookmarkTable = () => {
aria-label={localize('com_ui_bookmarks_new')}
onClick={() => setOpen(!open)}
>
- <BookmarkPlusIcon className="size-4" />
+ <BookmarkPlusIcon className="size-4" aria-hidden="true" />
<div className="break-all">{localize('com_ui_bookmarks_new')}</div>
</Button>
</OGDialogTrigger>
diff --git a/client/src/components/SidePanel/Builder/ActionCallback.tsx b/client/src/components/SidePanel/Builder/ActionCallback.tsx
index f0e6006e52..e319a81dca 100644
--- a/client/src/components/SidePanel/Builder/ActionCallback.tsx
+++ b/client/src/components/SidePanel/Builder/ActionCallback.tsx
@@ -52,7 +52,11 @@ export default function ActionCallback({ action_id }: { action_id?: string }) {
className={cn('h-8 rounded-md px-2', isCopying ? 'cursor-default' : '')}
aria-label={localize('com_ui_copy_link')}
>
- {isCopying ? <CopyCheck className="size-4" /> : <Copy className="size-4" />}
+ {isCopying ? (
+ <CopyCheck className="size-4" aria-hidden="true" />
+ ) : (
+ <Copy className="size-4" aria-hidden="true" />
+ )}
</Button>
</div>
</div>
diff --git a/client/src/components/SidePanel/Builder/AssistantConversationStarters.tsx b/client/src/components/SidePanel/Builder/AssistantConversationStarters.tsx
index 01b45c27d5..e41cee1f54 100644
--- a/client/src/components/SidePanel/Builder/AssistantConversationStarters.tsx
+++ b/client/src/components/SidePanel/Builder/AssistantConversationStarters.tsx
@@ -118,7 +118,7 @@ const AssistantConversationStarters: React.FC<AssistantConversationStartersProps
onClick={handleAddStarter}
disabled={hasReachedMax}
>
- <Plus className="size-4" />
+ <Plus className="size-4" aria-hidden="true" />
</TooltipAnchor>
</div>
)}
@@ -145,7 +145,7 @@ const AssistantConversationStarters: React.FC<AssistantConversationStartersProps
className="absolute right-1 top-1 flex size-7 items-center justify-center rounded-lg transition-colors duration-200 hover:bg-surface-hover"
onClick={() => handleDeleteStarter(index)}
>
- <X className="size-4" />
+ <X className="size-4" aria-hidden="true" />
</TooltipAnchor>
</div>
))}
diff --git a/client/src/components/SidePanel/Files/PanelColumns.tsx b/client/src/components/SidePanel/Files/PanelColumns.tsx
index e47520b7b7..b0eec70886 100644
--- a/client/src/components/SidePanel/Files/PanelColumns.tsx
+++ b/client/src/components/SidePanel/Files/PanelColumns.tsx
@@ -20,7 +20,7 @@ export const columns: ColumnDef<TFile | undefined>[] = [
aria-label={localize('com_ui_name')}
>
{localize('com_ui_name')}
- <ArrowUpDown className="ml-2 h-4 w-4" />
+ <ArrowUpDown className="ml-2 h-4 w-4" aria-hidden="true" />
</Button>
);
},
diff --git a/client/src/components/SidePanel/MCP/MCPPanel.tsx b/client/src/components/SidePanel/MCP/MCPPanel.tsx
index 062207971a..f12c88c366 100644
--- a/client/src/components/SidePanel/MCP/MCPPanel.tsx
+++ b/client/src/components/SidePanel/MCP/MCPPanel.tsx
@@ -133,7 +133,7 @@ function MCPPanelContent() {
size="sm"
aria-label={localize('com_ui_back')}
>
- <ChevronLeft className="mr-1 h-4 w-4" />
+ <ChevronLeft className="mr-1 h-4 w-4" aria-hidden="true" />
{localize('com_ui_back')}
</Button>
@@ -173,7 +173,7 @@ function MCPPanelContent() {
onClick={() => handleConfigRevoke(selectedServerNameForEditing)}
aria-label={localize('com_ui_oauth_revoke')}
>
- <Trash2 className="h-4 w-4" />
+ <Trash2 className="h-4 w-4" aria-hidden="true" />
{localize('com_ui_oauth_revoke')}
</Button>
)}
diff --git a/client/src/components/SidePanel/Memories/MemoryViewer.tsx b/client/src/components/SidePanel/Memories/MemoryViewer.tsx
index d69db3d222..f9f9c45b08 100644
--- a/client/src/components/SidePanel/Memories/MemoryViewer.tsx
+++ b/client/src/components/SidePanel/Memories/MemoryViewer.tsx
@@ -310,7 +310,7 @@ export default function MemoryViewer() {
className="w-full bg-transparent"
aria-label={localize('com_ui_create_memory')}
>
- <Plus className="size-4" aria-hidden />
+ <Plus className="size-4" aria-hidden="true" />
{localize('com_ui_create_memory')}
</Button>
</OGDialogTrigger>
diff --git a/client/src/components/SidePanel/Nav.tsx b/client/src/components/SidePanel/Nav.tsx
index 5385a62e23..b4319b4a0e 100644
--- a/client/src/components/SidePanel/Nav.tsx
+++ b/client/src/components/SidePanel/Nav.tsx
@@ -74,7 +74,7 @@ function NavContent({ links, isCollapsed, resize }: Omit<NavProps, 'defaultActiv
}
}}
>
- <link.icon className="mr-2 h-4 w-4" />
+ <link.icon className="mr-2 h-4 w-4" aria-hidden="true" />
{localize(link.title)}
{link.label != null && link.label && (
<span
diff --git a/client/src/components/Tools/MCPToolItem.tsx b/client/src/components/Tools/MCPToolItem.tsx
index 9fdf01eb08..2cb13b811c 100644
--- a/client/src/components/Tools/MCPToolItem.tsx
+++ b/client/src/components/Tools/MCPToolItem.tsx
@@ -37,7 +37,7 @@ function MCPToolItem({
if (isInstalled) {
return {
text: localize('com_nav_tool_remove'),
- icon: <XCircle className="flex h-4 w-4 items-center stroke-2" />,
+ icon: <XCircle className="flex h-4 w-4 items-center stroke-2" aria-hidden="true" />,
className:
'btn relative bg-gray-300 hover:bg-gray-400 dark:bg-gray-50 dark:hover:bg-gray-200',
disabled: false,
@@ -47,7 +47,7 @@ function MCPToolItem({
if (isConfiguring) {
return {
text: localize('com_ui_confirm'),
- icon: <PlusCircleIcon className="flex h-4 w-4 items-center stroke-2" />,
+ icon: <PlusCircleIcon className="flex h-4 w-4 items-center stroke-2" aria-hidden="true" />,
className: 'btn btn-primary relative',
disabled: false,
};
@@ -56,7 +56,7 @@ function MCPToolItem({
if (isInitializing) {
return {
text: localize('com_ui_initializing'),
- icon: <Wrench className="flex h-4 w-4 items-center stroke-2" />,
+ icon: <Wrench className="flex h-4 w-4 items-center stroke-2" aria-hidden="true" />,
className: 'btn btn-primary relative opacity-75 cursor-not-allowed',
disabled: true,
};
@@ -64,7 +64,7 @@ function MCPToolItem({
return {
text: localize('com_ui_add'),
- icon: <PlusCircleIcon className="flex h-4 w-4 items-center stroke-2" />,
+ icon: <PlusCircleIcon className="flex h-4 w-4 items-center stroke-2" aria-hidden="true" />,
className: 'btn btn-primary relative',
disabled: false,
};
diff --git a/client/src/components/Tools/ToolItem.tsx b/client/src/components/Tools/ToolItem.tsx
index 501c08848a..99e5a4b67c 100644
--- a/client/src/components/Tools/ToolItem.tsx
+++ b/client/src/components/Tools/ToolItem.tsx
@@ -58,7 +58,7 @@ function ToolItem({ tool, onAddTool, onRemoveTool, isInstalled = false }: ToolIt
>
<div className="flex w-full items-center justify-center gap-2">
{localize('com_ui_add')}
- <PlusCircleIcon className="flex h-4 w-4 items-center stroke-2" />
+ <PlusCircleIcon className="flex h-4 w-4 items-center stroke-2" aria-hidden="true" />
</div>
</button>
) : (
@@ -69,7 +69,7 @@ function ToolItem({ tool, onAddTool, onRemoveTool, isInstalled = false }: ToolIt
>
<div className="flex w-full items-center justify-center gap-2">
{localize('com_nav_tool_remove')}
- <XCircle className="flex h-4 w-4 items-center stroke-2" />
+ <XCircle className="flex h-4 w-4 items-center stroke-2" aria-hidden="true" />
</div>
</button>
)}
diff --git a/client/src/components/Web/SourceHovercard.tsx b/client/src/components/Web/SourceHovercard.tsx
index fee9225490..242b35047f 100644
--- a/client/src/components/Web/SourceHovercard.tsx
+++ b/client/src/components/Web/SourceHovercard.tsx
@@ -91,7 +91,7 @@ export function SourceHovercard({
/>
<Ariakit.HovercardDisclosure className="ml-0.5 rounded-full text-text-primary focus:outline-none focus:ring-2 focus:ring-ring">
<VisuallyHidden>{localize('com_citation_more_details', { label })}</VisuallyHidden>
- <ChevronDown className="icon-sm" />
+ <ChevronDown className="icon-sm" aria-hidden="true" />
</Ariakit.HovercardDisclosure>
<Ariakit.Hovercard
diff --git a/client/src/components/Web/Sources.tsx b/client/src/components/Web/Sources.tsx
index 21242b85fb..320cf348bc 100644
--- a/client/src/components/Web/Sources.tsx
+++ b/client/src/components/Web/Sources.tsx
@@ -84,7 +84,7 @@ function SourceItem({ source, expanded = false }: SourceItemProps) {
<VisuallyHidden>
{localize('com_citation_more_details', { label: domain })}
</VisuallyHidden>
- <ChevronDown className="icon-sm" />
+ <ChevronDown className="icon-sm" aria-hidden="true" />
</Ariakit.HovercardDisclosure>
<Ariakit.Hovercard
@@ -298,7 +298,7 @@ const FileItem = React.memo(function FileItem({
<span className="truncate text-xs font-medium text-text-secondary">
{localize('com_sources_agent_file')}
</span>
- {!isLocalFile && <Download className="ml-auto h-3 w-3" />}
+ {!isLocalFile && <Download className="ml-auto h-3 w-3" aria-hidden="true" />}
</div>
<div className="mt-1 min-w-0">
<span className="line-clamp-2 break-all text-left text-sm font-medium text-text-primary md:line-clamp-3">
@@ -337,7 +337,7 @@ const FileItem = React.memo(function FileItem({
<span className="truncate text-xs font-medium text-text-secondary">
{localize('com_sources_agent_file')}
</span>
- {!isLocalFile && <Download className="ml-auto h-3 w-3" />}
+ {!isLocalFile && <Download className="ml-auto h-3 w-3" aria-hidden="true" />}
</div>
<div className="mt-1 min-w-0">
<span className="line-clamp-2 break-all text-left text-sm font-medium text-text-primary md:line-clamp-3">
@@ -428,7 +428,7 @@ const SourcesGroup = React.memo(function SourcesGroup({
className="rounded-full p-1 text-text-secondary hover:bg-surface-tertiary hover:text-text-primary"
aria-label={localize('com_ui_close')}
>
- <X className="h-4 w-4" />
+ <X className="h-4 w-4" aria-hidden="true" />
</OGDialogClose>
</div>
<div className="flex-1 overflow-y-auto px-3 py-2">
@@ -524,7 +524,7 @@ function FilesGroup({ files, messageId, conversationId, limit = 3 }: FilesGroupP
className="rounded-full p-1 text-text-secondary hover:bg-surface-tertiary hover:text-text-primary"
aria-label={localize('com_ui_close')}
>
- <X className="h-4 w-4" />
+ <X className="h-4 w-4" aria-hidden="true" />
</OGDialogClose>
</div>
<div className="flex-1 overflow-y-auto px-3 py-2">
@@ -549,7 +549,7 @@ function FilesGroup({ files, messageId, conversationId, limit = 3 }: FilesGroupP
function TabWithIcon({ label, icon }: { label: string; icon: React.ReactNode }) {
return (
<div className="flex items-center gap-2 rounded-md px-3 py-1 text-sm transition-colors hover:bg-surface-tertiary hover:text-text-primary">
- {React.cloneElement(icon as React.ReactElement, { size: 14 })}
+ {React.cloneElement(icon as React.ReactElement, { size: 14, 'aria-hidden': true })}
<span>{label}</span>
</div>
);
diff --git a/packages/client/src/components/Badge.tsx b/packages/client/src/components/Badge.tsx
index 1e4394a7e4..0a92d16c69 100644
--- a/packages/client/src/components/Badge.tsx
+++ b/packages/client/src/components/Badge.tsx
@@ -92,6 +92,7 @@ export default function Badge({
'@container-[600px]:h-4 @container-[600px]:w-4 relative h-5 w-5',
!label && 'mx-auto',
)}
+ aria-hidden="true"
/>
)}
<span className="@container-[600px]:inline relative hidden">{label}</span>
diff --git a/packages/client/src/components/Dialog.tsx b/packages/client/src/components/Dialog.tsx
index 4be440ccd7..572faf9100 100644
--- a/packages/client/src/components/Dialog.tsx
+++ b/packages/client/src/components/Dialog.tsx
@@ -68,7 +68,7 @@ const DialogContent = React.forwardRef<
{children}
{showCloseButton && (
<DialogPrimitive.Close className="absolute right-6 top-[1.6rem] rounded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-gray-400 focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-gray-100 dark:focus:ring-white dark:focus:ring-offset-gray-700 dark:data-[state=open]:bg-gray-800">
- <X className="h-5 w-5 text-black dark:text-white" />
+ <X className="h-5 w-5 text-black dark:text-white" aria-hidden="true" />
<span className="sr-only">Close</span>
</DialogPrimitive.Close>
)}
diff --git a/packages/client/src/components/OriginalDialog.tsx b/packages/client/src/components/OriginalDialog.tsx
index bbf375c196..a10cbb33b1 100644
--- a/packages/client/src/components/OriginalDialog.tsx
+++ b/packages/client/src/components/OriginalDialog.tsx
@@ -80,7 +80,7 @@ const DialogContent = React.forwardRef<
{children}
{showCloseButton && (
<DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-ring-primary ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
- <X className="h-4 w-4" />
+ <X className="h-4 w-4" aria-hidden="true" />
{/* eslint-disable-next-line i18next/no-literal-string */}
<span className="sr-only">Close</span>
</DialogPrimitive.Close>
diff --git a/packages/client/src/components/Pagination.tsx b/packages/client/src/components/Pagination.tsx
index 84779ee487..815befaccc 100644
--- a/packages/client/src/components/Pagination.tsx
+++ b/packages/client/src/components/Pagination.tsx
@@ -63,7 +63,7 @@ const PaginationPrevious = ({
className={cn('gap-1 pl-2.5', className)}
{...props}
>
- <ChevronLeft className="h-4 w-4" />
+ <ChevronLeft className="h-4 w-4" aria-hidden="true" />
<span>Previous</span>
</PaginationLink>
);
@@ -77,7 +77,7 @@ const PaginationNext = ({ className, ...props }: React.ComponentProps<typeof Pag
{...props}
>
<span>Next</span>
- <ChevronRight className="h-4 w-4" />
+ <ChevronRight className="h-4 w-4" aria-hidden="true" />
</PaginationLink>
);
PaginationNext.displayName = 'PaginationNext';
@@ -88,7 +88,7 @@ const PaginationEllipsis = ({ className, ...props }: React.ComponentProps<'span'
className={cn('flex h-9 w-9 items-center justify-center', className)}
{...props}
>
- <MoreHorizontal className="h-4 w-4" />
+ <MoreHorizontal className="h-4 w-4" aria-hidden="true" />
<span className="sr-only">More pages</span>
</span>
);
diff --git a/packages/client/src/components/Radio.tsx b/packages/client/src/components/Radio.tsx
index 2e770775ea..3805d0b66a 100644
--- a/packages/client/src/components/Radio.tsx
+++ b/packages/client/src/components/Radio.tsx
@@ -102,7 +102,11 @@ const Radio = memo(function Radio({
currentValue === option.value ? 'text-foreground' : 'text-foreground'
} ${disabled ? 'cursor-not-allowed opacity-50' : ''} ${fullWidth ? 'flex-1' : ''}`}
>
- {option.icon && <span className="flex-shrink-0">{option.icon}</span>}
+ {option.icon && (
+ <span className="flex-shrink-0" aria-hidden="true">
+ {option.icon}
+ </span>
+ )}
<span className="whitespace-nowrap">{option.label}</span>
</button>
))}
diff --git a/packages/client/src/components/Tag.tsx b/packages/client/src/components/Tag.tsx
index 4d17617d65..1ae58b5cc1 100644
--- a/packages/client/src/components/Tag.tsx
+++ b/packages/client/src/components/Tag.tsx
@@ -38,7 +38,7 @@ const TagPrimitiveRoot = React.forwardRef<HTMLDivElement, TagProps>(
className="rounded-full bg-green-600/50"
aria-label={`Remove ${label}`}
>
- <X className="m-[1.5px] p-1" />
+ <X className="m-[1.5px] p-1" aria-hidden="true" />
</button>
)}
</div>
diff --git a/packages/client/src/components/ThemeSelector.tsx b/packages/client/src/components/ThemeSelector.tsx
index e05baab7d5..e5724be88e 100644
--- a/packages/client/src/components/ThemeSelector.tsx
+++ b/packages/client/src/components/ThemeSelector.tsx
@@ -12,9 +12,9 @@ type ThemeType = 'system' | 'dark' | 'light';
const Theme = ({ theme, onChange }: { theme: string; onChange: (value: string) => void }) => {
const themeIcons: Record<ThemeType, JSX.Element> = {
- system: <Monitor />,
- dark: <Moon color="white" />,
- light: <Sun />,
+ system: <Monitor aria-hidden="true" />,
+ dark: <Moon color="white" aria-hidden="true" />,
+ light: <Sun aria-hidden="true" />,
};
const nextTheme = isDark(theme) ? 'light' : 'dark';
diff --git a/packages/client/src/svgs/AnthropicIcon.tsx b/packages/client/src/svgs/AnthropicIcon.tsx
index ee5e57edaa..d634bd0118 100644
--- a/packages/client/src/svgs/AnthropicIcon.tsx
+++ b/packages/client/src/svgs/AnthropicIcon.tsx
@@ -13,6 +13,7 @@ export default function AnthropicIcon({
width={size}
height={size}
className={cn('fill-current text-black', className)}
+ aria-hidden="true"
>
<g
style={{
diff --git a/packages/client/src/svgs/AnthropicMinimalIcon.tsx b/packages/client/src/svgs/AnthropicMinimalIcon.tsx
index 777fc79dc1..dea61ef6ca 100644
--- a/packages/client/src/svgs/AnthropicMinimalIcon.tsx
+++ b/packages/client/src/svgs/AnthropicMinimalIcon.tsx
@@ -13,6 +13,7 @@ export default function AnthropicMinimalIcon() {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="m17.304 3.5472h-3.6718l6.6959 16.906h3.6718zm-10.608 0-6.6959 16.906h3.7442l1.3693-3.5502h7.0052l1.3693 3.5502h3.7442l-6.6959-16.906zm-0.37114 10.216 2.2914-5.9413 2.2914 5.9413z" />
</svg>
diff --git a/packages/client/src/svgs/AppleIcon.tsx b/packages/client/src/svgs/AppleIcon.tsx
index e84b703864..9994ca5f88 100644
--- a/packages/client/src/svgs/AppleIcon.tsx
+++ b/packages/client/src/svgs/AppleIcon.tsx
@@ -8,6 +8,7 @@ export default function AppleIcon() {
viewBox="0 0 814 1000"
id="apple"
className="h-6 w-6"
+ aria-hidden="true"
>
<path
d="M788.1 340.9c-5.8 4.5-108.2 62.2-108.2 190.5 0 148.4 130.3 200.9 134.2 202.2-.6 3.2-20.7 71.9-68.7 141.9-42.8 61.6-87.5 123.1-155.5 123.1s-85.5-39.5-164-39.5c-76.5 0-103.7 40.8-165.9 40.8s-105.6-57-155.5-127C46.7 790.7 0 663 0 541.8c0-194.4 126.4-297.5 250.8-297.5 66.1 0 121.2 43.4 162.7 43.4 39.5 0 101.1-46 176.3-46 28.5 0 130.9 2.6 198.3 99.2zm-234-181.5c31.1-36.9 53.1-88.1 53.1-139.3 0-7.1-.6-14.3-1.9-20.1-50.6 1.9-110.8 33.7-147.1 75.8-28.5 32.4-55.1 83.6-55.1 135.5 0 7.8 1.3 15.6 1.9 18.1 3.2.6 8.4 1.3 13.6 1.3 45.4 0 102.5-30.4 135.5-71.3z"
diff --git a/packages/client/src/svgs/ArchiveIcon.tsx b/packages/client/src/svgs/ArchiveIcon.tsx
index cd0ec93a04..cf85d69cc5 100644
--- a/packages/client/src/svgs/ArchiveIcon.tsx
+++ b/packages/client/src/svgs/ArchiveIcon.tsx
@@ -7,6 +7,7 @@ export default function ArchiveIcon({ className = 'icon-md' }) {
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/AssistantIcon.tsx b/packages/client/src/svgs/AssistantIcon.tsx
index e1e61308f3..05233817f1 100644
--- a/packages/client/src/svgs/AssistantIcon.tsx
+++ b/packages/client/src/svgs/AssistantIcon.tsx
@@ -22,6 +22,7 @@ export default function AssistantIcon({
strokeLinejoin="round"
className={cn('text-token-secondary h-2/3 w-2/3', className)}
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" />
<polyline points="3.27 6.96 12 12.01 20.73 6.96" />
diff --git a/packages/client/src/svgs/AttachmentIcon.tsx b/packages/client/src/svgs/AttachmentIcon.tsx
index a5e3d60754..51aa489d7e 100644
--- a/packages/client/src/svgs/AttachmentIcon.tsx
+++ b/packages/client/src/svgs/AttachmentIcon.tsx
@@ -7,6 +7,7 @@ export default function AttachmentIcon({ className = '' }) {
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/AzureMinimalIcon.tsx b/packages/client/src/svgs/AzureMinimalIcon.tsx
index bd73c5d132..e51d7aca32 100644
--- a/packages/client/src/svgs/AzureMinimalIcon.tsx
+++ b/packages/client/src/svgs/AzureMinimalIcon.tsx
@@ -22,6 +22,7 @@ export default function AzureMinimalIcon({
width={width}
height={height}
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="m8.0458 0.81981a1.1197 1.1197 0 0 0-1.0608 0.76184l-6.7912 20.123a1.1178 1.1178 0 0 0 1.0592 1.4751h5.4647a1.1197 1.1197 0 0 0 1.0608-0.7615l1.3528-4.0084-2.3684-2.2107a0.51536 0.51536 0 0 1 0.35193-0.8923h3.0639l1.8213-5.3966-2.8111-8.3294a1.1181 1.1181 0 0 0-1.0595-0.76049h-0.0836z" />
<path d="m7.1147 15.307a0.51536 0.51536 0 0 0-0.35193 0.8923l7.1552 6.6782a1.1248 1.1248 0 0 0 0.76724 0.30238h0.2417a1.1181 1.1181 0 0 0 1.0534-1.4755l-2.1591-6.3974z" />
diff --git a/packages/client/src/svgs/BedrockIcon.tsx b/packages/client/src/svgs/BedrockIcon.tsx
index f514790c38..ec69f3c4e0 100644
--- a/packages/client/src/svgs/BedrockIcon.tsx
+++ b/packages/client/src/svgs/BedrockIcon.tsx
@@ -14,6 +14,7 @@ export default function BedrockIcon({
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
className={cn('fill-current text-black', className)}
+ aria-hidden="true"
>
<g fill="currentColor">
<path d="M12,18.1397014 L9.574,18.9487014 L8.628,18.3177014 L9.658,17.9737014 L9.342,17.0257014 L7.574,17.6147014 L7,17.2327014 L7,14.4997014 C7,14.3107014 6.893,14.1377014 6.724,14.0527014 L5,13.1907014 L5,10.8087014 L6.5,10.0587014 L8,10.8087014 L8,12.4997014 C8,12.6897014 8.107,12.8627014 8.276,12.9477014 L10.276,13.9477014 L10.724,13.0527014 L9,12.1907014 L9,10.8087014 L10.724,9.94770136 C10.893,9.86270136 11,9.68970136 11,9.49970136 L11,7.99970136 L10,7.99970136 L10,9.19070136 L8.5,9.94070136 L7,9.19070136 L7,6.76770136 L8,6.10070136 L8,7.99970136 L9,7.99970136 L9,5.43470136 L9.574,5.05170136 L12,5.86070136 L12,18.1397014 Z M17.5,16.9997014 C17.775,16.9997014 18,17.2237014 18,17.4997014 C18,17.7757014 17.775,17.9997014 17.5,17.9997014 C17.225,17.9997014 17,17.7757014 17,17.4997014 C17,17.2237014 17.225,16.9997014 17.5,16.9997014 L17.5,16.9997014 Z M16.5,5.99970136 C16.775,5.99970136 17,6.22370136 17,6.49970136 C17,6.77570136 16.775,6.99970136 16.5,6.99970136 C16.225,6.99970136 16,6.77570136 16,6.49970136 C16,6.22370136 16.225,5.99970136 16.5,5.99970136 L16.5,5.99970136 Z M18.5,11.9997014 C18.775,11.9997014 19,12.2237014 19,12.4997014 C19,12.7757014 18.775,12.9997014 18.5,12.9997014 C18.225,12.9997014 18,12.7757014 18,12.4997014 C18,12.2237014 18.225,11.9997014 18.5,11.9997014 L18.5,11.9997014 Z M17.092,12.9997014 C17.299,13.5807014 17.849,13.9997014 18.5,13.9997014 C19.327,13.9997014 20,13.3277014 20,12.4997014 C20,11.6727014 19.327,10.9997014 18.5,10.9997014 C17.849,10.9997014 17.299,11.4197014 17.092,11.9997014 L13,11.9997014 L13,9.99970136 L16.5,9.99970136 C16.776,9.99970136 17,9.77670136 17,9.49970136 L17,7.90770136 C17.581,7.70070136 18,7.15070136 18,6.49970136 C18,5.67270136 17.327,4.99970136 16.5,4.99970136 C15.673,4.99970136 15,5.67270136 15,6.49970136 C15,7.15070136 15.419,7.70070136 16,7.90770136 L16,8.99970136 L13,8.99970136 L13,5.49970136 C13,5.28470136 12.862,5.09370136 12.658,5.02570136 L9.658,4.02570136 C9.511,3.97670136 9.351,3.99870136 9.223,4.08370136 L6.223,6.08370136 C6.084,6.17670136 6,6.33270136 6,6.49970136 L6,9.19070136 L4.276,10.0527014 C4.107,10.1377014 4,10.3107014 4,10.4997014 L4,13.4997014 C4,13.6897014 4.107,13.8627014 4.276,13.9477014 L6,14.8087014 L6,17.4997014 C6,17.6667014 6.084,17.8237014 6.223,17.9157014 L9.223,19.9157014 C9.306,19.9717014 9.402,19.9997014 9.5,19.9997014 C9.553,19.9997014 9.606,19.9917014 9.658,19.9737014 L12.658,18.9737014 C12.862,18.9067014 13,18.7157014 13,18.4997014 L13,15.9997014 L15.293,15.9997014 L16.146,16.8537014 L16.159,16.8407014 C16.061,17.0407014 16,17.2627014 16,17.4997014 C16,18.3267014 16.673,18.9997014 17.5,18.9997014 C18.327,18.9997014 19,18.3267014 19,17.4997014 C19,16.6727014 18.327,15.9997014 17.5,15.9997014 C17.262,15.9997014 17.04,16.0607014 16.841,16.1597014 L16.854,16.1467014 L15.854,15.1467014 C15.76,15.0527014 15.633,14.9997014 15.5,14.9997014 L13,14.9997014 L13,12.9997014 L17.092,12.9997014 Z" />
diff --git a/packages/client/src/svgs/BirthdayIcon.tsx b/packages/client/src/svgs/BirthdayIcon.tsx
index 979751bd05..b0567778bd 100644
--- a/packages/client/src/svgs/BirthdayIcon.tsx
+++ b/packages/client/src/svgs/BirthdayIcon.tsx
@@ -9,6 +9,7 @@ export default function BirthdayIcon({ className = '' }) {
xmlns="http://www.w3.org/2000/svg"
xmlnsXlink="http://www.w3.org/1999/xlink"
className={cn('h-9 w-9', className)}
+ aria-hidden="true"
>
<defs>
<linearGradient
diff --git a/packages/client/src/svgs/Blocks.tsx b/packages/client/src/svgs/Blocks.tsx
index 9fbe0b9751..6c3aab213b 100644
--- a/packages/client/src/svgs/Blocks.tsx
+++ b/packages/client/src/svgs/Blocks.tsx
@@ -12,6 +12,7 @@ export default function Blocks({ className = '' }: { className?: string }) {
strokeLinejoin="round"
xmlns="http://www.w3.org/2000/svg"
className={cn('lucide lucide-blocks', className)}
+ aria-hidden="true"
>
<rect width="7" height="7" x="14" y="3" rx="1" />
<path d="M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3" />
diff --git a/packages/client/src/svgs/CautionIcon.tsx b/packages/client/src/svgs/CautionIcon.tsx
index 1839c9f170..b8adae79a3 100644
--- a/packages/client/src/svgs/CautionIcon.tsx
+++ b/packages/client/src/svgs/CautionIcon.tsx
@@ -13,6 +13,7 @@ export default function CautionIcon() {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z" />
<line x1="12" y1="9" x2="12" y2="13" />
diff --git a/packages/client/src/svgs/ChatGPTMinimalIcon.tsx b/packages/client/src/svgs/ChatGPTMinimalIcon.tsx
index d593268a1a..80d7c862bc 100644
--- a/packages/client/src/svgs/ChatGPTMinimalIcon.tsx
+++ b/packages/client/src/svgs/ChatGPTMinimalIcon.tsx
@@ -12,6 +12,7 @@ export default function ChatGPTMinimalIcon() {
strokeWidth="2"
strokeLinecap="round"
className="lucide lucide-bot"
+ aria-hidden="true"
>
<rect width="18" height="10" x="3" y="11" rx="2" />
<circle cx="12" cy="5" r="2" />
diff --git a/packages/client/src/svgs/ChatIcon.tsx b/packages/client/src/svgs/ChatIcon.tsx
index 67de63c0e9..de14015d48 100644
--- a/packages/client/src/svgs/ChatIcon.tsx
+++ b/packages/client/src/svgs/ChatIcon.tsx
@@ -13,6 +13,7 @@ export default function ChatIcon() {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path
strokeLinecap="round"
diff --git a/packages/client/src/svgs/CheckMark.tsx b/packages/client/src/svgs/CheckMark.tsx
index c2263b9f09..75921475b7 100644
--- a/packages/client/src/svgs/CheckMark.tsx
+++ b/packages/client/src/svgs/CheckMark.tsx
@@ -12,6 +12,7 @@ export default function CheckMark({ className = '' }: { className?: string }) {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/CircleHelpIcon.tsx b/packages/client/src/svgs/CircleHelpIcon.tsx
index 2d34a938e7..1f0265b50d 100644
--- a/packages/client/src/svgs/CircleHelpIcon.tsx
+++ b/packages/client/src/svgs/CircleHelpIcon.tsx
@@ -13,6 +13,7 @@ export default function CircleHelpIcon({ className = 'icon-md-heavy', size = '1e
strokeLinecap="round"
strokeLinejoin="round"
className={cn(className)}
+ aria-hidden="true"
>
<circle cx="12" cy="12" r="10" />
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />
diff --git a/packages/client/src/svgs/Clipboard.tsx b/packages/client/src/svgs/Clipboard.tsx
index a1e6baf383..a7c1fda81a 100644
--- a/packages/client/src/svgs/Clipboard.tsx
+++ b/packages/client/src/svgs/Clipboard.tsx
@@ -11,6 +11,7 @@ export default function Clipboard({ className = 'icon-md-heavy', size = '1em' })
strokeLinecap="round"
strokeLinejoin="round"
className={cn(className)}
+ aria-hidden="true"
>
<path
fill="currentColor"
diff --git a/packages/client/src/svgs/CodeyIcon.tsx b/packages/client/src/svgs/CodeyIcon.tsx
index 4ba4125d42..1a40cfe647 100644
--- a/packages/client/src/svgs/CodeyIcon.tsx
+++ b/packages/client/src/svgs/CodeyIcon.tsx
@@ -16,6 +16,7 @@ export default function CodeyIcon({
viewBox="0 0 18 18"
preserveAspectRatio="xMidYMid meet"
focusable="false"
+ aria-hidden="true"
>
<path
d="M2 4.006C2 2.898 2.897 2 4.006 2h9.988C15.102 2 16 2.897 16 4.006v9.988A2.005 2.005 0 0 1 13.994 16H4.006A2.005 2.005 0 0 1 2 13.994V4.006zM13.992 9l.003-.003L10.997 6 9.75 7.247 11.503 9 9.75 10.753 10.997 12l2.997-2.997L13.992 9zm-9.99 0L4 8.997 6.997 6l1.247 1.247L6.492 9l1.753 1.753L6.997 12 4 9.003 4.003 9z"
diff --git a/packages/client/src/svgs/ContinueIcon.tsx b/packages/client/src/svgs/ContinueIcon.tsx
index d66e5b22e3..b4dcd5c7e1 100644
--- a/packages/client/src/svgs/ContinueIcon.tsx
+++ b/packages/client/src/svgs/ContinueIcon.tsx
@@ -13,6 +13,7 @@ export default function ContinueIcon({ className = '' }: { className?: string })
height="19"
width="19"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<polygon points="11 19 2 12 11 5 11 19" />
<polygon points="22 19 13 12 22 5 22 19" />
diff --git a/packages/client/src/svgs/ConvoIcon.tsx b/packages/client/src/svgs/ConvoIcon.tsx
index f7ddbab528..edd9fd4148 100644
--- a/packages/client/src/svgs/ConvoIcon.tsx
+++ b/packages/client/src/svgs/ConvoIcon.tsx
@@ -14,6 +14,7 @@ export default function ConvoIcon() {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z" />
</svg>
diff --git a/packages/client/src/svgs/CrossIcon.tsx b/packages/client/src/svgs/CrossIcon.tsx
index b32c3aa6d0..635f2c7cc0 100644
--- a/packages/client/src/svgs/CrossIcon.tsx
+++ b/packages/client/src/svgs/CrossIcon.tsx
@@ -14,6 +14,7 @@ export default function CrossIcon({ className = '' }) {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<line x1="18" y1="6" x2="6" y2="18" />
<line x1="6" y1="6" x2="18" y2="18" />
diff --git a/packages/client/src/svgs/CustomMinimalIcon.tsx b/packages/client/src/svgs/CustomMinimalIcon.tsx
index 196dd779c2..dabe8f6200 100644
--- a/packages/client/src/svgs/CustomMinimalIcon.tsx
+++ b/packages/client/src/svgs/CustomMinimalIcon.tsx
@@ -18,6 +18,7 @@ export default function CustomMinimalIcon({
strokeLinecap="round"
strokeLinejoin="round"
className={cn('lucide lucide-bot', className)}
+ aria-hidden="true"
>
<path d="M12 8V4H8" />
<rect width="16" height="12" x="4" y="8" rx="2" />
diff --git a/packages/client/src/svgs/DarkModeIcon.tsx b/packages/client/src/svgs/DarkModeIcon.tsx
index 29b002b512..3b91f0842a 100644
--- a/packages/client/src/svgs/DarkModeIcon.tsx
+++ b/packages/client/src/svgs/DarkModeIcon.tsx
@@ -13,6 +13,7 @@ export default function DarkModeIcon() {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" />
</svg>
diff --git a/packages/client/src/svgs/DataIcon.tsx b/packages/client/src/svgs/DataIcon.tsx
index 86e6f8c569..92a445b96e 100644
--- a/packages/client/src/svgs/DataIcon.tsx
+++ b/packages/client/src/svgs/DataIcon.tsx
@@ -7,6 +7,7 @@ export default function DataIcon({ className = 'icon-sm' }: { className?: string
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/DiscordIcon.tsx b/packages/client/src/svgs/DiscordIcon.tsx
index 8e448837e9..af4ae0f12f 100644
--- a/packages/client/src/svgs/DiscordIcon.tsx
+++ b/packages/client/src/svgs/DiscordIcon.tsx
@@ -7,6 +7,7 @@ export default function DiscordIcon() {
viewBox="0 0 1024 1024"
id="discord"
className="h-6 w-6"
+ aria-hidden="true"
>
<circle cx="512" cy="512" r="512" fill="#5865f2" />
<path
diff --git a/packages/client/src/svgs/DislikeIcon.tsx b/packages/client/src/svgs/DislikeIcon.tsx
index 0756721bd1..40a23ad0ea 100644
--- a/packages/client/src/svgs/DislikeIcon.tsx
+++ b/packages/client/src/svgs/DislikeIcon.tsx
@@ -13,6 +13,7 @@ export default function DislikeIcon() {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"></path>
</svg>
diff --git a/packages/client/src/svgs/DotsIcon.tsx b/packages/client/src/svgs/DotsIcon.tsx
index 731c9be8a9..b0f9f00da0 100644
--- a/packages/client/src/svgs/DotsIcon.tsx
+++ b/packages/client/src/svgs/DotsIcon.tsx
@@ -17,6 +17,7 @@ export default function DotsIcon({
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<circle cx="12" cy="12" r="1" />
<circle cx="19" cy="12" r="1" />
diff --git a/packages/client/src/svgs/EditIcon.tsx b/packages/client/src/svgs/EditIcon.tsx
index 21a6b3c31f..ae28655633 100644
--- a/packages/client/src/svgs/EditIcon.tsx
+++ b/packages/client/src/svgs/EditIcon.tsx
@@ -20,6 +20,7 @@ const EditIcon = React.forwardRef<SVGSVGElement, IconProps>((props: IconProps, r
height={size}
width={size}
className={cn(className)}
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/ExperimentIcon.tsx b/packages/client/src/svgs/ExperimentIcon.tsx
index f3de09bd09..476e925ff4 100644
--- a/packages/client/src/svgs/ExperimentIcon.tsx
+++ b/packages/client/src/svgs/ExperimentIcon.tsx
@@ -7,6 +7,7 @@ export default function ExperimentIcon() {
fill="none"
xmlns="http://www.w3.org/2000/svg"
className="icon-sm"
+ aria-hidden="true"
>
<path
d="M9 3H15M9 3V9.2759C9 9.74377 8.83597 10.1968 8.53644 10.5563L4.85085 14.979C4.30108 15.6387 4 16.4703 4 17.3291V17.3291C4 19.3565 5.64353 21 7.67094 21H16.3291C18.3565 21 20 19.3565 20 17.3291V17.3291C20 16.4703 19.6989 15.6387 19.1492 14.979L15.4636 10.5563C15.164 10.1968 15 9.74377 15 9.2759V3M9 3H8M15 3H16"
diff --git a/packages/client/src/svgs/FacebookIcon.tsx b/packages/client/src/svgs/FacebookIcon.tsx
index 131c751ea0..54680776a6 100644
--- a/packages/client/src/svgs/FacebookIcon.tsx
+++ b/packages/client/src/svgs/FacebookIcon.tsx
@@ -2,7 +2,7 @@ import React from 'react';
export default function FacebookIcon() {
return (
- <svg viewBox="0 0 40 40" width="25" height="25">
+ <svg viewBox="0 0 40 40" width="25" height="25" aria-hidden="true">
<linearGradient
id="a"
x1={-277.375}
diff --git a/packages/client/src/svgs/FileIcon.tsx b/packages/client/src/svgs/FileIcon.tsx
index 788615171e..8abc59136f 100644
--- a/packages/client/src/svgs/FileIcon.tsx
+++ b/packages/client/src/svgs/FileIcon.tsx
@@ -20,6 +20,7 @@ export default function FileIcon({
className="h-10 w-10 flex-shrink-0"
width="36"
height="36"
+ aria-hidden="true"
>
<rect width="36" height="36" rx="6" fill={fileType.fill} />
{(file?.['progress'] ?? 1) >= 1 && <>{<fileType.paths />}</>}
diff --git a/packages/client/src/svgs/GPTIcon.tsx b/packages/client/src/svgs/GPTIcon.tsx
index a1c9329ff0..477882be6e 100644
--- a/packages/client/src/svgs/GPTIcon.tsx
+++ b/packages/client/src/svgs/GPTIcon.tsx
@@ -20,6 +20,7 @@ export default function GPTIcon({
xmlns="http://www.w3.org/2000/svg"
strokeWidth="1.5"
className={cn(className, '')}
+ aria-hidden="true"
>
<path
d="M37.5324 16.8707C37.9808 15.5241 38.1363 14.0974 37.9886 12.6859C37.8409 11.2744 37.3934 9.91076 36.676 8.68622C35.6126 6.83404 33.9882 5.3676 32.0373 4.4985C30.0864 3.62941 27.9098 3.40259 25.8215 3.85078C24.8796 2.7893 23.7219 1.94125 22.4257 1.36341C21.1295 0.785575 19.7249 0.491269 18.3058 0.500197C16.1708 0.495044 14.0893 1.16803 12.3614 2.42214C10.6335 3.67624 9.34853 5.44666 8.6917 7.47815C7.30085 7.76286 5.98686 8.3414 4.8377 9.17505C3.68854 10.0087 2.73073 11.0782 2.02839 12.312C0.956464 14.1591 0.498905 16.2988 0.721698 18.4228C0.944492 20.5467 1.83612 22.5449 3.268 24.1293C2.81966 25.4759 2.66413 26.9026 2.81182 28.3141C2.95951 29.7256 3.40701 31.0892 4.12437 32.3138C5.18791 34.1659 6.8123 35.6322 8.76321 36.5013C10.7141 37.3704 12.8907 37.5973 14.9789 37.1492C15.9208 38.2107 17.0786 39.0587 18.3747 39.6366C19.6709 40.2144 21.0755 40.5087 22.4946 40.4998C24.6307 40.5054 26.7133 39.8321 28.4418 38.5772C30.1704 37.3223 31.4556 35.5506 32.1119 33.5179C33.5027 33.2332 34.8167 32.6547 35.9659 31.821C37.115 30.9874 38.0728 29.9178 38.7752 28.684C39.8458 26.8371 40.3023 24.6979 40.0789 22.5748C39.8556 20.4517 38.9639 18.4544 37.5324 16.8707ZM22.4978 37.8849C20.7443 37.8874 19.0459 37.2733 17.6994 36.1501C17.7601 36.117 17.8666 36.0586 17.936 36.0161L25.9004 31.4156C26.1003 31.3019 26.2663 31.137 26.3813 30.9378C26.4964 30.7386 26.5563 30.5124 26.5549 30.2825V19.0542L29.9213 20.998C29.9389 21.0068 29.9541 21.0198 29.9656 21.0359C29.977 21.052 29.9842 21.0707 29.9867 21.0902V30.3889C29.9842 32.375 29.1946 34.2791 27.7909 35.6841C26.3872 37.0892 24.4838 37.8806 22.4978 37.8849ZM6.39227 31.0064C5.51397 29.4888 5.19742 27.7107 5.49804 25.9832C5.55718 26.0187 5.66048 26.0818 5.73461 26.1244L13.699 30.7248C13.8975 30.8408 14.1233 30.902 14.3532 30.902C14.583 30.902 14.8088 30.8408 15.0073 30.7248L24.731 25.1103V28.9979C24.7321 29.0177 24.7283 29.0376 24.7199 29.0556C24.7115 29.0736 24.6988 29.0893 24.6829 29.1012L16.6317 33.7497C14.9096 34.7416 12.8643 35.0097 10.9447 34.4954C9.02506 33.9811 7.38785 32.7263 6.39227 31.0064ZM4.29707 13.6194C5.17156 12.0998 6.55279 10.9364 8.19885 10.3327C8.19885 10.4013 8.19491 10.5228 8.19491 10.6071V19.808C8.19351 20.0378 8.25334 20.2638 8.36823 20.4629C8.48312 20.6619 8.64893 20.8267 8.84863 20.9404L18.5723 26.5542L15.206 28.4979C15.1894 28.5089 15.1703 28.5155 15.1505 28.5173C15.1307 28.5191 15.1107 28.516 15.0924 28.5082L7.04046 23.8557C5.32135 22.8601 4.06716 21.2235 3.55289 19.3046C3.03862 17.3858 3.30624 15.3413 4.29707 13.6194ZM31.955 20.0556L22.2312 14.4411L25.5976 12.4981C25.6142 12.4872 25.6333 12.4805 25.6531 12.4787C25.6729 12.4769 25.6928 12.4801 25.7111 12.4879L33.7631 17.1364C34.9967 17.849 36.0017 18.8982 36.6606 20.1613C37.3194 21.4244 37.6047 22.849 37.4832 24.2684C37.3617 25.6878 36.8382 27.0432 35.9743 28.1759C35.1103 29.3086 33.9415 30.1717 32.6047 30.6641C32.6047 30.5947 32.6047 30.4733 32.6047 30.3889V21.188C32.6066 20.9586 32.5474 20.7328 32.4332 20.5338C32.319 20.3348 32.154 20.1698 31.955 20.0556ZM35.3055 15.0128C35.2464 14.9765 35.1431 14.9142 35.069 14.8717L27.1045 10.2712C26.906 10.1554 26.6803 10.0943 26.4504 10.0943C26.2206 10.0943 25.9948 10.1554 25.7963 10.2712L16.0726 15.8858V11.9982C16.0715 11.9783 16.0753 11.9585 16.0837 11.9405C16.0921 11.9225 16.1048 11.9068 16.1207 11.8949L24.1719 7.25025C25.4053 6.53903 26.8158 6.19376 28.2383 6.25482C29.6608 6.31589 31.0364 6.78077 32.2044 7.59508C33.3723 8.40939 34.2842 9.53945 34.8334 10.8531C35.3826 12.1667 35.5464 13.6095 35.3055 15.0128ZM14.2424 21.9419L10.8752 19.9981C10.8576 19.9893 10.8423 19.9763 10.8309 19.9602C10.8195 19.9441 10.8122 19.9254 10.8098 19.9058V10.6071C10.8107 9.18295 11.2173 7.78848 11.9819 6.58696C12.7466 5.38544 13.8377 4.42659 15.1275 3.82264C16.4173 3.21869 17.8524 2.99464 19.2649 3.1767C20.6775 3.35876 22.0089 3.93941 23.1034 4.85067C23.0427 4.88379 22.937 4.94215 22.8668 4.98473L14.9024 9.58517C14.7025 9.69878 14.5366 9.86356 14.4215 10.0626C14.3065 10.2616 14.2466 10.4877 14.2479 10.7175L14.2424 21.9419ZM16.071 17.9991L20.4018 15.4978L24.7325 17.9975V22.9985L20.4018 25.4983L16.071 22.9985V17.9991Z"
diff --git a/packages/client/src/svgs/GearIcon.tsx b/packages/client/src/svgs/GearIcon.tsx
index 98cc2fab98..1da3f7af81 100644
--- a/packages/client/src/svgs/GearIcon.tsx
+++ b/packages/client/src/svgs/GearIcon.tsx
@@ -13,6 +13,7 @@ const GearIcon: React.FC<GearIconProps> = ({ className = '' }) => {
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path
d="M11.6439 3C10.9352 3 10.2794 3.37508 9.92002 3.98596L9.49644 4.70605C8.96184 5.61487 7.98938 6.17632 6.93501 6.18489L6.09967 6.19168C5.39096 6.19744 4.73823 6.57783 4.38386 7.19161L4.02776 7.80841C3.67339 8.42219 3.67032 9.17767 4.01969 9.7943L4.43151 10.5212C4.95127 11.4386 4.95127 12.5615 4.43151 13.4788L4.01969 14.2057C3.67032 14.8224 3.67339 15.5778 4.02776 16.1916L4.38386 16.8084C4.73823 17.4222 5.39096 17.8026 6.09966 17.8083L6.93502 17.8151C7.98939 17.8237 8.96185 18.3851 9.49645 19.294L9.92002 20.014C10.2794 20.6249 10.9352 21 11.6439 21H12.3561C13.0648 21 13.7206 20.6249 14.08 20.014L14.5035 19.294C15.0381 18.3851 16.0106 17.8237 17.065 17.8151L17.9004 17.8083C18.6091 17.8026 19.2618 17.4222 19.6162 16.8084L19.9723 16.1916C20.3267 15.5778 20.3298 14.8224 19.9804 14.2057L19.5686 13.4788C19.0488 12.5615 19.0488 11.4386 19.5686 10.5212L19.9804 9.7943C20.3298 9.17767 20.3267 8.42219 19.9723 7.80841L19.6162 7.19161C19.2618 6.57783 18.6091 6.19744 17.9004 6.19168L17.065 6.18489C16.0106 6.17632 15.0382 5.61487 14.5036 4.70605L14.08 3.98596C13.7206 3.37508 13.0648 3 12.3561 3H11.6439Z"
diff --git a/packages/client/src/svgs/GeminiIcon.tsx b/packages/client/src/svgs/GeminiIcon.tsx
index 783b587fe7..4835e6e58f 100644
--- a/packages/client/src/svgs/GeminiIcon.tsx
+++ b/packages/client/src/svgs/GeminiIcon.tsx
@@ -13,6 +13,7 @@ export default function GeminiIcon({
viewBox="0 0 18 18"
preserveAspectRatio="xMidYMid meet"
focusable="false"
+ aria-hidden="true"
>
<path
fill="url(#_4rif_paint0_radial_897_42)"
diff --git a/packages/client/src/svgs/GithubIcon.tsx b/packages/client/src/svgs/GithubIcon.tsx
index e3a83cc73f..089692a770 100644
--- a/packages/client/src/svgs/GithubIcon.tsx
+++ b/packages/client/src/svgs/GithubIcon.tsx
@@ -2,7 +2,7 @@ import React from 'react';
export default function GithubIcon() {
return (
- <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none">
+ <svg xmlns="http://www.w3.org/2000/svg" width="25" height="25" fill="none" aria-hidden="true">
<path
fill="currentColor"
d="M12 0a12 12 0 0 0-3.84 23.399c.608.112.832-.256.832-.576v-2.015c-3.395.736-4.115-1.632-4.115-1.632a3.241 3.241 0 0 0-1.359-1.792c-1.104-.736.064-.736.064-.736a2.566 2.566 0 0 1 1.824 1.216a2.638 2.638 0 0 0 3.616 1.024a2.607 2.607 0 0 1 .768-1.6c-2.688-.32-5.504-1.344-5.504-5.984a4.677 4.677 0 0 1 1.216-3.168a4.383 4.383 0 0 1 .128-3.136s1.024-.32 3.36 1.216a11.66 11.66 0 0 1 6.112 0c2.336-1.536 3.36-1.216 3.36-1.216a4.354 4.354 0 0 1 .128 3.136a4.628 4.628 0 0 1 1.216 3.168c0 4.672-2.848 5.664-5.536 5.952a2.881 2.881 0 0 1 .832 2.24v3.36c0 .32.224.672.832.576A12 12 0 0 0 12 0z"
diff --git a/packages/client/src/svgs/GoogleIcon.tsx b/packages/client/src/svgs/GoogleIcon.tsx
index 7c6a40fc8d..0dcafc2942 100644
--- a/packages/client/src/svgs/GoogleIcon.tsx
+++ b/packages/client/src/svgs/GoogleIcon.tsx
@@ -2,7 +2,13 @@ import React from 'react';
export default function GoogleIcon() {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" id="google" className="h-5 w-5">
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 512 512"
+ id="google"
+ className="h-5 w-5"
+ aria-hidden="true"
+ >
<path
fill="#fbbb00"
d="M113.47 309.408 95.648 375.94l-65.139 1.378C11.042 341.211 0 299.9 0 256c0-42.451 10.324-82.483 28.624-117.732h.014L86.63 148.9l25.404 57.644c-5.317 15.501-8.215 32.141-8.215 49.456.002 18.792 3.406 36.797 9.651 53.408z"
diff --git a/packages/client/src/svgs/GoogleIconChat.tsx b/packages/client/src/svgs/GoogleIconChat.tsx
index 4c2f4eb8fc..5e4da789e7 100644
--- a/packages/client/src/svgs/GoogleIconChat.tsx
+++ b/packages/client/src/svgs/GoogleIconChat.tsx
@@ -19,6 +19,7 @@ export default function Google({
viewBox="0 0 512 512"
strokeWidth="1.5"
className={cn(className, '')}
+ aria-hidden="true"
>
<path d="M473.16,221.48l-2.26-9.59H262.46v88.22H387c-12.93,61.4-72.93,93.72-121.94,93.72-35.66,0-73.25-15-98.13-39.11a140.08,140.08,0,0,1-41.8-98.88c0-37.16,16.7-74.33,41-98.78s61-38.13,97.49-38.13c41.79,0,71.74,22.19,82.94,32.31l62.69-62.36C390.86,72.72,340.34,32,261.6,32h0c-60.75,0-119,23.27-161.58,65.71C58,139.5,36.25,199.93,36.25,256S56.83,369.48,97.55,411.6C141.06,456.52,202.68,480,266.13,480c57.73,0,112.45-22.62,151.45-63.66,38.34-40.4,58.17-96.3,58.17-154.9C475.75,236.77,473.27,222.12,473.16,221.48Z"></path>
</svg>
diff --git a/packages/client/src/svgs/GoogleMinimalIcon.tsx b/packages/client/src/svgs/GoogleMinimalIcon.tsx
index 903ea044f4..9c7e3aad3e 100644
--- a/packages/client/src/svgs/GoogleMinimalIcon.tsx
+++ b/packages/client/src/svgs/GoogleMinimalIcon.tsx
@@ -8,6 +8,7 @@ export default function GoogleMinimalIcon({ className = '' }: { className?: stri
height="800px"
viewBox="0 0 512 512"
className={cn('h-4 w-4', className)}
+ aria-hidden="true"
>
<path d="M473.16,221.48l-2.26-9.59H262.46v88.22H387c-12.93,61.4-72.93,93.72-121.94,93.72-35.66,0-73.25-15-98.13-39.11a140.08,140.08,0,0,1-41.8-98.88c0-37.16,16.7-74.33,41-98.78s61-38.13,97.49-38.13c41.79,0,71.74,22.19,82.94,32.31l62.69-62.36C390.86,72.72,340.34,32,261.6,32h0c-60.75,0-119,23.27-161.58,65.71C58,139.5,36.25,199.93,36.25,256S56.83,369.48,97.55,411.6C141.06,456.52,202.68,480,266.13,480c57.73,0,112.45-22.62,151.45-63.66,38.34-40.4,58.17-96.3,58.17-154.9C475.75,236.77,473.27,222.12,473.16,221.48Z" />
</svg>
diff --git a/packages/client/src/svgs/LightModeIcon.tsx b/packages/client/src/svgs/LightModeIcon.tsx
index ef9282fff5..ab58472a00 100644
--- a/packages/client/src/svgs/LightModeIcon.tsx
+++ b/packages/client/src/svgs/LightModeIcon.tsx
@@ -13,6 +13,7 @@ export default function LightModeIcon() {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<circle cx="12" cy="12" r="5" />
<line x1="12" y1="1" x2="12" y2="3" />
diff --git a/packages/client/src/svgs/LikeIcon.tsx b/packages/client/src/svgs/LikeIcon.tsx
index 0fc828b58d..8e3b7ba5bf 100644
--- a/packages/client/src/svgs/LikeIcon.tsx
+++ b/packages/client/src/svgs/LikeIcon.tsx
@@ -13,6 +13,7 @@ export default function LikeIcon() {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"></path>
</svg>
diff --git a/packages/client/src/svgs/LinkIcon.tsx b/packages/client/src/svgs/LinkIcon.tsx
index 53bfe0fd4c..79935df032 100644
--- a/packages/client/src/svgs/LinkIcon.tsx
+++ b/packages/client/src/svgs/LinkIcon.tsx
@@ -7,6 +7,7 @@ export default function LinkIcon() {
fill="none"
xmlns="http://www.w3.org/2000/svg"
className="icon-md"
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/ListeningIcon.tsx b/packages/client/src/svgs/ListeningIcon.tsx
index ef8de6a4ed..1bdc7fb894 100644
--- a/packages/client/src/svgs/ListeningIcon.tsx
+++ b/packages/client/src/svgs/ListeningIcon.tsx
@@ -16,6 +16,7 @@ export default function ListeningIcon({ className }: ListeningIconProps) {
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
+ aria-hidden="true"
>
<path d="M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z" />
<path d="M19 10v2a7 7 0 0 1-14 0v-2" />
diff --git a/packages/client/src/svgs/LockIcon.tsx b/packages/client/src/svgs/LockIcon.tsx
index 9de937a44a..efcf505288 100644
--- a/packages/client/src/svgs/LockIcon.tsx
+++ b/packages/client/src/svgs/LockIcon.tsx
@@ -11,6 +11,7 @@ export default function LockIcon() {
strokeLinecap="round"
strokeLinejoin="round"
className="lucide lucide-lock"
+ aria-hidden="true"
>
<rect width="18" height="11" x="3" y="11" rx="2" ry="2" />
<path d="M7 11V7a5 5 0 0 1 10 0v4" />
diff --git a/packages/client/src/svgs/LogOutIcon.tsx b/packages/client/src/svgs/LogOutIcon.tsx
index 4901148870..754ea10a77 100644
--- a/packages/client/src/svgs/LogOutIcon.tsx
+++ b/packages/client/src/svgs/LogOutIcon.tsx
@@ -9,6 +9,7 @@ export default function LogOutIcon() {
fill="none"
xmlns="http://www.w3.org/2000/svg"
className="icon-md"
+ aria-hidden="true"
>
<path
d="M11 3H7C5.89543 3 5 3.89543 5 5V19C5 20.1046 5.89543 21 7 21H11"
diff --git a/packages/client/src/svgs/MCPIcon.tsx b/packages/client/src/svgs/MCPIcon.tsx
index ff4ca27350..5fae28f8cf 100644
--- a/packages/client/src/svgs/MCPIcon.tsx
+++ b/packages/client/src/svgs/MCPIcon.tsx
@@ -7,6 +7,7 @@ export default function MCPIcon({ className }: { className?: string }) {
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
+ aria-hidden="true"
>
<path
d="M25 97.8528L92.8823 29.9706C102.255 20.598 117.451 20.598 126.823 29.9706V29.9706C136.196 39.3431 136.196 54.5391 126.823 63.9117L75.5581 115.177"
diff --git a/packages/client/src/svgs/MessagesSquared.tsx b/packages/client/src/svgs/MessagesSquared.tsx
index cb284a0ff0..58582d0e4f 100644
--- a/packages/client/src/svgs/MessagesSquared.tsx
+++ b/packages/client/src/svgs/MessagesSquared.tsx
@@ -13,6 +13,7 @@ export default function MessagesSquared({ className }: { className?: string }) {
strokeLinecap="round"
strokeLinejoin="round"
className={cn(className ?? '', 'lucide lucide-messages-square')}
+ aria-hidden="true"
>
<path d="M14 9a2 2 0 0 1-2 2H6l-4 4V4c0-1.1.9-2 2-2h8a2 2 0 0 1 2 2v5Z" />
<path d="M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1" />
diff --git a/packages/client/src/svgs/MinimalPlugin.tsx b/packages/client/src/svgs/MinimalPlugin.tsx
index 7437b9d099..d38a3180e0 100644
--- a/packages/client/src/svgs/MinimalPlugin.tsx
+++ b/packages/client/src/svgs/MinimalPlugin.tsx
@@ -13,6 +13,7 @@ export default function MinimalPlugin({
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/MobileSidebar.tsx b/packages/client/src/svgs/MobileSidebar.tsx
index f9915959dc..999de0b91c 100644
--- a/packages/client/src/svgs/MobileSidebar.tsx
+++ b/packages/client/src/svgs/MobileSidebar.tsx
@@ -7,6 +7,7 @@ export default function MobileSidebar({ className }: { className?: string }) {
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/NewChatIcon.tsx b/packages/client/src/svgs/NewChatIcon.tsx
index 841ad1aeed..52991e9043 100644
--- a/packages/client/src/svgs/NewChatIcon.tsx
+++ b/packages/client/src/svgs/NewChatIcon.tsx
@@ -8,7 +8,8 @@ export default function NewChatIcon({ className = '' }: { className?: string })
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={cn('text-black dark:text-white', className)}
- aria-hidden={true}
+ aria-hidden="true"
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/OpenAIMinimalIcon.tsx b/packages/client/src/svgs/OpenAIMinimalIcon.tsx
index 84f740c5d0..36dd2bc517 100644
--- a/packages/client/src/svgs/OpenAIMinimalIcon.tsx
+++ b/packages/client/src/svgs/OpenAIMinimalIcon.tsx
@@ -11,6 +11,7 @@ export default function OpenAIMinimalIcon({ className = 'h-4 w-4' }) {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="M37.5324 16.8707C37.9808 15.5241 38.1363 14.0974 37.9886 12.6859C37.8409 11.2744 37.3934 9.91076 36.676 8.68622C35.6126 6.83404 33.9882 5.3676 32.0373 4.4985C30.0864 3.62941 27.9098 3.40259 25.8215 3.85078C24.8796 2.7893 23.7219 1.94125 22.4257 1.36341C21.1295 0.785575 19.7249 0.491269 18.3058 0.500197C16.1708 0.495044 14.0893 1.16803 12.3614 2.42214C10.6335 3.67624 9.34853 5.44666 8.6917 7.47815C7.30085 7.76286 5.98686 8.3414 4.8377 9.17505C3.68854 10.0087 2.73073 11.0782 2.02839 12.312C0.956464 14.1591 0.498905 16.2988 0.721698 18.4228C0.944492 20.5467 1.83612 22.5449 3.268 24.1293C2.81966 25.4759 2.66413 26.9026 2.81182 28.3141C2.95951 29.7256 3.40701 31.0892 4.12437 32.3138C5.18791 34.1659 6.8123 35.6322 8.76321 36.5013C10.7141 37.3704 12.8907 37.5973 14.9789 37.1492C15.9208 38.2107 17.0786 39.0587 18.3747 39.6366C19.6709 40.2144 21.0755 40.5087 22.4946 40.4998C24.6307 40.5054 26.7133 39.8321 28.4418 38.5772C30.1704 37.3223 31.4556 35.5506 32.1119 33.5179C33.5027 33.2332 34.8167 32.6547 35.9659 31.821C37.115 30.9874 38.0728 29.9178 38.7752 28.684C39.8458 26.8371 40.3023 24.6979 40.0789 22.5748C39.8556 20.4517 38.9639 18.4544 37.5324 16.8707ZM22.4978 37.8849C20.7443 37.8874 19.0459 37.2733 17.6994 36.1501C17.7601 36.117 17.8666 36.0586 17.936 36.0161L25.9004 31.4156C26.1003 31.3019 26.2663 31.137 26.3813 30.9378C26.4964 30.7386 26.5563 30.5124 26.5549 30.2825V19.0542L29.9213 20.998C29.9389 21.0068 29.9541 21.0198 29.9656 21.0359C29.977 21.052 29.9842 21.0707 29.9867 21.0902V30.3889C29.9842 32.375 29.1946 34.2791 27.7909 35.6841C26.3872 37.0892 24.4838 37.8806 22.4978 37.8849ZM6.39227 31.0064C5.51397 29.4888 5.19742 27.7107 5.49804 25.9832C5.55718 26.0187 5.66048 26.0818 5.73461 26.1244L13.699 30.7248C13.8975 30.8408 14.1233 30.902 14.3532 30.902C14.583 30.902 14.8088 30.8408 15.0073 30.7248L24.731 25.1103V28.9979C24.7321 29.0177 24.7283 29.0376 24.7199 29.0556C24.7115 29.0736 24.6988 29.0893 24.6829 29.1012L16.6317 33.7497C14.9096 34.7416 12.8643 35.0097 10.9447 34.4954C9.02506 33.9811 7.38785 32.7263 6.39227 31.0064ZM4.29707 13.6194C5.17156 12.0998 6.55279 10.9364 8.19885 10.3327C8.19885 10.4013 8.19491 10.5228 8.19491 10.6071V19.808C8.19351 20.0378 8.25334 20.2638 8.36823 20.4629C8.48312 20.6619 8.64893 20.8267 8.84863 20.9404L18.5723 26.5542L15.206 28.4979C15.1894 28.5089 15.1703 28.5155 15.1505 28.5173C15.1307 28.5191 15.1107 28.516 15.0924 28.5082L7.04046 23.8557C5.32135 22.8601 4.06716 21.2235 3.55289 19.3046C3.03862 17.3858 3.30624 15.3413 4.29707 13.6194ZM31.955 20.0556L22.2312 14.4411L25.5976 12.4981C25.6142 12.4872 25.6333 12.4805 25.6531 12.4787C25.6729 12.4769 25.6928 12.4801 25.7111 12.4879L33.7631 17.1364C34.9967 17.849 36.0017 18.8982 36.6606 20.1613C37.3194 21.4244 37.6047 22.849 37.4832 24.2684C37.3617 25.6878 36.8382 27.0432 35.9743 28.1759C35.1103 29.3086 33.9415 30.1717 32.6047 30.6641C32.6047 30.5947 32.6047 30.4733 32.6047 30.3889V21.188C32.6066 20.9586 32.5474 20.7328 32.4332 20.5338C32.319 20.3348 32.154 20.1698 31.955 20.0556ZM35.3055 15.0128C35.2464 14.9765 35.1431 14.9142 35.069 14.8717L27.1045 10.2712C26.906 10.1554 26.6803 10.0943 26.4504 10.0943C26.2206 10.0943 25.9948 10.1554 25.7963 10.2712L16.0726 15.8858V11.9982C16.0715 11.9783 16.0753 11.9585 16.0837 11.9405C16.0921 11.9225 16.1048 11.9068 16.1207 11.8949L24.1719 7.25025C25.4053 6.53903 26.8158 6.19376 28.2383 6.25482C29.6608 6.31589 31.0364 6.78077 32.2044 7.59508C33.3723 8.40939 34.2842 9.53945 34.8334 10.8531C35.3826 12.1667 35.5464 13.6095 35.3055 15.0128ZM14.2424 21.9419L10.8752 19.9981C10.8576 19.9893 10.8423 19.9763 10.8309 19.9602C10.8195 19.9441 10.8122 19.9254 10.8098 19.9058V10.6071C10.8107 9.18295 11.2173 7.78848 11.9819 6.58696C12.7466 5.38544 13.8377 4.42659 15.1275 3.82264C16.4173 3.21869 17.8524 2.99464 19.2649 3.1767C20.6775 3.35876 22.0089 3.93941 23.1034 4.85067C23.0427 4.88379 22.937 4.94215 22.8668 4.98473L14.9024 9.58517C14.7025 9.69878 14.5366 9.86356 14.4215 10.0626C14.3065 10.2616 14.2466 10.4877 14.2479 10.7175L14.2424 21.9419ZM16.071 17.9991L20.4018 15.4978L24.7325 17.9975V22.9985L20.4018 25.4983L16.071 22.9985V17.9991Z" />
</svg>
diff --git a/packages/client/src/svgs/OpenIDIcon.tsx b/packages/client/src/svgs/OpenIDIcon.tsx
index bb4599bed7..88702c19d0 100644
--- a/packages/client/src/svgs/OpenIDIcon.tsx
+++ b/packages/client/src/svgs/OpenIDIcon.tsx
@@ -2,7 +2,13 @@ import React from 'react';
export default function OpenIDIcon() {
return (
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" id="openid" className="h-5 w-5">
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ viewBox="0 0 448 512"
+ id="openid"
+ className="h-5 w-5"
+ aria-hidden="true"
+ >
<path
fill="currentColor"
d="M271.5 432l-68 32C88.5 453.7 0 392.5 0 318.2c0-71.5 82.5-131 191.7-144.3v43c-71.5 12.5-124 53-124 101.3 0 51 58.5 93.3 135.7 103v-340l68-33.2v384zM448 291l-131.3-28.5 36.8-20.7c-19.5-11.5-43.5-20-70-24.8v-43c46.2 5.5 87.7 19.5 120.3 39.3l35-19.8L448 291z"
diff --git a/packages/client/src/svgs/PaLMIcon.tsx b/packages/client/src/svgs/PaLMIcon.tsx
index 18dd93ce36..90358c4ba7 100644
--- a/packages/client/src/svgs/PaLMIcon.tsx
+++ b/packages/client/src/svgs/PaLMIcon.tsx
@@ -16,6 +16,7 @@ export default function PaLMIcon({
fill="none"
preserveAspectRatio="xMidYMid meet"
focusable="false"
+ aria-hidden="true"
>
<path
d="M9.62674 16.2202H9.7049C10.4225 16.2202 11.0016 15.6412 11.0016 14.9236V4.04224H8.33008V14.92C8.33008 15.6376 8.90914 16.2202 9.62674 16.2202Z"
diff --git a/packages/client/src/svgs/PaLMinimalIcon.tsx b/packages/client/src/svgs/PaLMinimalIcon.tsx
index 1156c05945..5cfb909167 100644
--- a/packages/client/src/svgs/PaLMinimalIcon.tsx
+++ b/packages/client/src/svgs/PaLMinimalIcon.tsx
@@ -12,6 +12,7 @@ export default function PaLMinimalIcon({ className = '' }: { className?: string
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="m16 30.238c1.2298 0 2.2259-0.99608 2.2259-2.2259v-11.46c-0.63513-0.56429-1.6553-1.6805-2.2259-2.251-0.79858 0.83793-1.3599 1.3599-2.2259 2.251v11.46c0 1.2298 0.99608 2.2259 2.2259 2.2259z" />
<path d="m24.868 15.761c-0.61691-0.61643-1.3121-1.1065-2.0536-1.4703-6.8147 0.010467 0.13304 0.031026-6.8147 0.010467l9.5286 9.5286c0.39324 0.39324 1.0703 0.23743 1.2372-0.29122 0.83841-2.6544 0.20589-5.6723-1.8976-7.7776z" />
diff --git a/packages/client/src/svgs/PersonalizationIcon.tsx b/packages/client/src/svgs/PersonalizationIcon.tsx
index e67e84b221..a40dcbc86a 100644
--- a/packages/client/src/svgs/PersonalizationIcon.tsx
+++ b/packages/client/src/svgs/PersonalizationIcon.tsx
@@ -7,6 +7,7 @@ export default function PersonalizationIcon({ className = '' }: { className?: st
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={`icon-sm ${className}`}
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/PinIcon.tsx b/packages/client/src/svgs/PinIcon.tsx
index 02389207f9..322268e508 100644
--- a/packages/client/src/svgs/PinIcon.tsx
+++ b/packages/client/src/svgs/PinIcon.tsx
@@ -8,6 +8,7 @@ export default function PinIcon({ unpin = false }: { unpin?: boolean }) {
fill="none"
xmlns="http://www.w3.org/2000/svg"
className="icon-sm"
+ aria-hidden="true"
>
<path
d="M15 15V17.5585C15 18.4193 14.4491 19.1836 13.6325 19.4558L13.1726 19.6091C12.454 19.8487 11.6616 19.6616 11.126 19.126L4.87403 12.874C4.33837 12.3384 4.15132 11.546 4.39088 10.8274L4.54415 10.3675C4.81638 9.55086 5.58066 9 6.44152 9H9M12 6.2L13.6277 3.92116C14.3461 2.91549 15.7955 2.79552 16.6694 3.66942L20.3306 7.33058C21.2045 8.20448 21.0845 9.65392 20.0788 10.3723L18 11.8571"
diff --git a/packages/client/src/svgs/Plugin.tsx b/packages/client/src/svgs/Plugin.tsx
index 4d6c25ffa2..37fdea05c8 100644
--- a/packages/client/src/svgs/Plugin.tsx
+++ b/packages/client/src/svgs/Plugin.tsx
@@ -10,6 +10,7 @@ export default function Plugin({ className = '', ...props }) {
width="16"
height="16"
strokeWidth="2"
+ aria-hidden="true"
{...props}
>
<g fill="currentColor">
diff --git a/packages/client/src/svgs/RegenerateIcon.tsx b/packages/client/src/svgs/RegenerateIcon.tsx
index 47df168dee..d7ca1cbbe4 100644
--- a/packages/client/src/svgs/RegenerateIcon.tsx
+++ b/packages/client/src/svgs/RegenerateIcon.tsx
@@ -11,6 +11,7 @@ export default function RegenerateIcon({ className = '', size = '1em' }) {
strokeLinecap="round"
strokeLinejoin="round"
className={cn('icon-md-heavy', className)}
+ aria-hidden="true"
>
<path
fill="currentColor"
diff --git a/packages/client/src/svgs/RenameIcon.tsx b/packages/client/src/svgs/RenameIcon.tsx
index 17b4106d49..4dc5f7cfed 100644
--- a/packages/client/src/svgs/RenameIcon.tsx
+++ b/packages/client/src/svgs/RenameIcon.tsx
@@ -10,6 +10,7 @@ export default function RenameIcon() {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/SamlIcon.tsx b/packages/client/src/svgs/SamlIcon.tsx
index 913c6a2a7b..eac9c9d7d5 100644
--- a/packages/client/src/svgs/SamlIcon.tsx
+++ b/packages/client/src/svgs/SamlIcon.tsx
@@ -18,6 +18,7 @@ export default function SamlIcon() {
xmlns="http://www.w3.org/2000/svg"
fill="none"
className="h-5 w-5"
+ aria-hidden="true"
>
<g fill="#000000">
<path d="M7.754 2l.463.41c.343.304.687.607 1.026.915C11.44 5.32 13.3 7.565 14.7 10.149c.072.132.137.268.202.403l.098.203-.108.057-.081-.115-.21-.299-.147-.214c-1.019-1.479-2.04-2.96-3.442-4.145a6.563 6.563 0 00-1.393-.904c-1.014-.485-1.916-.291-2.69.505-.736.757-1.118 1.697-1.463 2.653-.045.123-.092.245-.139.367l-.082.215-.172-.055c.1-.348.192-.698.284-1.049.21-.795.42-1.59.712-2.356.31-.816.702-1.603 1.093-2.39.169-.341.338-.682.5-1.025h.092z" />
diff --git a/packages/client/src/svgs/SaveIcon.tsx b/packages/client/src/svgs/SaveIcon.tsx
index 1985edb856..737889cc90 100644
--- a/packages/client/src/svgs/SaveIcon.tsx
+++ b/packages/client/src/svgs/SaveIcon.tsx
@@ -15,6 +15,7 @@ export default function SaveIcon({ size = '1em', className }: SaveIconProps) {
height={size}
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"></path>
</svg>
diff --git a/packages/client/src/svgs/SendIcon.tsx b/packages/client/src/svgs/SendIcon.tsx
index 6b2a011c8c..703c645f0b 100644
--- a/packages/client/src/svgs/SendIcon.tsx
+++ b/packages/client/src/svgs/SendIcon.tsx
@@ -8,6 +8,7 @@ export default function SendIcon({ size = 24, className = '' }) {
viewBox={'0 0 24 24'}
fill="none"
className={cn('text-white dark:text-black', className)}
+ aria-hidden="true"
>
<path
d="M7 11L12 6L17 11M12 18V7"
diff --git a/packages/client/src/svgs/SendMessageIcon.tsx b/packages/client/src/svgs/SendMessageIcon.tsx
index d4010bfa31..a48c868bdb 100644
--- a/packages/client/src/svgs/SendMessageIcon.tsx
+++ b/packages/client/src/svgs/SendMessageIcon.tsx
@@ -8,6 +8,7 @@ export default function SendMessageIcon() {
fill="none"
className="icon-sm m-1 md:m-0"
style={{ width: '1em', height: '1em', verticalAlign: 'middle' }}
+ aria-hidden="true"
>
<path
d="M.5 1.163A1 1 0 0 1 1.97.28l12.868 6.837a1 1 0 0 1 0 1.766L1.969 15.72A1 1 0 0 1 .5 14.836V10.33a1 1 0 0 1 .816-.983L8.5 8 1.316 6.653A1 1 0 0 1 .5 5.67V1.163Z"
diff --git a/packages/client/src/svgs/SharePointIcon.tsx b/packages/client/src/svgs/SharePointIcon.tsx
index 61e94868a8..5764a27a1c 100644
--- a/packages/client/src/svgs/SharePointIcon.tsx
+++ b/packages/client/src/svgs/SharePointIcon.tsx
@@ -1,7 +1,14 @@
import React from 'react';
export default function SharePointIcon({ className = '' }) {
return (
- <svg fill="currentColor" width="24" height="24" viewBox="0 0 24 24" className={className}>
+ <svg
+ fill="currentColor"
+ width="24"
+ height="24"
+ viewBox="0 0 24 24"
+ className={className}
+ aria-hidden="true"
+ >
<path d="M24 13.5q0 1.242-.475 2.332-.474 1.09-1.289 1.904-.814.815-1.904 1.29-1.09.474-2.332.474-.762 0-1.523-.2-.106.997-.557 1.858-.451.862-1.154 1.494-.704.633-1.606.99-.902.358-1.91.358-1.09 0-2.045-.416-.955-.416-1.664-1.125-.709-.709-1.125-1.664Q6 19.84 6 18.75q0-.188.018-.375.017-.188.04-.375H.997q-.41 0-.703-.293T0 17.004V6.996q0-.41.293-.703T.996 6h3.54q.14-1.277.726-2.373.586-1.096 1.488-1.904Q7.652.914 8.807.457 9.96 0 11.25 0q1.395 0 2.625.533T16.02 1.98q.914.915 1.447 2.145T18 6.75q0 .188-.012.375-.011.188-.035.375 1.242 0 2.344.469 1.101.468 1.928 1.277.826.809 1.3 1.904Q24 12.246 24 13.5zm-12.75-12q-.973 0-1.857.34-.885.34-1.577.943-.691.604-1.154 1.43Q6.2 5.039 6.06 6h4.945q.41 0 .703.293t.293.703v4.945l.21-.035q.212-.75.61-1.424.399-.673.944-1.218.545-.545 1.213-.944.668-.398 1.43-.61.093-.503.093-.96 0-1.09-.416-2.045-.416-.955-1.125-1.664-.709-.709-1.664-1.125Q12.34 1.5 11.25 1.5zM6.117 15.902q.54 0 1.06-.111.522-.111.932-.37.41-.257.662-.679.252-.422.252-1.055 0-.632-.263-1.054-.264-.422-.662-.703-.399-.282-.856-.463l-.855-.34q-.399-.158-.662-.334-.264-.176-.264-.445 0-.2.14-.323.141-.123.335-.193.193-.07.404-.094.21-.023.351-.023.598 0 1.055.152.457.153.95.457V8.543q-.282-.082-.522-.14-.24-.06-.475-.1-.234-.041-.486-.059-.252-.017-.557-.017-.515 0-1.054.117-.54.117-.979.375-.44.258-.715.68-.275.421-.275 1.03 0 .598.263.997.264.398.663.68.398.28.855.474l.856.363q.398.17.662.358.263.187.263.457 0 .222-.123.351-.123.13-.31.2-.188.07-.393.087-.205.018-.369.018-.703 0-1.248-.234-.545-.235-1.107-.621v1.875q1.195.468 2.472.468zM11.25 22.5q.773 0 1.453-.293t1.19-.803q.51-.51.808-1.195.299-.686.299-1.459 0-.668-.223-1.277-.222-.61-.62-1.096-.4-.486-.95-.826-.55-.34-1.207-.48v1.933q0 .41-.293.703t-.703.293H7.57q-.07.375-.07.75 0 .773.293 1.459t.803 1.195q.51.51 1.195.803.686.293 1.459.293zM18 18q.926 0 1.746-.352.82-.351 1.436-.966.615-.616.966-1.43.352-.815.352-1.752 0-.926-.352-1.746-.351-.82-.966-1.436-.616-.615-1.436-.966Q18.926 9 18 9t-1.74.357q-.815.358-1.43.973t-.973 1.43q-.357.814-.357 1.74 0 .129.006.258t.017.258q.551.27 1.02.65t.838.855q.369.475.627 1.026.258.55.387 1.148Q17.18 18 18 18Z" />
</svg>
);
diff --git a/packages/client/src/svgs/Sidebar.tsx b/packages/client/src/svgs/Sidebar.tsx
index 152215f635..910343cfb2 100644
--- a/packages/client/src/svgs/Sidebar.tsx
+++ b/packages/client/src/svgs/Sidebar.tsx
@@ -7,6 +7,7 @@ export default function Sidebar({ className }: { className?: string }) {
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={className}
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/Sparkles.tsx b/packages/client/src/svgs/Sparkles.tsx
index 14de690565..8b1604dd84 100644
--- a/packages/client/src/svgs/Sparkles.tsx
+++ b/packages/client/src/svgs/Sparkles.tsx
@@ -9,6 +9,7 @@ export default function Sparkles({ className = '', size = 24 }) {
fill="none"
xmlns="http://www.w3.org/2000/svg"
className={cn('icon-md shrink-0', className)}
+ aria-hidden="true"
>
<path
d="M19.3975 1.35498C19.3746 1.15293 19.2037 1.00021 19.0004 1C18.7971 0.999793 18.6259 1.15217 18.6026 1.35417C18.4798 2.41894 18.1627 3.15692 17.6598 3.65983C17.1569 4.16274 16.4189 4.47983 15.3542 4.60264C15.1522 4.62593 14.9998 4.79707 15 5.00041C15.0002 5.20375 15.1529 5.37457 15.355 5.39746C16.4019 5.51605 17.1562 5.83304 17.6716 6.33906C18.1845 6.84269 18.5078 7.57998 18.6016 8.63539C18.6199 8.84195 18.7931 9.00023 19.0005 9C19.2078 8.99977 19.3806 8.84109 19.3985 8.6345C19.4883 7.59673 19.8114 6.84328 20.3273 6.32735C20.8433 5.81142 21.5967 5.48834 22.6345 5.39851C22.8411 5.38063 22.9998 5.20782 23 5.00045C23.0002 4.79308 22.842 4.61992 22.6354 4.60157C21.58 4.50782 20.8427 4.18447 20.3391 3.67157C19.833 3.15623 19.516 2.40192 19.3975 1.35498Z"
diff --git a/packages/client/src/svgs/SpeechIcon.tsx b/packages/client/src/svgs/SpeechIcon.tsx
index 86e0fac4b0..f3e74f3e66 100644
--- a/packages/client/src/svgs/SpeechIcon.tsx
+++ b/packages/client/src/svgs/SpeechIcon.tsx
@@ -17,6 +17,7 @@ export default function SpeechIcon({ className }: SpeechIconProps) {
strokeLinecap="round"
strokeLinejoin="round"
className={cn(className)}
+ aria-hidden="true"
>
<path d="M2 10v3" />
<path d="M6 6v11" />
diff --git a/packages/client/src/svgs/Spinner.tsx b/packages/client/src/svgs/Spinner.tsx
index 6f09a40ede..84fbf8f327 100644
--- a/packages/client/src/svgs/Spinner.tsx
+++ b/packages/client/src/svgs/Spinner.tsx
@@ -27,6 +27,7 @@ export default function Spinner({
viewBox="0 0 40 40"
xmlns="http://www.w3.org/2000/svg"
style={cssVars}
+ aria-hidden="true"
>
<defs>
<style type="text/css">{`
diff --git a/packages/client/src/svgs/SquirclePlusIcon.tsx b/packages/client/src/svgs/SquirclePlusIcon.tsx
index dee4238aaf..c7548f2c7d 100644
--- a/packages/client/src/svgs/SquirclePlusIcon.tsx
+++ b/packages/client/src/svgs/SquirclePlusIcon.tsx
@@ -11,6 +11,7 @@ export default function SquirclePlusIcon() {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<line x1="12" y1="5" x2="12" y2="19" />
<line x1="5" y1="12" x2="19" y2="12" />
diff --git a/packages/client/src/svgs/StopGeneratingIcon.tsx b/packages/client/src/svgs/StopGeneratingIcon.tsx
index c720e0c09b..35d19ca02e 100644
--- a/packages/client/src/svgs/StopGeneratingIcon.tsx
+++ b/packages/client/src/svgs/StopGeneratingIcon.tsx
@@ -13,6 +13,7 @@ export default function StopGeneratingIcon({ className = '' }: { className?: str
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<rect x="3" y="3" width="18" height="18" rx="2" ry="2"></rect>
</svg>
diff --git a/packages/client/src/svgs/SunIcon.tsx b/packages/client/src/svgs/SunIcon.tsx
index f8190bcef0..b0842d346a 100644
--- a/packages/client/src/svgs/SunIcon.tsx
+++ b/packages/client/src/svgs/SunIcon.tsx
@@ -13,6 +13,7 @@ export default function SunIcon() {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<circle cx="12" cy="12" r="5" />
<line x1="12" y1="1" x2="12" y2="3" />
diff --git a/packages/client/src/svgs/SwitchIcon.tsx b/packages/client/src/svgs/SwitchIcon.tsx
index 7725b400fc..e97cf24f3b 100644
--- a/packages/client/src/svgs/SwitchIcon.tsx
+++ b/packages/client/src/svgs/SwitchIcon.tsx
@@ -15,6 +15,7 @@ export default function SwitchIcon({ size = '1em', className }: SwitchIconProps)
height={size}
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path d="M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"></path>
</svg>
diff --git a/packages/client/src/svgs/ThumbDownIcon.tsx b/packages/client/src/svgs/ThumbDownIcon.tsx
index a2332d7617..581222ee0d 100644
--- a/packages/client/src/svgs/ThumbDownIcon.tsx
+++ b/packages/client/src/svgs/ThumbDownIcon.tsx
@@ -7,6 +7,7 @@ export default function ThumbDownIcon({ className = '', size = '1em', bold = fal
fill="none"
viewBox="0 0 24 24"
className={className}
+ aria-hidden="true"
>
<path
d="M11.4079 21.4961C11.1953 21.8698 10.7683 22.0649 10.348 21.9805C8.4373 21.5968 7.27541 19.6391 7.84844 17.7691L8.69697 14.9999L6.98577 14.9999C4.35915 14.9999 2.45151 12.492 3.14262 9.94747L4.50063 4.94747C4.97329 3.20722 6.54741 1.99994 8.34378 1.99994H14.0328C15.131 2.00207 16.0206 2.89668 16.0206 3.99994V14.9999H15.6827C15.3253 14.9999 14.9953 15.1922 14.818 15.5038L11.4079 21.4961Z"
@@ -25,6 +26,7 @@ export default function ThumbDownIcon({ className = '', size = '1em', bold = fal
fill="none"
viewBox="0 0 24 24"
className={className}
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/ThumbUpIcon.tsx b/packages/client/src/svgs/ThumbUpIcon.tsx
index 5af4d35942..33f1495dcb 100644
--- a/packages/client/src/svgs/ThumbUpIcon.tsx
+++ b/packages/client/src/svgs/ThumbUpIcon.tsx
@@ -7,6 +7,7 @@ export default function ThumbUpIcon({ className = '', size = '1em', bold = false
fill="none"
viewBox="0 0 24 24"
className={className}
+ aria-hidden="true"
>
<path
d="M12.592 2.50386C12.8047 2.13014 13.2317 1.935 13.652 2.01942C15.5627 2.40314 16.7246 4.36079 16.1516 6.23085L15.303 9L17.0142 9C19.6409 9 21.5485 11.5079 20.8574 14.0525L19.4994 19.0525C19.0267 20.7927 17.4526 22 15.6562 22H9.96721C8.869 21.9979 7.97939 21.1033 7.97939 20V9H8.31734C8.67472 9 9.0047 8.80771 9.18201 8.49613L12.592 2.50386Z"
@@ -25,6 +26,7 @@ export default function ThumbUpIcon({ className = '', size = '1em', bold = false
fill="none"
viewBox="0 0 24 24"
className={className}
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/TrashIcon.tsx b/packages/client/src/svgs/TrashIcon.tsx
index b2f0b02286..fcab75beed 100644
--- a/packages/client/src/svgs/TrashIcon.tsx
+++ b/packages/client/src/svgs/TrashIcon.tsx
@@ -16,6 +16,7 @@ export default function TrashIcon({ className = '' }: TrashIconProps) {
height="1em"
width="1em"
xmlns="http://www.w3.org/2000/svg"
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/UserIcon.tsx b/packages/client/src/svgs/UserIcon.tsx
index e8535e45eb..1003f08222 100644
--- a/packages/client/src/svgs/UserIcon.tsx
+++ b/packages/client/src/svgs/UserIcon.tsx
@@ -10,6 +10,7 @@ export default function UserIcon() {
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
+ aria-hidden="true"
>
<path d="M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2" />
<circle cx="12" cy="7" r="4" />
diff --git a/packages/client/src/svgs/VectorIcon.tsx b/packages/client/src/svgs/VectorIcon.tsx
index 209e9b912a..57aaa363ee 100644
--- a/packages/client/src/svgs/VectorIcon.tsx
+++ b/packages/client/src/svgs/VectorIcon.tsx
@@ -7,7 +7,7 @@ export default function VectorIcon({ className }: { className?: string }) {
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
className={className}
- aria-label=""
+ aria-hidden="true"
>
<path d="M7.45996 14.375C7.45996 13.3616 6.63844 12.54 5.625 12.54C4.61156 12.54 3.79004 13.3616 3.79004 14.375C3.79004 15.3884 4.61156 16.21 5.625 16.21C6.63844 16.21 7.45996 15.3884 7.45996 14.375ZM16.21 14.375C16.21 13.3616 15.3884 12.54 14.375 12.54C13.3616 12.54 12.54 13.3616 12.54 14.375C12.54 15.3884 13.3616 16.21 14.375 16.21C15.3884 16.21 16.21 15.3884 16.21 14.375ZM7.45996 5.625C7.45996 4.61156 6.63844 3.79004 5.625 3.79004C4.61156 3.79004 3.79004 4.61156 3.79004 5.625C3.79004 6.63844 4.61156 7.45996 5.625 7.45996C6.63844 7.45996 7.45996 6.63844 7.45996 5.625ZM16.21 5.625C16.21 4.61156 15.3884 3.79004 14.375 3.79004C13.3616 3.79004 12.54 4.61156 12.54 5.625C12.54 6.63844 13.3616 7.45996 14.375 7.45996C15.3884 7.45996 16.21 6.63844 16.21 5.625ZM17.54 14.375C17.54 16.123 16.123 17.54 14.375 17.54C12.627 17.54 11.21 16.123 11.21 14.375C11.21 12.627 12.627 11.21 14.375 11.21C16.123 11.21 17.54 12.627 17.54 14.375ZM8.79004 5.625C8.79004 7.37298 7.37298 8.79004 5.625 8.79004C3.87702 8.79004 2.45996 7.37298 2.45996 5.625C2.45996 3.87702 3.87702 2.45996 5.625 2.45996C7.37298 2.45996 8.79004 3.87702 8.79004 5.625ZM17.54 5.625C17.54 7.37298 16.123 8.79004 14.375 8.79004C13.7416 8.79004 13.153 8.60173 12.6582 8.28125L8.28125 12.6582C8.60173 13.153 8.79004 13.7416 8.79004 14.375C8.79004 16.123 7.37298 17.54 5.625 17.54C3.87702 17.54 2.45996 16.123 2.45996 14.375C2.45996 12.627 3.87702 11.21 5.625 11.21C6.25794 11.21 6.84623 11.3977 7.34082 11.7178L11.7178 7.34082C11.3977 6.84623 11.21 6.25794 11.21 5.625C11.21 3.87702 12.627 2.45996 14.375 2.45996C16.123 2.45996 17.54 3.87702 17.54 5.625Z" />
</svg>
diff --git a/packages/client/src/svgs/VolumeIcon.tsx b/packages/client/src/svgs/VolumeIcon.tsx
index c796a71a1f..f08784e884 100644
--- a/packages/client/src/svgs/VolumeIcon.tsx
+++ b/packages/client/src/svgs/VolumeIcon.tsx
@@ -9,6 +9,7 @@ export default function VolumeIcon({ className = '', size = '1em' }) {
height={size}
width={size}
className={cn(className)}
+ aria-hidden="true"
>
<path
fillRule="evenodd"
diff --git a/packages/client/src/svgs/VolumeMuteIcon.tsx b/packages/client/src/svgs/VolumeMuteIcon.tsx
index 4d5b1ab6b2..29a9954503 100644
--- a/packages/client/src/svgs/VolumeMuteIcon.tsx
+++ b/packages/client/src/svgs/VolumeMuteIcon.tsx
@@ -9,6 +9,7 @@ export default function VolumeMuteIcon({ className = '', size = '1em' }) {
height={size}
width={size}
className={cn(className)}
+ aria-hidden="true"
>
<path
fillRule="evenodd"