Add role="..." to Table family components when component="..." is specified #20431
Labels
component: table
This is the name of the generic UI component, not the React module!
new feature
New feature or request
ready to take
Help wanted. Guidance available. There is a high chance the change will be accepted
Summary 💡
For table accessibility, when
component="..."
is specified to Table family components, it'd be better to renderrole="..."
prop.Examples 🌈
<Table component="div" />
will be<div role="table"></div>
.Motivation 🔦
I want to make the entire row
<a>
tag to support some browser features like drag-and-drop link and new tab shortcut (cmd+click).The text was updated successfully, but these errors were encountered: