feed output not WCAG 2.0 compliant
Hi,
According to http://www.w3.org/TR/WCAG20-TECHS/SCR21.html, the document.write() method does not work with XHTML when served with the correct MIME type (application/xhtml+xml). I'm looking into forking the code with DOM functions but might need a little help...
Thanks,
Kyle
That would be new stuff to me, but seems like it should be possible. I guess I am a bit lost on who this affects? What is the use case where the script fails? I have yet to see someone say they were unable to use it for this reason (not trying to be difficult but to understand)
Hi Alan,
For sure... We use the fantastic feed2js tool to support announcements that are broadcast to a number of sites. One of our contracts is with the Canadian government, which has stipulated that all content be WCAG 2.0 compliant (http://www.theglobeandmail.com/news/politics/court-orders-ottawa-to-make-websites-accessible-to-blind/article1316244/).
I'm thinking of adding one new optional variable to indicate the DOM style output; I am not sure of the backwards compatibility if I just replace the document.write output style. Either way, the script probably build all the content first as a string, and then output it the appropriate way.