HTML list display for accessibility

Created on 14 February 2024, 10 months ago

Problem/Motivation

During an accessibility audit, I noticed that there are no HTML semantics for the tag cloud. Tags are rendered in different <span> elements which is not great for accessibility as screen reader users perceive various unrelated tags.

Proposed resolution

Add a display option to render tags into an HTML unordered list (<ul> with a <li> for every tag). I've created a patch to add that option and to render the elements in an HTML list only if that option is selected.

Remaining tasks

The patch needs testing and considering this new feature for accessibility purposes.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇪🇸Spain alejandrosrez

Live updates comments and jobs are added and updated live.
  • Accessibility

    It affects the ability of people with disabilities or special needs (such as blindness or color-blindness) to use Drupal.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024