RE: [ZOPE Collector] Zope Bug entry: An alt attribute of img elem ent inserted by Image objects ent inserted by Image objects
It's not required, actually, just recommended, and a filename is better than NOTHING, which is what he proposed. I'd definately be -3 on this one. Actually, I'd rather see BORDER=0 be the default. I've yet to find a single person who wants a border on their images...
Chris
1. 'alt' IS required, look at DTD: <!ATTLIST IMG .... src %URI; #REQUIRED -- URI of image to embed -- alt %Text; #REQUIRED -- short description -- ....
2. The way you want every single image will leave some garbage on the screen when you browse with Lynx, even if it has only meaning for GUI browsers.
Ok - I propose that image.tag() and .__str__ will: o use the content of the 'title' property if defined o otherwise generate alt="" o include border="0" by default Unless people complain loudly, I'll put on the benevolent dictator hat and have this is 2.2.1 (should be out tomorrow) :) Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
participants (1)
-
Brian Lloyd