You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(a11y): add Dialog titles/descriptions and missing index.code key
Closes#7835.
- src/locales/en.json: add `index.code` (referenced by src/templates/index.html
for the session-receive code input but never defined, producing a
"Couldn't find translation key" console error on the landing page).
- admin/src/utils/LoadingScreen.tsx, admin/src/pages/PadPage.tsx,
admin/src/pages/AuthorPage.tsx: every @radix-ui/react-dialog `Dialog.Content`
now has a `Dialog.Title` and `Dialog.Description` (visually hidden via
`@radix-ui/react-visually-hidden` where there is no visible heading),
silencing Radix's a11y console warnings on every admin page load.
- src/tests/backend-new/specs/template-l10n-keys.test.ts: regression
coverage — fails CI if any `data-l10n-id` in `src/templates/*.html` is
missing from `src/locales/en.json`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
"admin_pads.empty_never_edited": "empty · never edited",
28
+
"admin_pads.error_dialog_description": "An error has occurred.",
24
29
"admin_pads.error_prefix": "Error",
25
30
"admin_pads.filter.active": "Active",
26
31
"admin_pads.filter.all": "All",
@@ -217,6 +222,7 @@
217
222
"index.copyLinkButton": "Copy link to clipboard",
218
223
"index.transferToSystem": "3. Copy session to new system",
219
224
"index.transferToSystemDescription": "Open the copied link in the target browser or device to transfer your session.",
225
+
"index.code": "Code",
220
226
"index.transferSessionDescription": "Transfer your current session to browser or device by clicking the button below. This will copy a link to a page that will transfer your session when opened in the target browser or device.",
221
227
"index.createOpenPad": "Open pad by name",
222
228
"index.openPad": "open an existing Pad with the name:",
0 commit comments