Recently we've been doing work in ASP.NET Whidbey to make sure we generate accessible and XHTML 1.1 valid markup by default. We've had some interesting discussions, but so far the most interesting one took place this week...
The
WCAG 1.0 guideline in section 6.3 says:
Ensure that pages are usable when scripts, applets, or other programmatic objects are turned off or not supported.
On the surface it seems to make sense. But the first problem I see is how does an accessibility validator know whether script on the page is such that the page is still accessible? Ok, the validator throws a warning, and not an error. How does a non-expert on accessibility standards discern between a true error from an informative warning? Perhaps, I am missing something, but it seems that script can actually be used to make pages more accessible. For instance doesn't script that set focus on an element in error due to validation thereby allowing the screen reader to skip reading content repetitively make the page more accessible?
This week we looked at
XHTML 1.1. Theres obviously good-ness in adopting a well-formed XML syntax. But, on first glance, this spec seems to throw out various well established HTML constructs out the door. So what about the millions of pages out there? Thats ok... perhaps browsers will always be backward compatible and more practicle in nature. Then we see that the 'target' attribute on the '<a>' tag is simply missing from the list of valid attributes in the Hypertext module from section 5.2.3. Now I actually think opening new windows can be useful when used judiciously (think Help panes for a page, or an external secondary link from a main topic). On investigating and discussing how to support the 'Target' property of the '<asp:HyperLink>' control in an XHTML 1.1-conformant manner, we found the alternatives centered around using script to open a new window. Ack, that would make pages using this control with the Target property set inaccessible as per the WCAG!
Seems like something doesn't add up. Were these two committees thinking about how their specs would
inter-op well?
I'd be curious to hear if someone has their own opinions... are these specs on the mark? Or are they simply purist in nature and that just needs to be accepted?
Posted on Thursday, 10/2/2003 @ 11:49 PM
| #
ASP.NET