Skip to content

fix:[a11y sev2] OnRowClick is not triggered on keyboard enter in DataGrid #2540

@adamint

Description

@adamint

🐛 Bug Report

It is required to provide a keyboard-accessible way to perform actions. In addition to clicking a row, OnRowClick must be called on keyboard enter on any cell in the row. Additionally, there must be some aria information on generated cells that signals to a screen reader that the cell is acting as a button.

💻 Repro or Code Sample

Filed as a bug report since it's an accessibility blocker, but really a feature request so no repro.

🤔 Expected Behavior

n/a

😯 Current Behavior

n/a

💁 Possible Solution

n/a

🔦 Context

WCAG 2.1 requirement

🌍 Your Environment

  • OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
  • Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
  • .NET and Fluent UI Blazor library Version [e.g. 8.0.2 and 4.4.1]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions