Opened 5 years ago

Last modified 3 years ago

#1052 new Erweiterung

Fehlender Title-Tag bei Bildern

Reported by: matzell Owned by: somebody
Priority: normal Milestone:
Component: Shop Version: 2.0.0.0

Description

Datei: /inc/xtc_image.inc.php
Zeile: 30

Bisher:

    $image = '<img src="' . xtc_parse_input_field_data(DIR_WS_BASE.$src, array('"' => '&quot;')) . '" alt="' . xtc_parse_input_field_data($alt, array('"' => '&quot;')) . '"';

Ändern zu:

    $image = '<img src="' . xtc_parse_input_field_data(DIR_WS_BASE.$src, array('"' => '&quot;')) . '" title="' . xtc_parse_input_field_data($alt, array('"' => '&quot;')) . '" alt="' . xtc_parse_input_field_data($alt, array('"' => '&quot;')) . '"';

Grund:
Durch das fehlen des Title-Tags kann z.B. dem Slider kein Caption hinzugefügt werden. Zudem ist es ratsam, dass ein jedes Bild IMMER mit einem Title versehen ist.

Attachments (0)

Change History (7)

comment:1 Changed 5 years ago by Tomcraft

  • Milestone set to modified-shop-2.0.1.1
  • Type changed from Bug/Fehler to Erweiterung
  • Version set to 2.0.0.0

comment:2 Changed 5 years ago by web28

Hier steht einiges zum Thema alt und title Tags

https://www.seo-united.de/blog/seo/alt-und-title-attribute-bilder.htm

comment:3 Changed 5 years ago by Tomcraft

Dann sollten wir die Lösung so übernehmen.

Version 0, edited 5 years ago by Tomcraft (next)

comment:4 Changed 5 years ago by Tomcraft

  • Milestone changed from modified-shop-2.0.2.0 to modified-shop-2.0.2.1

comment:5 Changed 5 years ago by Tomcraft

  • Milestone changed from modified-shop-2.0.2.1 to modified-shop-2.1.0.0

comment:6 Changed 4 years ago by Tomcraft

  • Milestone changed from modified-shop-2.1.0.0 to modified-shop-2.0.3.0

comment:7 Changed 3 years ago by Tomcraft

  • Milestone modified-shop-2.0.4.1 deleted

Add Comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.