microsoft / fluentui

Fluent UI web represents a collection of utilities, React components, and web components for building web applications.
https://react.fluentui.dev
Other
18.53k stars 2.73k forks source link

[Bug]: DataGrid: Accessibility Insights: ARIA attribute is not allowed: aria-checked="false" #31073

Open havinash123 opened 7 months ago

havinash123 commented 7 months ago

Library

React Components / v9 (@fluentui/react-components)

System Info

When multiselect is enabled in a DataGrid component, it results in an accessibility issue:
Ensures ARIA attributes are allowed for an element's role

Are you reporting Accessibility issue?

None

Reproduction

It's even reproducible in the default example given in the official documentation:https://react.fluentui.dev/?path=/docs/components-datagrid--default

Bug Description

Actual Behavior

Accessibility Error

Expected Behavior

No Accessibility Error

image

Logs

No response

Requested priority

Blocking

Products/sites affected

No response

Are you willing to submit a PR to fix?

yes

Validations

TristanWatanabe commented 7 months ago

According to the latest aria spec - the aria-checked attribute which is being flagged by a11y insights on an element with role=gridcell is not valid and probably shouldn't be applied

CharlesYWL commented 3 months ago

Any updates or workaround on this issue?