Skip to content

Commit 235c9e4

Browse files
TreeView: Add note on truncation (#889)
* Add note on truncation * Update content/components/tree-view.mdx Co-authored-by: Patrick H. Lauke <[email protected]> --------- Co-authored-by: Patrick H. Lauke <[email protected]>
1 parent e8d4003 commit 235c9e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/components/tree-view.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Node labels should be a succinct title for whatever entity the node represents.
4343

4444
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.
4545

46-
When a node's text is truncated, it should still be accessible to users via a browser-native tooltip.
46+
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.
4747

4848
<Box display="flex" flexDirection={['column', 'column', 'column', 'column', 'row']} sx={{gap: 3}}>
4949
<Box as="figure" role="presentation" m={0}>

0 commit comments

Comments
 (0)