Commit 80fc981
committed
Auto-fix violations of the @elastic/eui/sr_output_disabled_tooltip ESLint rule (#227044)
## Summary
This PR applies the auto-fix for the newly introduced
`@elastic/eui/sr_output_disabled_tooltip` ESLint rule across the
codebase. The rule ensures proper accessibility behavior by adding
`disableScreenReaderOutput` prop to `EuiToolTip` components when their
content duplicates the trigger button's `aria-label`.
## Changes
- Auto-fixed instances where `EuiToolTip` components need
`disableScreenReaderOutput` prop to prevent redundant screen reader
announcements
## Related
- elastic/eui#8848
(cherry picked from commit e3e50ea)
# Conflicts:
# x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/results/summary/index.tsx1 parent e341bce commit 80fc981
96 files changed
Lines changed: 198 additions & 121 deletions
File tree
- examples/files_example/public/components
- src/platform
- packages
- plugins
- private
- vis_default_editor/public/components
- __snapshots__
- sidebar
- vis_types/xy/public/editor/components/options/metrics_axes
- __snapshots__
- x-pack
- platform
- plugins
- private
- canvas/public
- components
- arg_form
- asset_manager
- home/my_workpads
- var_config
- expression_types
- data_visualizer/public/application/common/components/document_count_content
- graph/public/components/control_panel
- remote_clusters/public/application/sections/remote_cluster_list/remote_cluster_table
- solutions
- observability/plugins
- observability_ai_assistant_app/public/functions
- observability/public/components/alert_actions
- synthetics/public/apps/synthetics/components/common/links
- search/plugins/serverless_search/public/application/components/connectors
- security
- packages
- ecs-data-quality-dashboard/impl/data_quality_panel/data_quality_details/indices_details/pattern/summary_table/utils
- kbn-cloud-security-posture/graph/src/components/controls
- plugins
- security_solution/public
- assistant/comment_actions
- attack_discovery/pages/header
- overview/components/recent_timelines
- threat_intelligence/modules
- indicators/components
- barchart
- flyout
- table
- query_bar/components
- timeline/components
- timelines/components
- modal/header
- row_renderers_browser
- timeline
- search_or_filter
- unified_components/data_table
- session_view/public/components
- tty_player_controls
- tty_text_sizer
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| 282 | + | |
282 | 283 | | |
283 | 284 | | |
284 | 285 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
143 | 144 | | |
144 | 145 | | |
145 | 146 | | |
| |||
163 | 164 | | |
164 | 165 | | |
165 | 166 | | |
| 167 | + | |
166 | 168 | | |
167 | 169 | | |
168 | 170 | | |
| |||
0 commit comments