diff --git a/editor/components/inserter/item-list.js b/editor/components/inserter/item-list.js
index b833d37ac428e..3dcf4ea8bb3a0 100644
--- a/editor/components/inserter/item-list.js
+++ b/editor/components/inserter/item-list.js
@@ -19,40 +19,47 @@ class ItemList extends Component {
const { items, onSelect, onHover } = this.props;
return (
-
+ /*
+ * Disable reason: The `list` ARIA role is redundant but
+ * Safari+VoiceOver won't announce the list otherwise.
+ */
+ /* eslint-disable jsx-a11y/no-redundant-roles */
+
{ items.map( ( item ) => {
return (
- onSelect( item ) }
- disabled={ item.isDisabled }
- onMouseEnter={ () => onHover( item ) }
- onMouseLeave={ () => onHover( null ) }
- onFocus={ () => onHover( item ) }
- onBlur={ () => onHover( null ) }
- aria-label={ item.title } // Fix for IE11 and JAWS 2018.
- >
-
-
- { item.hasChildBlocks && }
-
+
+ onSelect( item ) }
+ disabled={ item.isDisabled }
+ onMouseEnter={ () => onHover( item ) }
+ onMouseLeave={ () => onHover( null ) }
+ onFocus={ () => onHover( item ) }
+ onBlur={ () => onHover( null ) }
+ aria-label={ item.title } // Fix for IE11 and JAWS 2018.
+ >
+
+
+ { item.hasChildBlocks && }
+
-
- { item.title }
-
-
+
+ { item.title }
+
+
+
);
} ) }
-
+
+ /* eslint-enable jsx-a11y/no-redundant-roles */
);
}
}
diff --git a/editor/components/inserter/style.scss b/editor/components/inserter/style.scss
index d9f604c2a3e57..bf097e2c71bfe 100644
--- a/editor/components/inserter/style.scss
+++ b/editor/components/inserter/style.scss
@@ -93,8 +93,14 @@ $block-inserter-search-height: 38px;
}
}
-.editor-inserter__item-list {
+.editor-inserter__list {
+ list-style: none;
margin: 0 -8px;
+ padding: 0;
+}
+
+.editor-inserter__list-item {
+ display: inline;
}
.editor-inserter__item {