Re: [MACCAWS] XHTML and ASP.NET

Tom Gilder <[email protected]> Wed, 11 Sep 2002 14:35:11 +0100
Newsgroups gmane.comp.web.vkit
Message-ID <[email protected]>
On Wednesday, September 11, 2002, 1:33:00 PM, you wrote:
> Anyone know how asp.net copes with the requirements of WAI and Bobby type 
> accessibility? If it shoves in a load of Javascript that'll be a problem 
> for one.

*Some* areas of ASP.NET generate utter rubbish. You aren't forced to
use these, however - it is totally possible to make an ASP.NET-powered
page that validates and is accessible.

However ASP.NET encourages invalid and unaccessible practices by
providing convenience features such as the awful doPostBack crap.

Have a look at some of Microsoft's pages, like the download links on
http://asp.net/ibuyspy/downloads.aspx and the page links on
http://asp.net/ibuyspy/storepaper.aspx. These are both JS links, but
for absolutely no good reason apart from convenience.

Also, there's the awful asp:calendar control -
http://samples.gotdotnet.com/quickstart/aspplus/samples/webforms/intro/VB/intro7.aspx
- which just manages to be utterly pointless as it requires scripting
to do anything, but then goes back to the server for everything! If
you're going to require scripting, at least do something useful with
it...

There is, of course, nothing stopping you writing a lovely
XHTML-compliant and totally accessible ASP.NET calendar control that
works for everyone.


Cheers
-- 
Tom Gilder
http://tom.me.uk/