I'm interested in writing a Tcl package to aid in the generation of HTML that is accessible to users with disabilities. I'm already well-versed in writing accessible HTML, especially web-based forms, but I'm unsure where to begin on the Tcl side of things: '''Questions''' * I'd like this package to work well with the existing [HTML] package, what are some things to keep in mind when subclassing (if that's the proper term) a package in Tcl? * I'd like to generate the HTML through an XML interface, I'd prefer not to resort to [puts] except in cases where it's practical to do so. What XML interface(s) are useful (I think [Tdom] is one)? '''Goals''' * Should work equally well in a CGI context and with Tcl-based web servers like [Tclhttpd]. * Needs to take the drudgery out of writing accessible HTML, which is quite tedious due to the overhead imposed by the additional tagging. * A [perl] version is also required. * Should comply with existing accessibility recommendations, such as those at the [W3C]. - [WJR] [AM] Have you had a look at the cgi.tcl package by [Don Libes]? This provides an excellent example to get started ... [WJR] Yes, like [HTML], many of [cgi.tcl]'s methods can be used, but some methods output deprecated markup that attempts to define presentation, which should be represented in [CSS]. [AM] Excuse my ignorance, but what does this type of HTML/CSS look like?