PS - this is a requirement for accessibility compliance, which in my client's case needs to happen immediately. If there's any way to prioritize this I would be thrilled. Thanks again!
Pages 1
You are not logged in. Please login or register.
Juicebox Support Forum → Posts by kirk@ct
Pages 1
PS - this is a requirement for accessibility compliance, which in my client's case needs to happen immediately. If there's any way to prioritize this I would be thrilled. Thanks again!
Ah - that's it then. I didn't understand that the SEO content was a separate file. I'll have to wait for the new version. Thank you very much for your help with this! A+ service :).
Hi-
Okay here's a live example of the xml my code is generating:
<juiceboxgallery galleryTitle="title of gallery">
<image imageURL="/content/image.jpg" thumbURL="/content/image1.rpath.84.84.MEDIUM.1387232111735.jpg" linkURL="/index.html" linkTarget="_blank">
<title>title image 1</title>
<caption>desc1 <a href="/index.html">link1</a></caption>
</image>
<image imageURL="/content/image2.jpg" thumbURL="/image2.rpath.84.84.MEDIUM.1387232111735.jpg" linkURL="/content/image2.jpg" linkTarget="_blank">
<title>title2</title>
<caption>desdesc2 </caption>
</image>
</juiceboxgallery>
Looks like your suggestion, but it's still not generating alt tags. What am I doing wrong?
Ah ha! We are generating this code dynamically - I think that code snippet gave me enough to try something. We've got <title/> and <description/> but not <caption/>. Will let you know how it goes!
Hi sorry. Thanks for your patience.
We are using a CMS to grab images, title, description and then passing that info to juicebox. What I need to do in my code is to set the caption to the description I'm getting from the CMS, pass everything to juicebox and then have it output an alt tag for the image with that description/caption. Title and description are already working in separate tags, but I need the description to also appear in the alt tag of the image. Maybe I'm not understanding how this works. How can I get juicebox to output *any* alt tag given the setting above, and given we are not using the UI?
Thanks again for your help. If it's any consolation, the client is also re-buying the license because their previous developer has the old one.
Thanks again for your help. I am not using the UI. The config properties are being passed into the juicebox call:
defaults: {
addSEOContent:'true',
backgroundColor: '#222',
shareTwitter: 'true',
shareGPlus: 'true',
navButtonBackColor: '00a8ff',
galleryTitlePosition: 'top'
}
I know the properties are being read but alt tags are not being generated. What property does the js look for to set the caption?
Thanks for your patience...
Hey thanks for your quick reply. I can see what might be the caption text in
<p class="jb-caption-desc">Description</p>
in the source. But there is still no alt tag. I also confirmed that addSEOContent flag is set to "true". Is there a separate "caption" property that I need to set? Can you tell me what property is used for the caption?
I should add that they are setting the configs in a file, not by the UI.
Hi-
I've inherited a client with juicebox 1.3.2. There is a requirement for 508 compliance and including alt tags for images is a must. I've set the addSEOContent flag, but no alt tags are generated. There is a caption, so I've got that, but something must be missing. Can you point me in the right direction?
Thanks-
k
Pages 1
Juicebox Support Forum → Posts by kirk@ct
Powered by PunBB, supported by Informer Technologies, Inc.