Skip to content

Commit

Permalink
Add missing list role to the list of blocks in the global Styles. (Wo…
Browse files Browse the repository at this point in the history
…rdPress#69027)


Co-authored-by: afercia <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: shail-mehta <[email protected]>
  • Loading branch information
4 people authored Feb 5, 2025
1 parent 589e763 commit 4aa8c13
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@ function BlockList( { filterValue } ) {
<div
ref={ blockTypesListRef }
className="edit-site-block-types-item-list"
// By default, BlockMenuItem has a role=listitem so this div must have a list role.
role="list"
>
{ filteredBlockTypes.map( ( block ) => (
<BlockMenuItem
Expand Down

0 comments on commit 4aa8c13

Please sign in to comment.