Improve aria-label support for columns #4277
Answered
by
tannerlinsley
nicolas-c-dev
asked this question in
Ideas
Replies: 1 comment 2 replies
-
Please pass this in column.meta and apply it in your template.
Tanner Linsley
…On Aug 5, 2022, 8:42 AM -0600, Nicolas Castano ***@***.***>, wrote:
Hi, i've noticed that is not possible to add an aria-label for every column in the columns definition and it's very important to give better accessibility. Sometimes there are abbreviations that screen readers do not interpret, and it gives a bad exprience for those people.
Could it be simply adding a new key to ColumnDef type. Example:
const columns: ColumnDef<Record<string, unknown>>[] = [
{
header: 'N° Ticket',
accessorKey: 'ticketNumber',
ariaLabel: 'Número de ticket'
},
];
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
nicolas-c-dev
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i've noticed that is not possible to add an aria-label for every column in the columns definition and it's very important to give better accessibility. Sometimes there are abbreviations that screen readers do not interpret, and it gives a bad exprience for those people.
Could it be simply adding a new key to ColumnDef type. Example:
Beta Was this translation helpful? Give feedback.
All reactions