[Bug]: aria-label is required for TableExpandHeader instead of optional #17309
Labels
component: data-table
package: @carbon/react
@carbon/react
role: dev 🤖
severity: 3
https://ibm.biz/carbon-severity
type: bug 🐛
Package
@carbon/react
Browser
Chrome
Package version
1.65.0
React version
17.0.2
Description
aria-label is required for TableExpandHeader even though its only used when enableToggle is set to true. Will give an error if aria-label is removed
carbon/packages/react/src/components/DataTable/TableExpandHeader.tsx
Line 34 in 009351a
Reproduction/example
https://react.carbondesignsystem.com/?path=/story/components-datatable-expansion--default
Steps to reproduce
https://react.carbondesignsystem.com/?path=/story/components-datatable-expansion--default
Suggested Severity
None
Application/PAL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: