Skip to content

Commit

Permalink
Fix aria-redonly (#2380)
Browse files Browse the repository at this point in the history
  • Loading branch information
amanmahajan7 authored Apr 27, 2021
1 parent 0a763a3 commit afe03f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function Cell<R, SR>({
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)}
Expand Down

0 comments on commit afe03f1

Please sign in to comment.