Commit f478571
Accessibility issues cherry-pick (#1560)
* fix: prevent workspace name reset when backup image URL changes (#1545)
Assisted-by: Claude Sonnet 4.6
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
* fix(a11y): align Restore Workspace button accessible name with visible label (#1547)
The button's aria-label was "Restore from backup" while the visible text
was "Restore Workspace", violating WCAG 2.5.3 (Label in Name). Removing
the aria-label lets the visible text serve as the accessible name.
Fixes: https://issues.redhat.com/browse/CRW-10720
Assisted-by: Claude Opus 4.6 (1M context)
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(a11y): align Search field accessible name and layout on Backups tab (#1556)
WCAG 2.5.3 (Label in Name) — the Search input on the Backups tab had
aria-label "Filter backups" while its visible placeholder was "Search".
Rename to "Search backups" on both the TextInput and search Button.
Align the Backups toolbar and table layout with the Active Workspaces
tab by adding hidden checkbox elements that match the same DOM
structure, ensuring pixel-perfect column alignment.
Move the backup schedule label from the Backups toolbar to the
page-level header so it is visible on both tabs. Remove force:true
from BackupsView fetch calls so the 30s Redux cache prevents redundant
API calls on tab switch.
Add dedicated unit tests for BackupsListToolbar and remove redundant
toolbar tests from BackupsTableView.
Assisted-by: Claude Opus 4.6
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
# Conflicts:
# packages/dashboard-frontend/src/pages/WorkspacesList/BackupsView/Toolbar/index.tsx
* fix(test): align BackupsListToolbar test with Restore button label
The test was looking for "Restore from Backup" (the old aria-label
removed in #1547) instead of "Restore Workspace" (the visible text).
Assisted-by: Claude Opus 4.6 (1M context)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
---------
Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 20d7f1e commit f478571
21 files changed
Lines changed: 467 additions & 511 deletions
File tree
- .vscode
- packages/dashboard-frontend/src
- containers/WorkspacesList
- pages
- RestoreFromBackup
- DefaultRegistryForm
- ExternalRegistryForm
- __tests__
- WorkspaceNameField
- __mocks__
- __tests__
- __tests__
- WorkspacesList
- BackupsView
- BackupsTableView
- __tests__
- BackupsTable
- Toolbar
- __tests__
- __tests__
- __tests__
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| |||
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | | - | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
73 | 77 | | |
74 | 78 | | |
75 | 79 | | |
76 | | - | |
77 | | - | |
78 | 80 | | |
| 81 | + | |
79 | 82 | | |
| 83 | + | |
| 84 | + | |
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
| |||
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
| 98 | + | |
| 99 | + | |
93 | 100 | | |
94 | 101 | | |
95 | 102 | | |
96 | 103 | | |
97 | 104 | | |
98 | | - | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
110 | 116 | | |
111 | 117 | | |
112 | 118 | | |
113 | | - | |
114 | | - | |
115 | 119 | | |
| 120 | + | |
116 | 121 | | |
| 122 | + | |
| 123 | + | |
117 | 124 | | |
118 | 125 | | |
119 | 126 | | |
| |||
Lines changed: 27 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| |||
45 | 44 | | |
46 | 45 | | |
47 | 46 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 47 | + | |
| 48 | + | |
56 | 49 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 50 | + | |
73 | 51 | | |
74 | 52 | | |
75 | 53 | | |
76 | 54 | | |
77 | 55 | | |
78 | 56 | | |
79 | 57 | | |
80 | | - | |
81 | 58 | | |
82 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
83 | 71 | | |
84 | 72 | | |
85 | 73 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | 74 | | |
90 | 75 | | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
98 | 80 | | |
| 81 | + | |
99 | 82 | | |
100 | 83 | | |
101 | 84 | | |
| |||
109 | 92 | | |
110 | 93 | | |
111 | 94 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
117 | 99 | | |
118 | 100 | | |
119 | 101 | | |
| |||
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
112 | 124 | | |
113 | 125 | | |
114 | 126 | | |
| |||
Lines changed: 21 additions & 57 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 20 | + | |
27 | 21 | | |
28 | 22 | | |
29 | 23 | | |
| |||
82 | 76 | | |
83 | 77 | | |
84 | 78 | | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
| 79 | + | |
| 80 | + | |
109 | 81 | | |
110 | | - | |
111 | 82 | | |
112 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
113 | 93 | | |
114 | 94 | | |
115 | 95 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | 96 | | |
127 | 97 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
137 | 102 | | |
138 | 103 | | |
139 | 104 | | |
| |||
147 | 112 | | |
148 | 113 | | |
149 | 114 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
155 | 119 | | |
156 | 120 | | |
157 | 121 | | |
| |||
Lines changed: 0 additions & 33 deletions
This file was deleted.
0 commit comments