fix(app): a11y translations

This commit is contained in:
Adam
2026-01-22 05:36:28 -06:00
parent 366da595af
commit d9b9485019
39 changed files with 213 additions and 28 deletions

View File

@@ -2345,7 +2345,7 @@ export default function Layout(props: ParentProps) {
<Titlebar />
<div class="flex-1 min-h-0 flex">
<nav
aria-label="Projects and sessions"
aria-label={language.t("sidebar.nav.projectsAndSessions")}
classList={{
"hidden xl:block": true,
"relative shrink-0": true,
@@ -2379,7 +2379,7 @@ export default function Layout(props: ParentProps) {
}}
/>
<nav
aria-label="Projects and sessions"
aria-label={language.t("sidebar.nav.projectsAndSessions")}
classList={{
"@container fixed top-10 bottom-0 left-0 z-50 w-72 bg-background-base transition-transform duration-200 ease-out": true,
"translate-x-0": layout.mobileSidebar.opened(),

View File

@@ -1555,7 +1555,7 @@ export default function Page() {
<Show when={isDesktop() && showTabs()}>
<aside
id="review-panel"
aria-label="Review and files"
aria-label={language.t("session.panel.reviewAndFiles")}
class="relative flex-1 min-w-0 h-full border-l border-border-weak-base"
>
<DragDropProvider
@@ -1595,7 +1595,7 @@ export default function Page() {
icon="close"
variant="ghost"
onClick={() => tabs().close("context")}
aria-label="Close context tab"
aria-label={language.t("common.closeTab")}
/>
</Tooltip>
}
@@ -1622,7 +1622,7 @@ export default function Page() {
variant="ghost"
iconSize="large"
onClick={() => dialog.show(() => <DialogSelectFile />)}
aria-label="Open file"
aria-label={language.t("command.file.open")}
/>
</TooltipKeybind>
</div>
@@ -1932,7 +1932,7 @@ export default function Page() {
<div
id="terminal-panel"
role="region"
aria-label="Terminal"
aria-label={language.t("terminal.title")}
class="relative w-full flex flex-col shrink-0 border-t border-border-weak-base"
style={{ height: `${layout.terminal.height()}px` }}
>
@@ -2009,7 +2009,7 @@ export default function Page() {
variant="ghost"
iconSize="large"
onClick={terminal.new}
aria-label="New terminal"
aria-label={language.t("command.terminal.new")}
/>
</TooltipKeybind>
</div>