WebsiteBaker Community Forum

WebsiteBaker Support (2.12.x) => Modules => Topic started by: RonR on October 14, 2020, 11:32:53 AM

Title: Missing Alt descriptions in language flags
Post by: RonR on October 14, 2020, 11:32:53 AM

WB-Version
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!

Ronald
Title: Re: Missing Alt descriptions in language flags
Post by: dbs 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.