From 1f6b7773d9b7179a950b21fcffda71ad258dbbd0 Mon Sep 17 00:00:00 2001 From: Tyler Jones Date: Tue, 5 Nov 2024 18:54:52 +0000 Subject: [PATCH 1/2] Add note on truncation --- content/components/tree-view.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/components/tree-view.mdx b/content/components/tree-view.mdx index eed83e1e3..f39004e9e 100644 --- a/content/components/tree-view.mdx +++ b/content/components/tree-view.mdx @@ -43,7 +43,7 @@ Node labels should be a succinct title for whatever entity the node represents. By default, labels are truncated to a single line. However, node labels may be wrapped to multiple lines in cases where the entire label must always be visible. -When a node's text is truncated, it should still be accessible to users via a browser-native tooltip. +When a node's text is truncated, it should still be accessible to users in some fashion. Truncation is only accessibly acceptable if there is some way for the user to see the non-truncated text. From ea090c7de2716f3aff1dce217c4da72368d1c0e2 Mon Sep 17 00:00:00 2001 From: Tyler Jones Date: Thu, 7 Nov 2024 11:27:06 -0500 Subject: [PATCH 2/2] Update content/components/tree-view.mdx Co-authored-by: Patrick H. Lauke --- content/components/tree-view.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/components/tree-view.mdx b/content/components/tree-view.mdx index f39004e9e..b4880bc8b 100644 --- a/content/components/tree-view.mdx +++ b/content/components/tree-view.mdx @@ -43,7 +43,7 @@ Node labels should be a succinct title for whatever entity the node represents. By default, labels are truncated to a single line. However, node labels may be wrapped to multiple lines in cases where the entire label must always be visible. -When a node's text is truncated, it should still be accessible to users in some fashion. Truncation is only accessibly acceptable if there is some way for the user to see the non-truncated text. +When a node's text is truncated, it should still be accessible to users in some fashion. Truncation is only accessibly acceptable if there is some way for users - including those navigating with a keyboard - to see the non-truncated text.