Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293850

Add icons to the sub menu items available within "Create"

$
0
0

Problem/Motivation

Per default the list of entities a user is able to create looks like the following:

the navigation with the create top level menu item expanded showing the default list of available entities to create in the expanded drawer

You as the user have either to memorize the entity type of each sub menu item available or you have to hover over each option and check your browsers status bar. Just based on the title it is impossible to directly know that Article and Basic page creates nodes, Document and Image media items and User a User. In case you have redundant names, I've created and added a block type and a media type called Article, to the content menu, things become even more challenging:

the navigation with the create top level menu item expanded showing the default list of available entities to create in the expanded drawer plus a media item and a content block called article so there are three options called article

Steps to reproduce

  • Add a block type and a media type called Article
  • Add the two to the content menu as childs to the create parent menu item on /admin/structure/menu/manage/content
  • Expand the drawer for the create top level menu item

Proposed resolution

At the moment only top level menu items have icons. I am not sure if it would break any design patterns for the navigation in general but adding the corresponding icon of the entity type a respective sub menu item belongs to would provide an easy visual cue for sighted users about the general context a sub menu item is in. I've created a rough draft to illustrate the general idea (it is not in any way near properly arranged, it is chopped together in affinity photo to communicate the idea in general) :

the navigation with the create top level menu item expanded showing the default list of available entities to create in the expanded drawer plus a media item and a content block called article so there are three options called article. only difference in the mockup each sub menu item has the icon of the respective

How to label the menu titles more clearly in-between entity types for screen reader users is covered in #3439721: Make the link descriptions more descriptive, helpful, and clear.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 293850

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>