The site I'm working on at present has many pages featuring images that have been given empty alt attributes i.e. alt="", allowing the pages to pass W3C verification (as specified here: http://www.w3.org/QA/Tips/altAttribute)
Editing a page with TinyMCE automatically strips out the empty alts.
Anyone know how this function can be disabled?
TinyMCE removes empty image alt attributes
-
cyberman
Re: TinyMCE removes empty image alt attributes
The solution is very easy - fill your alt attributes.
It's much more userfriendly, especially for handicapped users. W3C verification is only a guide for a user friendly layout. It makes not sense if you try to bypass this.
It's much more userfriendly, especially for handicapped users. W3C verification is only a guide for a user friendly layout. It makes not sense if you try to bypass this.
Re: TinyMCE removes empty image alt attributes
Yes I agree, alt tags should always be filled out when a description of the image concerned will be of use to a visitor using a screen reader or other assistive technology, but the WCAG guidelines do not recommend this for decorative images such as bullets, rules etc. (Obviously, it's best to avoid using images of this kind in markup wherever possible.)
-
cyberman
Re: TinyMCE removes empty image alt attributes
The problem is discussed to in TinyMCE forum (without solution)
http://tinymce.moxiecode.com/punbb/view ... hp?id=6024
Maybe it helps to downgrade to TinyMCE 2.0.4 module
...
http://tinymce.moxiecode.com/punbb/view ... hp?id=6024
Maybe it helps to downgrade to TinyMCE 2.0.4 module
Re: TinyMCE removes empty image alt attributes
Thanks for the link. I'll keep an eye on that thread.

