Commit 221078a
authored
[Search][A11y] Search application disable add selected button when error in selected indices (elastic#241031)
## Summary
Fix A11y issue. When there is an error in the search application -> add
new indices-> select indices combo box, add selected button should be
disabled.
**Preconditions**
Stateful Search Applications -> Content page is opened.
Search application is added.
I used Mac voice over or Screen Reader (NVDA).
**To reproduce:**
1. Using only keyboard Navigate to Add new indices button by pressing
Tab key.
2. Press Enter.
3. Navigate to Select searchable indices field.
4. Enter any text (f.e.: test).
5. Navigate to Add selected button.
6. Press Enter.
7. Observe screen reader.
8. Press Tab key.
9. Observe the page.
### Screenshot
<img width="2052" height="1250" alt="Screenshot 2025-10-28 at 3 51
07 PM"
src="https://github.com/user-attachments/assets/c07c5c75-f3ca-47b9-ae2f-6ba2e972d103"
/>
### Checklist
- [x] Any text added follows [EUI's writing
guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses
sentence case text and includes [i18n
support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md)1 parent 3829dd2 commit 221078a
File tree
2 files changed
+15
-2
lines changed- x-pack/solutions/search/plugins/enterprise_search/public/applications/applications/components
- search_applications/components
- search_application
2 files changed
+15
-2
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
| 107 | + | |
105 | 108 | | |
106 | 109 | | |
107 | 110 | | |
| |||
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| |||
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | 49 | | |
45 | 50 | | |
46 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
47 | 56 | | |
48 | 57 | | |
49 | 58 | | |
| |||
0 commit comments