Project

General

Profile

Actions

Feature #90209

closed

File links - when showing filesize, use abbr tag to describe the units

Added by Riccardo De Contardi almost 5 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2020-01-26
Due date:
% Done:

0%

Estimated time:
PHP Version:
7.2
Tags:
Frontend, fluid, accessibility
Complexity:
Sprint Focus:

Description

A little suggestion if you think it is possible and worth the effort

CE element: Uploads (File Links) -> when showing the file size, write the units using the <abbr> tag, so the output becomes something like this:

     <span class="ce-uploads-filesize">1.23 <abbr title="Megabytes">MB</abbr></span>

If it is too much expensive and not worth the effort please close. Regards.

Actions #1

Updated by Georg Ringer over 3 years ago

  • Status changed from New to Closed

thanks for creating the issue.

I am closing this issue because of the following reasons:

  • the frontend rendering needs in general more love and not just changing one part here and one part there.
  • abbr tags are not really great from a11y perspective
  • it can be easily done in custom templates
Actions

Also available in: Atom PDF