Author Topic: Missing Alt descriptions in language flags  (Read 1524 times)

Offline RonR

  • Posts: 43
Missing Alt descriptions in language flags
« on: October 14, 2020, 11:32:53 AM »

2.12.2 r379
Module WebsiteBaker Lingual 2.0.2

I am missing Alt descriptions on the language flags on the frontend.
It just says alt=""

Found a line of code in modules/WBlingual/templates/lang.html.twig, they are defined in the code:
title="{{ aTarget.sPageTitle }}" alt="{{ aTarget.sToolTip }}"

Where am I to define a tooltip? Or how do I change this code to output alt="english"

Any help apreciated!


Offline dbs

  • Betatester
  • **
  • Posts: 8730
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Missing Alt descriptions in language flags
« Reply #1 on: October 14, 2020, 01:07:13 PM »
Hi, it seems tooltip is part of the page settings and currently not in use.
I would replace alt="{{ aTarget.sToolTip }}" with alt="lang flag".
It is not a important info for SEO.

But maybe a developer will have a look.