Skip to content

Fix @elastic/eui/tooltip-focusable-anchor lint violations in kbn-developer-toolbar#267696

Merged
alexwizp merged 3 commits into
mainfrom
copilot/fix-eslint-violations-tooltip-focusable-anchor
May 5, 2026
Merged

Fix @elastic/eui/tooltip-focusable-anchor lint violations in kbn-developer-toolbar#267696
alexwizp merged 3 commits into
mainfrom
copilot/fix-eslint-violations-tooltip-focusable-anchor

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 5, 2026

Closes: #267695

Adds tabIndex={0} to non-focusable EuiToolTip anchor elements so keyboard users can trigger tooltips.

  • environment_indicator.tsxEuiBadge anchor
  • frame_jank_indicator.tsxdiv anchor
  • memory_usage_indicator.tsx — two EuiBadge anchors
<EuiToolTip content={tooltipContent}>
  <EuiBadge tabIndex={0} ...>...</EuiBadge>
</EuiToolTip>

Closes #225189

…loper-toolbar

Add tabIndex={0} to non-focusable elements inside EuiToolTip for accessibility.

Closes #225189

Agent-Logs-Url: https://github.com/elastic/kibana/sessions/d9cb0687-74a6-4a26-a9a8-f2f753781e66

Co-authored-by: alexwizp <20072247+alexwizp@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix eslint violations for tooltip focusable anchor Fix @elastic/eui/tooltip-focusable-anchor lint violations in kbn-developer-toolbar May 5, 2026
Copilot AI requested a review from alexwizp May 5, 2026 10:56
@alexwizp alexwizp added release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels v9.4.0 v9.5.0 v9.3.5 Project:Accessibility a11y:agent-pr PR has been created by the agent labels May 5, 2026
@alexwizp alexwizp marked this pull request as ready for review May 5, 2026 10:57
@alexwizp alexwizp requested a review from a team as a code owner May 5, 2026 10:57
@infra-vault-gh-plugin-prod
Copy link
Copy Markdown

Pinging @elastic/kibana-accessibility (Project:Accessibility)

@alexwizp
Copy link
Copy Markdown
Contributor

alexwizp commented May 5, 2026

/ci

Copy link
Copy Markdown
Member

@kowalczyk-krzysztof kowalczyk-krzysztof left a comment

Choose a reason for hiding this comment

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

LGTM but those are developer tools, only available when you run Kibana locally. I wonder if there's any point fixing a11y issues for those?

@alexwizp
Copy link
Copy Markdown
Contributor

alexwizp commented May 5, 2026

@kowalczyk-krzysztof we monitor the entire codebase, and our goal is to fix all a11y-related ESLint violations in Kibana. It’s ultimately simpler to bring the code up to a single standard than to maintain a list of exceptions.

@alexwizp
Copy link
Copy Markdown
Contributor

alexwizp commented May 5, 2026

@elasticmachine run docs-build

@alexwizp alexwizp enabled auto-merge (squash) May 5, 2026 11:51
@kibanamachine
Copy link
Copy Markdown
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
developerToolbar 41.4KB 41.5KB +44.0B

cc @alexwizp @Copilot

@alexwizp alexwizp merged commit 8e309b4 into main May 5, 2026
23 checks passed
@alexwizp alexwizp deleted the copilot/fix-eslint-violations-tooltip-focusable-anchor branch May 5, 2026 12:02
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 9.3, 9.4

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

@kibanamachine
Copy link
Copy Markdown
Contributor

💔 All backports failed

Status Branch Result
9.3 Backport failed because of merge conflicts
9.4 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 267696

Questions ?

Please refer to the Backport tool documentation

@alexwizp
Copy link
Copy Markdown
Contributor

alexwizp commented May 5, 2026

💚 All backports created successfully

Status Branch Result
9.4
9.3

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

Questions ?

Please refer to the Backport tool documentation

