Issue Details (XML | Word | Printable)

Key: JAHIA-4641
Type: Bug Bug
Status: Resolved - To be tested Resolved - To be tested
Resolution: Answered
Priority: Minor Minor
Assignee: Sergiy Shyrkov
Reporter: Stephane Croisier
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jahia Web Content Management Server (WCMS)

No WAI check on images on file fields

Created: 01/May/09 11:53   Updated: 26/Apr/10 12:14   Resolved: 01/May/09 13:03
Return to search
Component/s: Edition Pop-ups / Engines
Affects Version/s: WCM 6.0.0 (Enterprise Edition)
Fix Version/s: WCM 6.0 (Community Edition), WCM 6.0 SP1, WCM 6.1.0 (Enterprise Edition)

Time Tracking:
Not Specified


 Description  « Hide
In the prepackaged demo on the "About us" page I added a new image in a file field and another new image in a big text. I turned on all WAI integrity checks and adequate rule.

Both images do not have any "ALT" value so will cause some WAI errors.

In the case of the image introduced in the big text the error is correctly diagnose. This is not the case for the image in the file field.

There is no reason that one is causing an error and not the other.

Finally How do I enter an alt value for an image field?

[This integrity check was not present in Jahia 5 SP4 so I delayed it for the 6.0 SP1+ - Up to you the urgency of WAI checks]

Sergiy Shyrkov added a comment - 01/May/09 13:03
Actually, we do not render any HTML output from the file field directly and thus I see no sense in enforcing WAI checks here. This is done by the template developer. It is up to the template developer to provide an additional field in the container for the image's 'alt' attribute AND use its value in a template.
The same applies to all other additional attributes (height/width, title etc.), we have no influence on.

From internal point of view, there is no semantic behind the File field. It is the content designer who decides, if this is an image, a link to a document or something else.
If we introduce here WAI checks, this can lead to confusions. What do you think?