From 7e37a4a4bc8bfb02385454c883fbacfa3a4258bf Mon Sep 17 00:00:00 2001 From: Aman Mahajan Date: Tue, 27 Apr 2021 12:29:19 -0500 Subject: [PATCH] Fix aria-redonly --- src/Cell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cell.tsx b/src/Cell.tsx index 48df2a3e67..822cf29baa 100644 --- a/src/Cell.tsx +++ b/src/Cell.tsx @@ -107,7 +107,7 @@ function Cell({ aria-colindex={column.idx + 1} // aria-colindex is 1-based aria-selected={isCellSelected} aria-colspan={colSpan} - aria-readonly={isCellEditable(column, row) || undefined} + aria-readonly={!isCellEditable(column, row) || undefined} ref={ref} className={className} style={getCellStyle(column, colSpan)}