@@ -67,16 +68,22 @@ const SettingsBar = ({ setActiveTab, activeTab }: SettingsBarProps) => {
{tabs.map((tab, index) => (
@@ -85,7 +92,8 @@ const SettingsBar = ({ setActiveTab, activeTab }: SettingsBarProps) => {
diff --git a/frontend/src/conversation/Conversation.tsx b/frontend/src/conversation/Conversation.tsx
index 8a36ea5f..e1888e25 100644
--- a/frontend/src/conversation/Conversation.tsx
+++ b/frontend/src/conversation/Conversation.tsx
@@ -386,9 +386,15 @@ export default function Conversation() {
{...getRootProps()}
className="flex w-full items-center rounded-[40px] border border-silver bg-white dark:bg-raisin-black"
>
-
+
+
+
{status === 'loading' ? (

+ alt={t('loading')}
+ />
) : (
-
![]()
handleQuestionSubmission()}
- src={isDarkTheme ? SendDark : Send}
- >
+ aria-label={t('send')}
+ className="flex items-center justify-center"
+ >
+

+
)}
diff --git a/frontend/src/locale/en.json b/frontend/src/locale/en.json
index 070deba6..9f9cbb21 100644
--- a/frontend/src/locale/en.json
+++ b/frontend/src/locale/en.json
@@ -166,6 +166,8 @@
"copied": "Copied",
"speak": "Speak",
"answer": "Answer",
+ "send": "Send message",
+ "loading": "Loading response",
"edit": {
"placeholder": "Type the updated query..."
},
diff --git a/frontend/src/preferences/PromptsModal.tsx b/frontend/src/preferences/PromptsModal.tsx
index 3aa8c54c..3a1f9bfa 100644
--- a/frontend/src/preferences/PromptsModal.tsx
+++ b/frontend/src/preferences/PromptsModal.tsx
@@ -29,8 +29,9 @@ function AddPrompt({
setNewPromptName('');
setNewPromptContent('');
}}
+ aria-label="Close add prompt modal"
>
-

+
@@ -40,7 +41,11 @@ function AddPrompt({
Add your custom prompt and save it to DocsGPT
+
+
@@ -104,8 +114,9 @@ function EditPrompt({
onClick={() => {
setModalState('INACTIVE');
}}
+ aria-label="Close edit prompt modal"
>
-

+
@@ -115,13 +126,17 @@ function EditPrompt({
Edit your custom prompt and save it to DocsGPT
+
setEditPromptName(e.target.value)}
- >
+ />
Prompt Name
@@ -132,10 +147,15 @@ function EditPrompt({
Prompt Text
+
diff --git a/frontend/src/settings/APIKeys.tsx b/frontend/src/settings/APIKeys.tsx
index 6775ba87..038e4bbb 100644
--- a/frontend/src/settings/APIKeys.tsx
+++ b/frontend/src/settings/APIKeys.tsx
@@ -115,12 +115,20 @@ export default function APIKeys() {
- | {t('settings.apiKeys.name')} |
-
+ |
+ {t('settings.apiKeys.name')}
+ |
+
{t('settings.apiKeys.sourceDoc')}
|
- {t('settings.apiKeys.key')} |
- |
+
+ {t('settings.apiKeys.key')}
+ |
+ |
@@ -146,7 +154,7 @@ export default function APIKeys() {
handleDeleteKey(element.id)}
diff --git a/frontend/src/settings/Analytics.tsx b/frontend/src/settings/Analytics.tsx
index 8baad361..ccb5ffcb 100644
--- a/frontend/src/settings/Analytics.tsx
+++ b/frontend/src/settings/Analytics.tsx
@@ -164,7 +164,7 @@ export default function Analytics() {
diff --git a/frontend/src/settings/General.tsx b/frontend/src/settings/General.tsx
index 227b0a6e..216ec1e0 100644
--- a/frontend/src/settings/General.tsx
+++ b/frontend/src/settings/General.tsx
@@ -81,9 +81,9 @@ export default function General() {
return (
-
+
+
-
+
+
@@ -115,9 +115,9 @@ export default function General() {
/>
-
+
+
-
+
+
({
value: value,
@@ -163,16 +163,14 @@ export default function General() {
/>
-
+
+
diff --git a/frontend/src/settings/Prompts.tsx b/frontend/src/settings/Prompts.tsx
index 6e1810e5..611b0b90 100644
--- a/frontend/src/settings/Prompts.tsx
+++ b/frontend/src/settings/Prompts.tsx
@@ -168,7 +168,7 @@ export default function Prompts({
/>
|