Forum .LRN Q&A: Re: Accessibility improvements for 2.4

Collapse
Posted by Michael Cordova on
I'd like to contribute a few changes about html validation.

I've asked OCT for a CVS account by email. Meanwhile, how can I contribute? Shall I post a bug on bugtracker, and then upload a patch?

One more thing, I tried to replace & in url's by amp's "& amp" (without space), in order to avoid validation warnings (http://htmlhelp.com/tools/validator/problems.html#amp) but AOLServer doesn't seem to like that change. The question is, Is that an accessibilty error?

Collapse
Posted by Dave Bauer on
The URLs should be generated with [export vars] and placed in a tcl variable. The tcl variable should be referred to in the ADP file. In this way, the & will be escaped automatically.
Collapse
Posted by Emmanuelle Raffenne on
Hi Miguel,

The use of "&" instead of "&" is not an accessibility requirement but a HTML specification. It doesn't invalidate the HTML though, only reports a warning. However it's recommended to have them correctly encoded.

As Dave said, to get URLs correctly encoded, use the [export_vars -base $base_url $var_list].