Skip to content

[EuiDataGrid][A11y] Prevent duplicate header cell screen reader output #8449

Open

Description

@mgadewoll

Description

relates to elastic/kibana#214563

When navigating EuiDataGrid with screen readers, there is duplicate output for the column header related to a focused cell. For a HTML grid (or table) pattern it's expected that the column header is read with the cell to provide context within the grid. (e.g. observe the behavior for this example)

Currently each cell of EuiDataGrid also has an additional custom screenreader-only text applied that adds the same context which leads to the cell being read + custom header context + default header context. (code)
When the default header is read, it will read the header cell content. That means that it includes any perceivable elements, not only the header cell name text. For datagrid this can mean the actions button.
We might want to check to conditionally hide the actions button from the accessibility tree if the header cell is not focused to reduce the verbosity for body cells.

Additionally there seems to be an issue with the applied row index. When focussing a cell in row 2 it reads "row 3" and also "row 4" for the header content.

Image

Screen recording
Screen.Recording.2025-03-17.at.15.43.14.mov

How to reproduce

  • open EuiDataGrid (e.g. storybook) and navigate the grid in a screen reader (Windows/NVDA or Windows/JAWS)
    • use arrow keys to navigate cells
    • navigate to any body cell
    • observe the output having 3 types of content: cell, cell custom header context, default header context
    • observe different row index being announced for the custom header context of the cell and the default header context

Activity

  1. added theissue type on Mar 17, 2025
  2. changed the issue type fromtoon Mar 17, 2025
  3. changed the title [-][EuiDataGrid] Prevent duplicate header cell screen reader output[/-] [+][EuiDataGrid][A11y] Prevent duplicate header cell screen reader output[/+] on Mar 19, 2025
  4. self-assigned this
    on Mar 24, 2025
  5. removed their assignment
    on May 27, 2025
  6. github-actions commented on Nov 23, 2025

    @github-actions

    👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. We would sincerely appreciate a PR/community contribution if this is something that matters to you! If not, and there is no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.

  7. added
    stale-issue
    on Nov 23, 2025
  8. github-actions commented on May 22, 2026

    @github-actions

    ❌ Per our previous message, this issue is auto-closing after having been open and inactive for a year. If you strongly feel this is still a high-priority issue, or are interested in contributing, please leave a comment or open a new issue linking to this one for context.

  9. added
    stale-issue-closed
    on May 22, 2026
  10. removed
    stale-issue-closed
    stale-issue
    on May 26, 2026
  11. github-actions commented on Nov 22, 2026

    @github-actions

    👋 Hi there - this issue hasn't had any activity in 6 months. If the EUI team has not explicitly expressed that this is something on our roadmap, it's unlikely that we'll pick this issue up. If it matters to you, leave a comment with your use case. If you'd like to contribute and this issue isn't labelled help wanted, comment with a proposed solution and wait for us to add the label before opening a pull request; we close community pull requests for issues without it. See our contribution guidelines. If there's no further activity on this issue for another 6 months (i.e. it's stale for over a year), the issue will be auto-closed.

  12. added
    stale-issue
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    accessibilitydata gridstale-issue

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions