Skip to content

Commit

Permalink
remove readonly on list item checkbox
Browse files Browse the repository at this point in the history
  • Loading branch information
dgreif committed May 11, 2021
1 parent c56a5f3 commit 7d026f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ActionList/Item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ export function Item(itemProps: Partial<ItemProps> & {item?: ItemInput}): JSX.El
* (to inform screen readers these inputs are not *actually* readonly)
* effectively removes the checkbox from the focus order.
*/}
<input type="checkbox" checked={selected} aria-label={text} readOnly aria-readonly="false" />
<input type="checkbox" checked={selected} aria-label={text} />
</>
) : (
selected && <CheckIcon />
Expand Down

0 comments on commit 7d026f9

Please sign in to comment.