Skip to content

[eslint-issue-reporter] Fix @elastic/eui/require-table-caption lint violations across @elastic/kibana-presentation files #271375

@elastic-vault-github-plugin-prod

Description

Note

Reserved for AI coding agents—please don’t take it manually.

Before making any code changes, read and follow .agents/skills/accessibility/SKILL.md in this repository. It is the canonical accessibility playbook for these fixes; treat every rule in it as binding.

Summary

This issue groups 2 ESLint violations for rule @elastic/eui/require-table-caption across 2 files for team @elastic/kibana-presentation.

Why this issue exists

This is a grouped ESLint backlog item generated from the latest monitoring snapshot. One issue per (team, rule) keeps the backlog stable and actionable.

What to fix

Fix every reported violation for this rule across the listed files. Implement the fix in full alignment with .agents/skills/accessibility/SKILL.md—open that file first, treat every paragraph as normative (scope, change boundaries, WCAG conformance, i18n, and any rule-specific guidance), and prefer its instructions over any approach that would clear ESLint but contradict it. Do not introduce changes outside what the rule requires.

Required: before opening a PR, verify that every item in the Acceptance criteria section is met.

Rule: @elastic/eui/require-table-caption

EuiInMemoryTable must include a `tableCaption` prop for accessibility.

Example:
 <EuiInMemoryTable tableCaption="Descriptive caption for the table" ... /> 

Files to fix

Requirement: Fix every location in the checklist below—do not merge or close this issue until all listed files are addressed (the list may be capped by the reporter; still treat each listed item as mandatory).

  • src/platform/plugins/shared/embeddable/public/drilldowns/drilldown_manager_ui/components/drilldown_table/drilldown_table.tsx
  • src/platform/plugins/shared/embeddable/public/drilldowns/drilldown_manager_ui/components/drilldown_template_table/drilldown_template_table.tsx

PR metadata (required)

  • Target branch: main
  • Label: a11y:agent-pr
  • Close: reference this issue in the PR body (Closes #<issue number>) so it auto-closes when merged.

Acceptance criteria

The opened PR must satisfy every item below; it is not considered valid otherwise.

  • All items in PR metadata (required) above are satisfied.
  • PR has label a11y:agent-pr.
  • PR body contains Closes #<issue number> referencing this issue.
  • PR is opened against main.
  • All files above are fixed (or skips are documented in the PR body).
  • Fixes follow .agents/skills/accessibility/SKILL.md; any deviation is justified in the PR body.

PR checklist (copy into PR description)

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions