Table - allow providing aria-label to the input for row selection
Hi there 👋
Just wondering if it would make sense to allow providing a custom aria-label for the input used for row selection (radio or checkbox, depending on the TdSelectType variant). From what I can see, the label is currently hardcoded as Select row ${rowIndex} in the selectable decorator, and I couldn't find a way to customize it.
I'm not sure if I'm missing something or if overriding that label would go against intended usage, but I believe being able to provide a custom value to at least support translations might be useful in some cases.
Would this be a reasonable thing to support?
Thanks!
Hey @dgdavid . Yeah I think that could be helpful - referencing the "primary" data cell in a row might be more helpful to a user ("Select Cluster Zed row" vs "Select row 1" for example), plus for internationalization purposes.
I'll update this issue a bit to triage it properly - if you'd be interested in working on this just let me know
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.