mirror of
https://github.com/Moepchi/webspeak3.git
synced 2026-12-01 00:42:49 +08:00
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:
1 parent
b84dc0faac
commit
d36b94a496
10 files changed
+227
-85
No files matched your search
@@ -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": "اتصال به سرور قطع شد، در حال اتصال دوباره…",
|
||||
|
||||
Reference in new issue
Block a user