ASP.NET - WCAG error in website - Asked By muthuraman alexander on 12-Oct-11 02:03 AM

hi ALL,

in my project (asp.net/c# site)
when i build the site it showing WCAG error

my assumption is , this may due to absence of alt property in image tags
But after i added the alt property the error remains

this error i got now only with the same code i working for a long but previously i didnt got his error

please i need help for this

thanks
MUTHU
Jitendra Faye replied to muthuraman alexander on 12-Oct-11 02:05 AM
The WCAG consists of 14 guidelines. Each guideline, in turn, consists of one or more checkpoints that further clarify the guideline. Each checkpoint is ranked with a priority between 1 and 3. To make it easier to implement the guidelines, the W3C has published a set of documents that contain techniques for following the guidelines
 
(see
http://www.w3.org/TR/WCAG10-TECHS/).

Hope this will help you.
Suchit shah replied to muthuraman alexander on 12-Oct-11 02:07 AM
check http://www.hereticpress.com/Dogstar/Publishing/CommonErrors.html for more detail about common mistakes
Riley K replied to muthuraman alexander on 12-Oct-11 02:09 AM


You can use ASP image control to show your picture.


And use Attributes.Add to add attribute alt onto image control in Page_Load to achieve the purpose with WCAG.

Image1.Attributes.Add("alt","'x'");

The style can be defined still like with img control.

Regards

Suchit shah replied to muthuraman alexander on 12-Oct-11 02:10 AM
http://www.w3.org/WAI/WCAG20/quickref/
muthuraman alexander replied to Riley K on 12-Oct-11 02:11 AM
hi

thank you for your reply

but it showing some 300 error message
how it is possible to code for each one in every page
please advice


thanks in advance
muthu