feat: arrow-key tree and menus, real buttons, contrast fixes

Accessibility stage 2.

- The channel tree is an ARIA tree with one Tab stop. Up/Down/Home/End walk
  the visible rows, Left/Right collapse, expand, or jump to parent and first
  child, and selection follows focus. The server row is focusable too.
- Menu bar entries are buttons with aria-expanded. Dropdown and context
  menus focus their first item on open, move with the arrow keys (except
  inside the volume slider), and Escape returns focus to the opener.
- Bookmark and contact list items, chat tabs and server tabs work from the
  keyboard (Delete closes a tab, since its × can't be a nested button).
- <main> landmark and a level-1 heading for screen-reader navigation.

An axe-core scan of the connected UI in every built-in design turned up
contrast failures, three of them real bugs: the active server tab, the
update toast and the feedback bubble sit on a fixed dark background but used
the theme's text colour, so the light theme showed dark-on-dark text. Also
darkens the light theme's muted text, the donate button, and lifts
GreenTeaSpeak's muted grey to 4.5:1 (its selection colour stays native).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Opus 5.5 committed 2026-10-04 09:19:24 +00:00
1 parent b84dc0faac
commit d36b94a496
10 files changed
+227 -85

No files matched your search

+1 -3
View File
@@ -391,6 +391,7 @@
"info.no": "Nein",
"tree.noMatches": "Keine Treffer",
"tree.search": "Kanäle und Nutzer suchen",
"tree.label": "Kanäle",
"tree.notConnected": "Nicht verbunden",
"tree.clickToSelect": "Klicken zum Auswählen, Doppelklick zum Beitreten",
"tree.clickToJoin": "Doppelklick zum Beitreten",
@@ -659,10 +660,7 @@
"nachrichten.message": "Nachricht",
"nachrichten.add": "Hinzufügen",
"nachrichten.delete": "Löschen",
"tree.expand": "Aufklappen",
"tree.collapse": "Zuklappen",
"tabs.disconnect": "Verbindung trennen",
"tabs.closeTab": "Tab schließen: {label}",
"identity.importInvalid": "„{file}“ ist keine gültige Identitätsdatei.",
"log.fileTransferFailed": "Dateiübertragung fehlgeschlagen:",
"log.serverReconnecting": "Verbindung zum Server verloren, verbinde neu…",
+1 -3
View File
@@ -391,6 +391,7 @@
"info.no": "No",
"tree.noMatches": "No matches",
"tree.search": "Search channels and users",
"tree.label": "Channels",
"tree.notConnected": "Not connected",
"tree.clickToSelect": "Click to select, double-click to join",
"tree.clickToJoin": "Double-click to join",
@@ -659,10 +660,7 @@
"nachrichten.message": "Message",
"nachrichten.add": "Add",
"nachrichten.delete": "Delete",
"tree.expand": "Expand",
"tree.collapse": "Collapse",
"tabs.disconnect": "Disconnect",
"tabs.closeTab": "Close tab: {label}",
"identity.importInvalid": "\"{file}\" is not a valid identity file.",
"log.fileTransferFailed": "File transfer failed:",
"log.serverReconnecting": "Connection to the server lost, reconnecting…",
+1 -3
View File
@@ -390,6 +390,7 @@
"info.no": "خیر",
"tree.noMatches": "نتیجه‌ای یافت نشد",
"tree.search": "جستجوی کانال‌ها و کاربران",
"tree.label": "کانال‌ها",
"tree.notConnected": "متصل نیست",
"tree.clickToSelect": "برای انتخاب کلیک کن، برای ورود دوبار کلیک کن",
"tree.clickToJoin": "برای ورود دوبار کلیک کن",
@@ -658,10 +659,7 @@
"nachrichten.message": "پیام",
"nachrichten.add": "افزودن",
"nachrichten.delete": "حذف",
"tree.expand": "باز کردن",
"tree.collapse": "بستن",
"tabs.disconnect": "قطع اتصال",
"tabs.closeTab": "بستن زبانه: {label}",
"identity.importInvalid": "«{file}» یک فایل هویت معتبر نیست.",
"log.fileTransferFailed": "انتقال فایل ناموفق بود:",
"log.serverReconnecting": "اتصال به سرور قطع شد، در حال اتصال دوباره…",
+1 -3
View File
@@ -292,6 +292,7 @@
"info.no": "否",
"tree.noMatches": "无匹配结果",
"tree.search": "搜索频道和用户",
"tree.label": "频道",
"tree.notConnected": "未连接",
"tree.clickToSelect": "单击选择,双击加入",
"tree.clickToJoin": "双击加入",
@@ -658,10 +659,7 @@
"stream.state.failed": "连接失败",
"stream.state.closed": "已结束",
"clientContext.watchStream": "观看直播",
"tree.expand": "展开",
"tree.collapse": "折叠",
"tabs.disconnect": "断开连接",
"tabs.closeTab": "关闭标签页:{label}",
"identity.importInvalid": "“{file}”不是有效的身份文件。",
"log.fileTransferFailed": "文件传输失败:",
"log.serverReconnecting": "与服务器的连接已断开,正在重新连接…",