mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #7023] [accessability]: بهبود فوری دسترسپذیری پنل #4622
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4622
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alinasrollahzadeh405-sudo on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/7023
Is your feature request related to a problem?
سلام. لطفا هرچه زودتر به مشکل دراپدانها با صفحهخوان رسیدگی کنید! کار با پنل واقعا سخته! ساخت inbound هم نیاز به کمک یه فرد بینا داره!
تمام دراپدانها، مثلا انتخاب ترنسپورت باید برچسبگذاری بشه و به عنوان
selectable itemبه صفحهخوان معرفی بشه. و یه سری بهبودهای دیگه. مثلا روی chrome 156 android دراپدانها حتی به صفحهخوان معرفی هم نمیشه! ممنون از شما!Describe the solution you'd like
باید بهبودهایی (هرچه سریعتر) در خصوص accessability پنل صورت بگیره. بخش انتخاب پرتکل، ترنسپورت، ایمباند و غیره (هر جایی که dropdown menu داره)
Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
No response
Are you willing to help?
Before submitting
@HamedSanaei commented on GitHub (Oct 29, 2026):
Implementation submitted in PR #7025: https://github.com/MHSanaei/3x-ui/pull/7025
Findings
This involves more than missing labels. Inspection of the installed Ant Design 6.6.7/rc-select implementation showed that virtualized Select renders option semantics on a hidden proxy containing the active item and its neighbors; the visible rows do not carry the same option semantics. Default popup placement also puts the list outside the
aria-modaldialog.I evaluated
virtual={false}against the rendered components and Chromium accessibility tree. It exposes the real list/option elements, but the closed single-select combobox still had an empty accessible value. A failing regression test reproduced this even after virtualization was disabled. Therefore, disabling virtualization alone was insufficient for the simple pickers.Implemented changes
<select>component for short, single-value lists, including Protocol, Transport, encryption/auth choices and related protocol/security/transport settings. The browser supplies the control/option semantics, selected value and native picker interaction.onChange/onAfterChangeside effects remain in place.Verification and preserved contracts
The relevant defects were recorded as failing tests before their fixes.
make verifypassed, including frontend typecheck/lint/format checks, 2,030 tests across 219 files, production and Storybook builds, Go tests/lint/build and generated-contract checks.A separate Playwright check passed four workflows: desktop/mobile viewport × create/edit. It uses real Chromium keyboard input, checks None/TLS/REALITY selection, desktop native-picker cancellation, selected Transport values in the accessibility tree, focus containment/return, serialized add/update requests and preservation of server-owned clients during editing. HTTP responses are stubbed in this browser check; the form, selectors, validation and serialization code are real. This check is now part of CI.
All 11 main upstream CI checks passed on
823f149cc724ff048730d2cec8d0ab48cc4bbcfb, including the new keyboard/accessibility-tree step: CI run.Protocol availability, option values, edit-mode protocol disabling, defaults, conditional settings, transport/security side effects and localization were preserved. No Go implementation, API contract, database schema, Xray configuration generator, quota/expiry logic, dependency or translation key was changed. The accessibility work from #6907 remains intact.
Follow-up verification needed
Actual TalkBack and NVDA testing has not been performed. Chromium AX checks and mobile viewport emulation do not verify Android's accessibility service, spoken announcements or touch exploration.
Before considering this issue resolved, please verify on Android TalkBack + Chrome and desktop NVDA:
The manual checklist and repeatable test commands are documented. Broader dropdown accessibility outside the inbound workflow can be evaluated separately under the related reports #6832/#6107.
The PR uses
Refs #7023, so it will not automatically close this issue before real screen-reader verification.