Skip to content

Auto-fix violations of the @elastic/eui/sr_output_disabled_tooltip ESLint rule#227044

Merged
alexwizp merged 14 commits intoelastic:mainfrom
alexwizp:sr_output_disabled_tooltip
Jul 16, 2025
Merged

Auto-fix violations of the @elastic/eui/sr_output_disabled_tooltip ESLint rule#227044
alexwizp merged 14 commits intoelastic:mainfrom
alexwizp:sr_output_disabled_tooltip

Conversation

@alexwizp
Copy link
Copy Markdown
Contributor

@alexwizp alexwizp commented Jul 8, 2025

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

@alexwizp alexwizp force-pushed the sr_output_disabled_tooltip branch from 5a075ef to 8845b21 Compare July 8, 2025 18:36
@alexwizp alexwizp marked this pull request as ready for review July 8, 2025 18:36
@alexwizp alexwizp requested review from a team as code owners July 8, 2025 18:37
@alexwizp alexwizp requested a review from a team July 8, 2025 18:37
@alexwizp alexwizp requested review from a team as code owners July 8, 2025 18:37
@alexwizp alexwizp requested review from gergoabraham and tomsonpl July 8, 2025 18:37
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:Fleet Team label for Observability Data Collection Fleet team Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. labels Jul 8, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/fleet (Team:Fleet)

@botelastic botelastic bot added the ci:project-deploy-observability Create an Observability project label Jul 16, 2025
@github-actions
Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

Copy link
Copy Markdown
Contributor

@yngrdyn yngrdyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Obs-ux-logs changes LGTM

@alexwizp alexwizp merged commit e3e50ea into elastic:main Jul 16, 2025
15 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 9.1

https://github.com/elastic/kibana/actions/runs/16316358628

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 16, 2025
…Lint rule (elastic#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)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 17, 2025
@alexwizp alexwizp added backport:version Backport to applied version labels v9.1.1 and removed backport:prev-minor labels Jul 18, 2025
alexwizp added a commit to alexwizp/kibana that referenced this pull request Jul 18, 2025
…Lint rule (elastic#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.tsx
@elastic elastic deleted a comment from kibanamachine Jul 18, 2025
@alexwizp alexwizp removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 18, 2025
alexwizp added a commit to alexwizp/kibana that referenced this pull request Jul 18, 2025
…Lint rule (elastic#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:
#	src/platform/packages/private/kbn-esql-editor/src/editor_footer/keyboard_shortcuts.tsx
#	src/platform/packages/shared/kbn-cell-actions/src/components/extra_actions_button.tsx
#	src/platform/packages/shared/kbn-unified-tabs/src/components/tabs_bar/tabs_bar.tsx
#	src/platform/packages/shared/kbn-unified-tabs/src/components/tabs_bar_menu/tabs_bar_menu.tsx
#	src/platform/plugins/shared/unified_doc_viewer/public/components/observability/traces/components/field_with_actions/field_hover_popover_action.tsx
#	x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant/conversations/conversation_selector_settings/index.tsx
#	x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/header/index.tsx
#	x-pack/solutions/security/plugins/security_solution/public/attack_discovery/pages/results/summary/index.tsx
#	x-pack/solutions/security/plugins/threat_intelligence/public/modules/query_bar/components/filter_in.tsx
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 21, 2025
alexwizp added a commit that referenced this pull request Jul 21, 2025
…tip ESLint rule (#227044) (#228545)

# Backport

This will backport the following commits from `main` to `9.1`:
- [Auto-fix violations of the @elastic/eui/sr_output_disabled_tooltip
ESLint rule (#227044)](#227044)

<!--- Backport version: 10.0.1 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Alexey
Antonov","email":"alexwizp@gmail.com"},"sourceCommit":{"committedDate":"2025-07-16T09:56:52Z","message":"Auto-fix
violations of the @elastic/eui/sr_output_disabled_tooltip ESLint rule
(#227044)\n\n## Summary\n\nThis PR applies the auto-fix for the newly
introduced\n`@elastic/eui/sr_output_disabled_tooltip` ESLint rule across
the\ncodebase. The rule ensures proper accessibility behavior by
adding\n`disableScreenReaderOutput` prop to `EuiToolTip` components when
their\ncontent duplicates the trigger button's `aria-label`.\n\n##
Changes\n- Auto-fixed instances where `EuiToolTip` components
need\n`disableScreenReaderOutput` prop to prevent redundant screen
reader\nannouncements\n\n## Related\n-
https://github.com/elastic/eui/pull/8848","sha":"e3e50eacef9af7a599af76fbd44bec759c931bd5","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","backport
missing","Team:Fleet","backport:prev-minor","ci:project-deploy-observability","Team:obs-ux-management","v9.2.0"],"title":"Auto-fix
violations of the @elastic/eui/sr_output_disabled_tooltip ESLint
rule","number":227044,"url":"https://github.com/elastic/kibana/pull/227044","mergeCommit":{"message":"Auto-fix
violations of the @elastic/eui/sr_output_disabled_tooltip ESLint rule
(#227044)\n\n## Summary\n\nThis PR applies the auto-fix for the newly
introduced\n`@elastic/eui/sr_output_disabled_tooltip` ESLint rule across
the\ncodebase. The rule ensures proper accessibility behavior by
adding\n`disableScreenReaderOutput` prop to `EuiToolTip` components when
their\ncontent duplicates the trigger button's `aria-label`.\n\n##
Changes\n- Auto-fixed instances where `EuiToolTip` components
need\n`disableScreenReaderOutput` prop to prevent redundant screen
reader\nannouncements\n\n## Related\n-
https://github.com/elastic/eui/pull/8848","sha":"e3e50eacef9af7a599af76fbd44bec759c931bd5"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227044","number":227044,"mergeCommit":{"message":"Auto-fix
violations of the @elastic/eui/sr_output_disabled_tooltip ESLint rule
(#227044)\n\n## Summary\n\nThis PR applies the auto-fix for the newly
introduced\n`@elastic/eui/sr_output_disabled_tooltip` ESLint rule across
the\ncodebase. The rule ensures proper accessibility behavior by
adding\n`disableScreenReaderOutput` prop to `EuiToolTip` components when
their\ncontent duplicates the trigger button's `aria-label`.\n\n##
Changes\n- Auto-fixed instances where `EuiToolTip` components
need\n`disableScreenReaderOutput` prop to prevent redundant screen
reader\nannouncements\n\n## Related\n-
https://github.com/elastic/eui/pull/8848","sha":"e3e50eacef9af7a599af76fbd44bec759c931bd5"}}]}]
BACKPORT-->
@alexwizp alexwizp removed the v9.1.0 label Jul 21, 2025
@elastic elastic deleted a comment from kibanamachine Jul 22, 2025
@alexwizp alexwizp removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 22, 2025
Bluefinger pushed a commit to Bluefinger/kibana that referenced this pull request Jul 22, 2025
…Lint rule (elastic#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
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
…Lint rule (elastic#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels ci:project-deploy-observability Create an Observability project Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. Team:Fleet Team label for Observability Data Collection Fleet team v9.1.1 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.