Forums / Setup & design / eZImage datatype - Possible to make "Alternative image text" required?
Bruce Morrison
Monday 02 May 2011 10:42:22 pm
Hi all
I'm wondering if it's possible to make the "Alternative image text" component of the eZImage datatype a required field. It would only be required if an image is added.
The use case is a general one where you need to produce an accessible site and all images must have alt text.
I've had a poke around the codebase but it doesn't seem possible.
It would be good to know
CheersBruce
My Blog: http://www.stuffandcontent.com/ Follow me on twitter: http://twitter.com/brucemorrison Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish
Marko Žmak
Monday 02 May 2011 11:26:18 pm
What about using a content edit handler?
Serwatka wrote a blog entry about it:
(but it seems his site is currently down)
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth