Hello On Mon, 2007-12-24 at 14:13, Matthew Wilson wrote: > tidy_ok seems to let a lot of unholy html pass through. For example, I > would love to have my twill tests catch instances of img tags lacking > alt attributes. > > Is it possible to run some other, much more strict XHTML parser over the > pages?
IIRC img tags with alt attributes is not strictly an XHTML requirement. It is part of the accessibility initiative. It has been awhile; however, I recall using tidy to clean up just such constructs. Perhaps there is a way to add the "-access" switch to the tidy call from twill. HTH, William. _______________________________________________ twill mailing list [email protected] http://lists.idyll.org/listinfo/twill
