File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
packages/compass-components/src/components/document-list Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -155,12 +155,20 @@ const DocumentActionsGroup: React.FunctionComponent<
155155 glyph = { expanded ? 'CaretDown' : 'CaretRight' }
156156 > </ Icon >
157157 }
158- aria-label = { expanded ? 'Collapse all' : 'Expand all' }
158+ aria-label = {
159+ expanded
160+ ? 'Collapse all embedded fields'
161+ : 'Expand all embedded fields'
162+ }
159163 aria-pressed = { expanded }
160164 data-testid = "expand-document-button"
161165 onClick = { onExpand }
162166 className = { actionsGroupItem }
163- tooltipText = { expanded ? 'Collapse all' : 'Expand all' }
167+ tooltipText = {
168+ expanded
169+ ? 'Collapse all embedded fields'
170+ : 'Expand all embedded fields'
171+ }
164172 />
165173 ) }
166174 < span className = { actionsGroupItemSeparator } > </ span >
You can’t perform that action at this time.
0 commit comments