jDownloadsownloads.com


Author Topic: Layout  (Read 190 times)

0 Members and 1 Guest are viewing this topic.

Offline boboman

  • Newbie
  • *
  • Posts: 9
Layout
« on: 15.10.2020 17:46:27 »
Can the layout be modified so that an icon is displayed (.txt, .pdf, .docx etc.) but does not have a download link associated?
{file_pic} seems to automatically add a download URL

Offline ColinM

  • Moderator
  • *
  • Posts: 3.815
Re: Layout
« Reply #1 on: 16.10.2020 14:44:02 »
Hi
At the present time the icon and the Title are bothe treated the same way.  So they either both have a link or neither has a link.
Is there any particular reason why the link should not be present in both?

Colin

Offline boboman

  • Newbie
  • *
  • Posts: 9
Re: Layout
« Reply #2 on: 16.10.2020 17:12:11 »
Arno, 

It's more to do with Web Content Accessibility Guidelines (WCAG) it flags up the icon and file name as a redundant link. It's not a massive issue as it is a warning rather than a WCAG error.

Regards,

Adrian

Offline ColinM

  • Moderator
  • *
  • Posts: 3.815
Re: Layout
« Reply #3 on: 16.10.2020 18:09:54 »
Adran
I did a lot of WCAG thing in jD3.9, particularly ensuring that each pic has an alt=

Will add this to the list.  It means adding an Frontend option and modifying several instances of the code.
Colin