Closed (won't fix)
Project:
ImageField
Version:
6.x-3.0-rc1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Apr 2009 at 17:13 UTC
Updated:
16 Apr 2009 at 00:14 UTC
I've read the book page for "printing the description of ImageField", but I don't understand why all the images (with a description) don't use that in the ALT or TITLE attribute..
Maybe ImageField should provide something to correctly place the description data inside the IMG attributes.
Regards
Comments
Comment #1
quicksketchUnlike "alt" and "title", the "description" text doesn't have any meaning to img tags. The description field is intended for use with FileFields (which don't have alt or title). I wish it weren't available at all for images, but its too late to change it now.
Comment #2
thepanz commentedYou're right! :)
But the "Image£ formatter should use the 'description' (FileField-data) for rendering the ALT or TITLE attribute.
It's for accessibility reasons that IMG should have alt/title attributes.
Any thoughts?
Comment #3
quicksketchTake a look at #193887: Accessibility enhancements. There are many reasons for not using "description" for alt and title text. The best one is that alt and title text have different purposes. If you want to set alt and title text, you should set them directly not use "description" which is ambiguous from the web standpoint.
Comment #4
quicksketchThis issue sounds like a duplicate of the "won't fix" issue #310288: Use description text for alt and title attributes. Please reopen if I misunderstood the request, but it sounds the same to me.