From 0d8572f532b2ea4710bfb0229153cc971088568f Mon Sep 17 00:00:00 2001 From: G30 <50341825+silentoplayz@users.noreply.github.com> Date: Sat, 24 Oct 2026 16:14:26 -0400 Subject: [PATCH] fix(a11y): Archived Chats is a table for screen readers, with the sort order on its column headers (#33022) --- .../chat/Settings/ArchivedChats.svelte | 191 ++++++++++-------- 1 file changed, 110 insertions(+), 81 deletions(-) diff --git a/src/lib/components/chat/Settings/ArchivedChats.svelte b/src/lib/components/chat/Settings/ArchivedChats.svelte index e66b787bed..5d52b248ed 100644 --- a/src/lib/components/chat/Settings/ArchivedChats.svelte +++ b/src/lib/components/chat/Settings/ArchivedChats.svelte @@ -304,99 +304,128 @@ {$i18n.t('You have no archived conversations.')} {:else} -
- - -
+
+
+
+ +
+ +
+
-
- {#each chatList as chat (chat.id)} -
- { - event.preventDefault(); - showSettings.set(false); - goto(`/c/${chat.id}`); - }} - > - {chat?.title} - - - + +
+ - {/if} + {#if $user?.role === 'admin' || ($user?.permissions?.chat?.delete ?? true)} + + + + {/if} +
-
- {/each} + {/each} +
{#if !allChatsLoaded}