Separate UI strings touching each other

Created on 20 November 2019, almost 5 years ago
Updated 31 May 2024, 6 months ago

Problem/Motivation

Steps to reproduce the problem:

  1. Enable the tracker (human-readable name Activity Tracker) module of Drupal core. It requires no further configuration.
  2. Create a piece of content, for example a Page or Article.
  3. Log in to the site with an other user account different from who the content has created.
  4. Visit the /activity URL path of the site. You should see a table listing the only one content.
  5. Beside its node title a colored "new" or "updated" text appears.

The <span class="marker">updated</span> element containing the status text has no gap from the <a> element containing the node title. This is bad not only for human reading, but for accessibility reasons as well.

Drupal core: 8.8.0-beta1
Apache: 2.2.34
PHP: 7.3.8 / Mem: 128M
MySQL: 5.7.26
mac OS: 10.13.6

Proposed resolution

Insert an extra non-breaking space (&nbsp;) character between these two elements. Advantages are that they will stay together in any circumstances (not breaking under into a new line, for example) and being theme/CSS agnostic.

Remaining tasks

Probably no further tasks are known.

User interface changes

Hopefully a minor visual improvement fixed.

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

Original report by [username]

N/A

🐛 Bug report
Status

Needs review

Version

1.0

Component
Tracker 

Last updated 6 months ago

No maintainer
Created by

🇭🇺Hungary Balu Ertl Budapest 🇪🇺

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024