Commit c946ba8
authored
[Security Solution][Users page] a11y:Fix double announcement on tootips (elastic#218982)
## Summary
Addresses this `a11y` issue:
elastic#205327
## Changes made:
- Suppress duplicate screen-reader announcements by adding the
`disableScreenReaderOutput` prop to the `EuiToolTip` wrapping the “Add
filter” button.
- Confirmed the `disableScreenReaderOutput` prop (introduced in EUI
v101.2.0) by consulting the official tooltip documentation:
https://eui.elastic.co/#/display/tooltip
**How to test:**
1. Navigate to `Security -> Explore -> Users page`.
2. Navigate to `add filter` button by pressing Tab key.
3. Check the button and tooltip announcement on a screen reader.
### Sample
https://github.com/user-attachments/assets/dd4528fd-9ee3-437e-953f-7fc15fdde7ac
### Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios1 parent 96b46b5 commit c946ba8
2 files changed
Lines changed: 2 additions & 2 deletions
File tree
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments