From f2cd8dd90d1b478019a550c220b70ae3600b81e3 Mon Sep 17 00:00:00 2001 From: Danielle Flinn <43477473+danielleflinn@users.noreply.github.com> Date: Fri, 18 Aug 2023 11:47:32 -0700 Subject: [PATCH] Update table docs in Storybook (#5981) * updated table docs * fix typo --- libs/components/src/table/table.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/components/src/table/table.mdx b/libs/components/src/table/table.mdx index a36c54aba9..89a341eeaa 100644 --- a/libs/components/src/table/table.mdx +++ b/libs/components/src/table/table.mdx @@ -28,6 +28,8 @@ The UI component consists of a couple of elements. - Always include a row or column header with your table; this allows screen readers to better contextualize the data. - Avoid spanning data across cells. +- When a cell contains an interactive element, the whole cell should be selectable and trigger the + action not just the element the cell contains. - Be sure to make repeating actions unique by associating them with the object they relate to. Example: if there are multiple “Edit” buttons on a table, a screen reader should read “Edit, Netflix” for an edit option for a Netflix item.