Commit 560e079
fix(settings): wire search button aria-expanded + hide redundant row labels
settings.component.html
- Add aria-expanded + aria-controls on the search toggle button so
screen readers announce whether the search panel is open. Mirrors
the fix applied to logs.component.html.
- Add aria-hidden="true" to the three duplicate-text spans next to
setting-backup, setting-restore, and setting-users buttons. Each
button already carries the same translated text as its aria-label,
so SRs were announcing the label twice (once for the visible span,
once for the button).
Carries forward the accessibility improvements from #2699.
Deferred (substantial behavioural refactors, out of scope for pure
attribute grafting):
- settings.component.ts restart-required toast rewrite (custom HTML
toast with manually injected Restart button + click/keydown handlers
on a synthesized <button>). Explicit in the deferred list.
- sidebar.component.ts interaction refactor (cached element refs,
touchstart routing, click-outside-to-close). Pure behavioural change,
no a11y intent.
- settings.service.ts getIframeOrigin helper extraction + comment
removal. Pure refactor, no a11y intent.
Already on HEAD (skipped):
- backup.component.html — fully done (role="group" on per-backup
action groups, aria-hidden on every icon and the toggle label,
translated aria-labels on every button)
- sidebar.component.html — already excellent (role="menuitem",
tabindex=0, handleKeydown, ariaCurrentWhenActive="page",
aria-hidden on all icons, <nav> wrapper with role+aria-label)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 769ff9d commit 560e079
2 files changed
Lines changed: 7 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
18 | | - | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
101 | | - | |
| 103 | + | |
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| |||
115 | 117 | | |
116 | 118 | | |
117 | 119 | | |
118 | | - | |
| 120 | + | |
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
| |||
132 | 134 | | |
133 | 135 | | |
134 | 136 | | |
135 | | - | |
| 137 | + | |
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
| |||
0 commit comments