Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Added a note to the Multiple Row Selection example in terra-table #2147

Merged
merged 2 commits into from
Apr 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions packages/terra-framework-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

## Unreleased

* Added
* Added a note about accessibility requirements for sorting or another action to the Multiple Row Selection example in `terra-table`.

## 1.84.0 - (April 23, 2024)

* Changed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { Notice } from "@cerner/terra-docs";
import TableRowSelection from './TableRowSelection?dev-site-example';

# Table - Multiple Row Selection
Expand All @@ -15,6 +16,11 @@ Because the component is an accessible table, each row selection checkbox is a t
* onRowSelectionHeaderSelect

## Row Selection Interactions

<Notice variant="important" ariaLevel="2">
This example demonstrates that the column header cell in the select box column can receive focus and trigger a callback. It can be used to support sorting of the table by selected and unselected rows. However, if sorting or another action is required, to comply with accessibility guidelines, a visual indication of the action must be provided in the column header cell. Cerner UX design standards do not currently support an icon to communicate column sortability. If your workflow requires support for sorting the checkbox column, work with a UX Designer to create a solution that meets accessibility requirements.
</Notice>

For this example, you can perform the following actions to achieve row-centric outcomes:

|Outcome|Action|
Expand Down
Loading