alexwizp added a commit that referenced this pull request May 5, 2026
…kbn-developer-toolbar (#267696) (#267817)

# Backport

This will backport the following commits from `main` to `9.4`:
- [Fix `@elastic/eui/tooltip-focusable-anchor` lint violations in
kbn-developer-toolbar
(#267696)](#267696)

<!--- Backport version: 11.0.2 -->

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

<!--BACKPORT
[{"author":{"name":"Copilot","email":"198982749+Copilot@users.noreply.github.com"},"sourceCommit":{"committedDate":"2026-05-05T12:02:43Z","message":"Fix
`@elastic/eui/tooltip-focusable-anchor` lint violations in
kbn-developer-toolbar (#267696)\n\nCloses:
https://github.com/elastic/kibana/issues/267695\n\nAdds `tabIndex={0}`
to non-focusable `EuiToolTip` anchor elements so\nkeyboard users can
trigger tooltips.\n\n- `environment_indicator.tsx` — `EuiBadge`
anchor\n- `frame_jank_indicator.tsx` — `div` anchor\n-
`memory_usage_indicator.tsx` — two `EuiBadge`
anchors\n\n```tsx\n<EuiToolTip content={tooltipContent}>\n <EuiBadge
tabIndex={0} ...>...</EuiBadge>\n</EuiToolTip>\n```\n\nCloses
#225189\n\n---------\n\nCo-authored-by: copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"8e309b49044e1d6583a8920ea5a984c509a7c638","branchLabelMapping":{"^v9.5.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","💝community","backport:version","v9.4.0","a11y:agent-pr","v9.5.0","v9.3.5"],"title":"Fix
`@elastic/eui/tooltip-focusable-anchor` lint violations in
kbn-developer-toolbar","number":267696,"url":"https://github.com/elastic/kibana/pull/267696","mergeCommit":{"message":"Fix
`@elastic/eui/tooltip-focusable-anchor` lint violations in
kbn-developer-toolbar (#267696)\n\nCloses:
https://github.com/elastic/kibana/issues/267695\n\nAdds `tabIndex={0}`
to non-focusable `EuiToolTip` anchor elements so\nkeyboard users can
trigger tooltips.\n\n- `environment_indicator.tsx` — `EuiBadge`
anchor\n- `frame_jank_indicator.tsx` — `div` anchor\n-
`memory_usage_indicator.tsx` — two `EuiBadge`
anchors\n\n```tsx\n<EuiToolTip content={tooltipContent}>\n <EuiBadge
tabIndex={0} ...>...</EuiBadge>\n</EuiToolTip>\n```\n\nCloses
#225189\n\n---------\n\nCo-authored-by: copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"8e309b49044e1d6583a8920ea5a984c509a7c638"}},"sourceBranch":"main","suggestedTargetBranches":["9.4","9.3"],"targetPullRequestStates":[{"branch":"9.4","label":"v9.4.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.5.0","branchLabelMappingKey":"^v9.5.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/267696","number":267696,"mergeCommit":{"message":"Fix
`@elastic/eui/tooltip-focusable-anchor` lint violations in
kbn-developer-toolbar (#267696)\n\nCloses:
https://github.com/elastic/kibana/issues/267695\n\nAdds `tabIndex={0}`
to non-focusable `EuiToolTip` anchor elements so\nkeyboard users can
trigger tooltips.\n\n- `environment_indicator.tsx` — `EuiBadge`
anchor\n- `frame_jank_indicator.tsx` — `div` anchor\n-
`memory_usage_indicator.tsx` — two `EuiBadge`
anchors\n\n```tsx\n<EuiToolTip content={tooltipContent}>\n <EuiBadge
tabIndex={0} ...>...</EuiBadge>\n</EuiToolTip>\n```\n\nCloses
#225189\n\n---------\n\nCo-authored-by: copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"8e309b49044e1d6583a8920ea5a984c509a7c638"}},{"branch":"9.3","label":"v9.3.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
alexwizp added a commit that referenced this pull request May 5, 2026
…kbn-developer-toolbar (#267696) (#267818)

# Backport

This will backport the following commits from `main` to `9.3`:
- [Fix `@elastic/eui/tooltip-focusable-anchor` lint violations in
kbn-developer-toolbar
(#267696)](#267696)

<!--- Backport version: 11.0.2 -->

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

<!--BACKPORT
[{"author":{"name":"Copilot","email":"198982749+Copilot@users.noreply.github.com"},"sourceCommit":{"committedDate":"2026-05-05T12:02:43Z","message":"Fix
`@elastic/eui/tooltip-focusable-anchor` lint violations in
kbn-developer-toolbar (#267696)\n\nCloses:
https://github.com/elastic/kibana/issues/267695\n\nAdds `tabIndex={0}`
to non-focusable `EuiToolTip` anchor elements so\nkeyboard users can
trigger tooltips.\n\n- `environment_indicator.tsx` — `EuiBadge`
anchor\n- `frame_jank_indicator.tsx` — `div` anchor\n-
`memory_usage_indicator.tsx` — two `EuiBadge`
anchors\n\n```tsx\n<EuiToolTip content={tooltipContent}>\n <EuiBadge
tabIndex={0} ...>...</EuiBadge>\n</EuiToolTip>\n```\n\nCloses
#225189\n\n---------\n\nCo-authored-by: copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"8e309b49044e1d6583a8920ea5a984c509a7c638","branchLabelMapping":{"^v9.5.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","💝community","backport:version","v9.4.0","a11y:agent-pr","v9.5.0","v9.3.5"],"title":"Fix
`@elastic/eui/tooltip-focusable-anchor` lint violations in
kbn-developer-toolbar","number":267696,"url":"https://github.com/elastic/kibana/pull/267696","mergeCommit":{"message":"Fix
`@elastic/eui/tooltip-focusable-anchor` lint violations in
kbn-developer-toolbar (#267696)\n\nCloses:
https://github.com/elastic/kibana/issues/267695\n\nAdds `tabIndex={0}`
to non-focusable `EuiToolTip` anchor elements so\nkeyboard users can
trigger tooltips.\n\n- `environment_indicator.tsx` — `EuiBadge`
anchor\n- `frame_jank_indicator.tsx` — `div` anchor\n-
`memory_usage_indicator.tsx` — two `EuiBadge`
anchors\n\n```tsx\n<EuiToolTip content={tooltipContent}>\n <EuiBadge
tabIndex={0} ...>...</EuiBadge>\n</EuiToolTip>\n```\n\nCloses
#225189\n\n---------\n\nCo-authored-by: copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"8e309b49044e1d6583a8920ea5a984c509a7c638"}},"sourceBranch":"main","suggestedTargetBranches":["9.4","9.3"],"targetPullRequestStates":[{"branch":"9.4","label":"v9.4.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.5.0","branchLabelMappingKey":"^v9.5.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/267696","number":267696,"mergeCommit":{"message":"Fix
`@elastic/eui/tooltip-focusable-anchor` lint violations in
kbn-developer-toolbar (#267696)\n\nCloses:
https://github.com/elastic/kibana/issues/267695\n\nAdds `tabIndex={0}`
to non-focusable `EuiToolTip` anchor elements so\nkeyboard users can
trigger tooltips.\n\n- `environment_indicator.tsx` — `EuiBadge`
anchor\n- `frame_jank_indicator.tsx` — `div` anchor\n-
`memory_usage_indicator.tsx` — two `EuiBadge`
anchors\n\n```tsx\n<EuiToolTip content={tooltipContent}>\n <EuiBadge
tabIndex={0} ...>...</EuiBadge>\n</EuiToolTip>\n```\n\nCloses
#225189\n\n---------\n\nCo-authored-by: copilot-swe-agent[bot]
<198982749+Copilot@users.noreply.github.com>\nCo-authored-by: alexwizp
<20072247+alexwizp@users.noreply.github.com>\nCo-authored-by: Alexey
Antonov
<alexwizp@gmail.com>","sha":"8e309b49044e1d6583a8920ea5a984c509a7c638"}},{"branch":"9.3","label":"v9.3.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

a11y:agent-pr PR has been created by the agent backport:version Backport to applied version labels 💝community Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes v9.3.5 v9.4.0 v9.5.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[eslint-issue-reporter] Fix @elastic_eui_tooltip-focusable-anchor lint violations across @elastic_appex-sharedux files

4 participants