WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • Modules »
  • Missing Alt descriptions in language flags
  • Print
Pages: [1]   Go Down

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

Offline RonR

  • Posts: 59
Missing Alt descriptions in language flags
« 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
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8920
  • 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.
Logged
https://onkel-franky.de

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • Modules »
  • Missing Alt descriptions in language flags
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2