Skip to content

[EuiDataGrid][A11y] Column selector dragging accessibility improvements #8520

Open

Description

@mgadewoll

Description

Relates to:

There are currently a couple of implementation issues with the keyboard navigation for dragging in EuiDataGrid's column selector functionality when using screen readers (specifically tested in NVDA/Windows).

  1. When focusing the drag icon button and starting a drag, the drag item will be re-rendered in a portal (for more context why this happens, see this PR). This re-render causes the focus on the drag button to be lost. As a result NVDA exists Focus mode and the attempt to reorder the dragging item using arrow keys is not possible, as the arrow keys are occupied by the NVDA browse mode navigation.

  2. For mouse user comfort, the drag item text content is also a drag handle. Keyboard focus is disabled via tabindex="-1". This technically requires the drag icon button and text content to use the same dragHandleProps which results in the focus being moved from the button to the text on drag start. (this might be a none-issue if we manually ensure the focus is returned to the button for [1])

  3. The drag icon button only triggers on Space key while buttons use Space and Enter keys.

  4. Usually screen readers automatically switch to focus mode on focusable elements (e.g. this is the case for the switch element of the same draggable item). This is not the case for the drag icon button (custom element) which results in users not being able to press Space to start dragging. It requires users to manually switch to focus move (NVDA: insert + Space) first.

Note

As the column selector uses EUI drag components (EuiDraggable, EuiDroppable) we should review if there are more generic fixes to be made to solve the issues or if other components would require similar updates as well.

Activity

  1. added theissue type on Mar 31, 2025
  2. self-assigned this
    on Mar 31, 2025
  3. github-actions commented on Sep 27, 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.

  4. added
    stale-issue
    on Sep 27, 2025
  5. removed
    stale-issue
    on Nov 27, 2025
  6. github-actions commented on May 26, 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. 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 May 26, 2026
  8. removed
    stale-issue
    on Oct 6, 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

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions