Skip to content

Commit

Permalink
docs: Fix Table example (Workday#2564)
Browse files Browse the repository at this point in the history
This PR fixes the Selectable Table Row example to make it more screen reader friendly.

[category:Documentation]
  • Loading branch information
alanbsmith authored Feb 12, 2024
1 parent add2544 commit 307b24a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,15 @@ export const SelectableRows = () => {
</Heading>
<Table aria-labelledby={headingID}>
<Table.Row gridTemplateColumns="3.5rem repeat(2, 1fr)">
<Table.Header cs={tableHeaderStyles}>
<Table.Cell cs={tableHeaderStyles}>
<Tooltip title="Select All">
<Checkbox
checked={selectAllState === 'checked'}
indeterminate={selectAllState === 'indeterminate'}
onChange={handleSelectAll}
/>
</Tooltip>
</Table.Header>
</Table.Cell>
<Table.Header scope="col" cs={tableHeaderStyles}>
Toppings
</Table.Header>
Expand Down

0 comments on commit 307b24a

Please sign in to comment.