Kunena Menu
alt attribute
2 months 4 weeks ago #77018
by alex51
alt attribute was created by alex51
Hi CeD.
How can I add alt text (alt attribute) to images in Slideshow CK?
Best regards,
Alex
How can I add alt text (alt attribute) to images in Slideshow CK?
Best regards,
Alex
Please Log in or Create an account to join the conversation.
2 months 4 weeks ago #77022
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic alt attribute
Hi
The alt text are already added for the images in Slideshow CK
Please give me some explanations and an example to see the problem
CEd
The alt text are already added for the images in Slideshow CK
Please give me some explanations and an example to see the problem
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
2 months 3 weeks ago - 2 months 3 weeks ago #77024
by alex51
Replied by alex51 on topic alt attribute
Thank you for your reply.
I've noticed that adding text to an image (caption_title) also causes that text to be the alt attribute.
utwkamienpom.pl/
When I don't add text (caption_title), the page's HTML code indicates the missing alt attribute.
spzagorzany.pl/
I've noticed that adding text to an image (caption_title) also causes that text to be the alt attribute.
utwkamienpom.pl/
Code:
<div class="slideshowck camera_wrap camera_amber_skin" id="camera_wrap_219">
<div data-alt="Stowarzyszenie Uniwersytet Trzeciego Wieku w Kamieniu Pomorskim" data-thumb="/images/slider/tlo1.jpg" data-src="/images/slider/tlo1.jpg" >
<div class="camera_caption moveFromLeft">
<div class="camera_caption_title">
Stowarzyszenie Uniwersytet Trzeciego Wieku w Kamieniu Pomorskim </div>
<div class="camera_caption_desc">
Kamień Pomorski z "lotu ptaka" </div>
</div>
</div>
<div data-alt="Stowarzyszenie Uniwersytet Trzeciego Wieku w Kamieniu Pomorskim" data-thumb="/images/slider/slajd_02.jpg" data-src="/images/slider/slajd_02.jpg" >
<div class="camera_caption moveFromLeft">
<div class="camera_caption_title">
Stowarzyszenie Uniwersytet Trzeciego Wieku w Kamieniu Pomorskim </div>
<div class="camera_caption_desc">
Zaproszenie do mariny </div>
</div>
</div>
</div>
spzagorzany.pl/
Code:
<div class="slideshowck camera_wrap camera_amber_skin" id="camera_wrap_282">
<div data-alt="" data-thumb="/images/slider/slajd_2019_01.jpg" data-src="/images/slider/slajd_2019_01.jpg" >
</div>
<div data-alt="" data-thumb="/images/slider/slajd_2019_02.jpg" data-src="/images/slider/slajd_2019_02.jpg" >
</div>
</div>
Last edit: 2 months 3 weeks ago by alex51.
Please Log in or Create an account to join the conversation.
2 months 3 weeks ago #77027
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic alt attribute
here you are checking the source code in the page but not the generated image (created using javascript)
check the image from the slideshow, it has an alt attribute :
check the image from the slideshow, it has an alt attribute :
Code:
alt="Trzykondygnacyjny budynek szkoły podstawowej im. Komisji Edukacji Narodowej w Zagórzanach, z wejściem pod dachem i ławeczkami na trawniku przed szkołą."
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
2 months 3 weeks ago #77028
by alex51
Replied by alex51 on topic alt attribute
Exactly. It's the slide title, but I've hidden its display in CSS. If I understand correctly, the alt attribute is equivalent to the slide title?
Please Log in or Create an account to join the conversation.
2 months 3 weeks ago #77029
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic alt attribute
yes if the title exists, else it will be the image filename
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.203 seconds




