3x-ui/frontend/src/components/form
Alireza Ahmadi 1bdb517b88 fix(a11y): silence live stats and make Select tags removable for screen readers
Ant Design's Spin wraps its content in aria-live="polite", so every
WebSocket tick on the dashboard, inbounds, clients and nodes pages was
announced, and only the changed number was read, with no label.
Pass aria-live="off" on every Spin that wraps content; aria-busy still
signals loading. Each vital tile is now a group named by its metric,
so "47.2 %" is read as CPU.

rc-select renders each tag's remove "x" as an aria-hidden span with no
tabIndex, so screen-reader users could only Backspace the last value
away, never remove one SNI or inbound from the middle.
selectTagRender swaps in a real button named "Remove <value>" and
moves focus to the next tag after removal. It is applied to every
tags/multiple Select. maxTagCount="responsive" is dropped because it
hid selected inbounds behind "+N", where no screen reader could reach
them.

Two oxlint rules (antd-a11y/spin-content-not-live and
antd-a11y/select-tag-remove) keep new code from regressing either fix.
2026-11-01 16:49:19 +01:00
..
rhf refactor(frontend): read the panel's navigation from one route manifest (#6922) 2026-10-24 20:48:31 +02:00
CipherSuitesSelect.tsx fix(a11y): silence live stats and make Select tags removable for screen readers 2026-11-01 16:49:19 +01:00
DateTimePicker.css Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
DateTimePicker.stories.tsx Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
DateTimePicker.tsx fix(frontend): make the panel usable with screen readers (#6907) 2026-10-23 18:29:47 +02:00
DynamicEchHelper.tsx feat(tls): add a dynamic DoH helper for echConfigList, with CDN guidance (#6869) 2026-10-24 06:07:11 +02:00
GoRegexInput.tsx feat(sub): auto-detect subscription format by User-Agent (Updated) (#5826) 2026-07-14 13:01:40 +02:00
HeaderMapEditor.stories.tsx Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
HeaderMapEditor.tsx fix(frontend): make the panel usable with screen readers (#6907) 2026-10-23 18:29:47 +02:00
index.ts fix(a11y): silence live stats and make Select tags removable for screen readers 2026-11-01 16:49:19 +01:00
JsonEditor.css refactor(frontend): reorganize source tree & break down oversized modals/tabs (#4698) 2026-05-30 21:51:33 +02:00
JsonEditor.stories.tsx feat(frontend): make Storybook a validated, fully covered component workbench 2026-07-14 03:37:21 +02:00
JsonEditor.tsx fix(inbounds): preserve formatting in the advanced JSON editor (#6857) 2026-10-24 04:54:19 +02:00
RemarkTemplateField.stories.tsx Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
RemarkTemplateField.tsx fix(frontend): make the panel usable with screen readers (#6907) 2026-10-23 18:29:47 +02:00
RemarkVarPicker.stories.tsx Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
RemarkVarPicker.tsx Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
SelectAllClearButtons.stories.tsx fix(a11y): silence live stats and make Select tags removable for screen readers 2026-11-01 16:49:19 +01:00
SelectAllClearButtons.tsx Move to TypeScript 7 and the oxc toolchain (oxlint + oxfmt) (#6262) 2026-08-19 15:36:27 +02:00
SelectTag.css fix(a11y): silence live stats and make Select tags removable for screen readers 2026-11-01 16:49:19 +01:00
SelectTag.stories.tsx fix(a11y): silence live stats and make Select tags removable for screen readers 2026-11-01 16:49:19 +01:00
SelectTag.tsx fix(a11y): silence live stats and make Select tags removable for screen readers 2026-11-01 16:49:19 +01:00