You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by schneidc <si...@gmx.de> on 2010/07/26 13:13:46 UTC
Re: [MyFaces] Get rid of "ALT attribute is missing" warnings for
images
Thanks for the tipp, adding alt attributes to the images helped.
Jakob Korherr wrote:
>
> Hi,
>
> j_id2 is the clientId of the h:graphicImage component. However this id
> does
> not have to be rendered for images, thus you don't find it in the HTML.
>
> Just set the alt attribute on the image and the warning will be gone. This
> attribute should IMO always be set (especially when thinking about users
> with visual impairment). However on MyFaces core 2.0.x the warning will be
> gone if you're in ProjectStage = Production.
>
> Regards,
> Jakob
>
> 2010/7/22 schneidc <si...@gmx.de>
>
>
>
--
View this message in context: http://old.nabble.com/-MyFaces--Get-rid-of-%22ALT-attribute-is-missing%22-warnings-for-images-tp29234327p29265388.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.