<ul>
<li><label> Name: <input type="text" name="name" required="required" /></label></li>
<li><label> Comment: <input type="text" name="comment"
/></label></li>
</ul>
In the W3C WCG20, SCR25: Using Dynamic Web Content Accessibility to programmatically identify form fields as required, it also mentions "required" attribute for required fields. But, in that script sample, it shows
setAttrNS(field, "required", "true");
And, screen reader should be able to read out.
Both above sites use the same attribute "required". My question is here :
Can screen reader still read out if required="required"?
I incline to HTML5 since it's much clean and easy in the design.
8 comments:
Thanks for pointing this out. Traditional HTML is nothing but a jumble through a screen reader.
i erally like this post... thanks
ahh..really a great one man.i am going to bookmaek this page.
Thanks, helpful source.
Why don't you look for the answer at forums?
Thanks a lot for providing this
code.
.....ALex
Post a Comment