Skip to content

Conversation

@alexwizp
Copy link
Contributor

@alexwizp alexwizp commented Dec 12, 2025

Caution

⚠️ Changes / translations were made by GenAI. I’ve reviewed them carefully, but your code owners’ expert eyes will ensure they’re 100% right.

Summary

This PR applies the auto-fix for the newly introduced @elastic/eui/require-table-caption.
This rule ensure EuiInMemoryTable, EuiBasicTable have a tableCaption prop for accessibility.

Changes

  1. 🎯 Added missing tableCaption attributes to elements flagged by @elastic/eui/require-table-caption — accessibility leveled up!

Related

This time, to avoid annoying approvals collection, we've broken files down by teams. Now, we are waiting a review only from your team!

@alexwizp alexwizp added Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels v9.3.0 v9.2.3 v9.1.9 labels Dec 12, 2025
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

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
dataViewFieldEditor 100.7KB 102.2KB +1.5KB
dataViewManagement 141.9KB 142.9KB +981.0B
savedObjectsFinder 7.5KB 7.7KB +113.0B
total +2.6KB

History

@alexwizp alexwizp marked this pull request as ready for review January 20, 2026 20:48
@alexwizp alexwizp requested a review from a team as a code owner January 20, 2026 20:48
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@davismcphee davismcphee left a comment

Choose a reason for hiding this comment

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

Code-only review, Data Discovery changes LGTM 👍

@alexwizp alexwizp merged commit 4d43ef8 into elastic:main Jan 21, 2026
19 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 9.2, 9.3

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jan 21, 2026
…@elastic/kibana-data-discovery` files (elastic#246176)

> [!CAUTION]
> ⚠️ **Changes / translations were made by GenAI**. I’ve reviewed them
carefully, but your code owners’ expert eyes will ensure they’re 100%
right.

## Summary
This PR applies the auto-fix for the newly introduced
`@elastic/eui/require-table-caption`.
This rule ensure `EuiInMemoryTable`, `EuiBasicTable` have a
`tableCaption` prop for accessibility.

## Changes

1. 🎯 Added missing `tableCaption` attributes to elements flagged by
`@elastic/eui/require-table-caption` — accessibility leveled up!

## Related
- elastic/eui#9168

This time, to avoid annoying approvals collection, we've broken files
down by teams. Now, we are waiting a review only from your team!

(cherry picked from commit 4d43ef8)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
9.2 Backport failed because of merge conflicts
9.3

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 246176

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jan 21, 2026
…ross `@elastic/kibana-data-discovery` files (#246176) (#249828)

# Backport

This will backport the following commits from `main` to `9.3`:
- [Address `@elastic/eui/require-table-caption` lint violations across
`@elastic/kibana-data-discovery` files
(#246176)](#246176)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Alexey
Antonov","email":"[email protected]"},"sourceCommit":{"committedDate":"2026-01-21T08:06:10Z","message":"Address
`@elastic/eui/require-table-caption` lint violations across
`@elastic/kibana-data-discovery` files (#246176)\n\n> [!CAUTION]\n> ⚠️
**Changes / translations were made by GenAI**. I’ve reviewed
them\ncarefully, but your code owners’ expert eyes will ensure they’re
100%\nright.\n\n## Summary\nThis PR applies the auto-fix for the newly
introduced\n`@elastic/eui/require-table-caption`.\nThis rule ensure
`EuiInMemoryTable`, `EuiBasicTable` have a\n`tableCaption` prop for
accessibility.\n\n## Changes\n\n1. 🎯 Added missing `tableCaption`
attributes to elements flagged by\n`@elastic/eui/require-table-caption`
— accessibility leveled up!\n\n## Related\n-
https://github.com/elastic/eui/pull/9168\n\nThis time, to avoid annoying
approvals collection, we've broken files\ndown by teams. Now, we are
waiting a review only from your
team!","sha":"4d43ef8b17904ce299122784e2e391f7c1b2bfda","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Project:Accessibility","release_note:skip","backport:version","v9.3.0","v9.4.0","v9.2.5"],"title":"Address
`@elastic/eui/require-table-caption` lint violations across
`@elastic/kibana-data-discovery`
files","number":246176,"url":"https://github.com/elastic/kibana/pull/246176","mergeCommit":{"message":"Address
`@elastic/eui/require-table-caption` lint violations across
`@elastic/kibana-data-discovery` files (#246176)\n\n> [!CAUTION]\n> ⚠️
**Changes / translations were made by GenAI**. I’ve reviewed
them\ncarefully, but your code owners’ expert eyes will ensure they’re
100%\nright.\n\n## Summary\nThis PR applies the auto-fix for the newly
introduced\n`@elastic/eui/require-table-caption`.\nThis rule ensure
`EuiInMemoryTable`, `EuiBasicTable` have a\n`tableCaption` prop for
accessibility.\n\n## Changes\n\n1. 🎯 Added missing `tableCaption`
attributes to elements flagged by\n`@elastic/eui/require-table-caption`
— accessibility leveled up!\n\n## Related\n-
https://github.com/elastic/eui/pull/9168\n\nThis time, to avoid annoying
approvals collection, we've broken files\ndown by teams. Now, we are
waiting a review only from your
team!","sha":"4d43ef8b17904ce299122784e2e391f7c1b2bfda"}},"sourceBranch":"main","suggestedTargetBranches":["9.3","9.2"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/246176","number":246176,"mergeCommit":{"message":"Address
`@elastic/eui/require-table-caption` lint violations across
`@elastic/kibana-data-discovery` files (#246176)\n\n> [!CAUTION]\n> ⚠️
**Changes / translations were made by GenAI**. I’ve reviewed
them\ncarefully, but your code owners’ expert eyes will ensure they’re
100%\nright.\n\n## Summary\nThis PR applies the auto-fix for the newly
introduced\n`@elastic/eui/require-table-caption`.\nThis rule ensure
`EuiInMemoryTable`, `EuiBasicTable` have a\n`tableCaption` prop for
accessibility.\n\n## Changes\n\n1. 🎯 Added missing `tableCaption`
attributes to elements flagged by\n`@elastic/eui/require-table-caption`
— accessibility leveled up!\n\n## Related\n-
https://github.com/elastic/eui/pull/9168\n\nThis time, to avoid annoying
approvals collection, we've broken files\ndown by teams. Now, we are
waiting a review only from your
team!","sha":"4d43ef8b17904ce299122784e2e391f7c1b2bfda"}},{"branch":"9.2","label":"v9.2.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Alexey Antonov <[email protected]>
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 Project:Accessibility release_note:skip Skip the PR/issue when compiling release notes v9.2.5 v9.3.0 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants