diff --git a/packages/block-editor/src/components/list-view/index.js b/packages/block-editor/src/components/list-view/index.js index 085864c4c88f45..1d21c28643a73c 100644 --- a/packages/block-editor/src/components/list-view/index.js +++ b/packages/block-editor/src/components/list-view/index.js @@ -6,7 +6,10 @@ import { useMergeRefs, __experimentalUseFixedWindowList as useFixedWindowList, } from '@wordpress/compose'; -import { __experimentalTreeGrid as TreeGrid } from '@wordpress/components'; +import { + __experimentalTreeGrid as TreeGrid, + VisuallyHidden, +} from '@wordpress/components'; import { AsyncModeProvider, useSelect } from '@wordpress/data'; import deprecated from '@wordpress/deprecated'; import { @@ -257,12 +260,20 @@ function ListViewComponent( return null; } + const describedById = + description && `block-editor-list-view-description-${ instanceId }`; + return ( + { description && ( + + { description } + + ) }