From 83d510a2a7da2e970e35b63aff1a4ab266f74b68 Mon Sep 17 00:00:00 2001 From: Andrew Tran Date: Thu, 14 Sep 2023 19:25:44 +0000 Subject: [PATCH] Update doc --- .../clinicalItemDisplay.1.doc.mdx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/terra-clinical-item-display/src/terra-dev-site/doc/clinical-item-display/clinicalItemDisplay.1.doc.mdx b/packages/terra-clinical-item-display/src/terra-dev-site/doc/clinical-item-display/clinicalItemDisplay.1.doc.mdx index b7f3a6177..5b1aabbe4 100644 --- a/packages/terra-clinical-item-display/src/terra-dev-site/doc/clinical-item-display/clinicalItemDisplay.1.doc.mdx +++ b/packages/terra-clinical-item-display/src/terra-dev-site/doc/clinical-item-display/clinicalItemDisplay.1.doc.mdx @@ -49,8 +49,10 @@ import ItemDisplay from 'terra-clinical-item-display'; #### Accessibility Guidance: Truncated Text Truncation of text can pose an accessibility concern if no method of disclosing the full text is available -to the user. When using `isTruncated`, consumers are responsible for providing a progressive disclosure pattern - to disclose the full Item Display text in order to ensure that it is accessible for keyboard navigation users. +to the user. + +When using `isTruncated`, consumers are responsible for providing a progressive disclosure pattern +to disclose the full Item Display text in order to ensure that it is accessible for keyboard navigation users. **There should always be a method of accessing the truncated information. If there is no way to progressively disclose the full content of the truncated information, then truncation should not be used.** @@ -64,8 +66,11 @@ Some examples of progressive disclosure patterns that may be used to disclose tr The method of disclosure **must** be accessible via keyboard interactions. -Truncation should be avoided where it is not necessary. Certain content should **never** be truncated (i.e. +Truncation should be avoided where it is not necessary. + +Certain content should **never** be truncated (i.e. medication names and dosages in menus where the user is selecting from a list of choices). + Providing a shorter preview text with a method to disclose the full text provides a more equitable experience for all users.