XHTML Strict does not allow name attribute on forms, but we are using them for focus selection.
Solution:
* remove the name (or replace it with id)
* use id of element for focus - needs fixing JS focus code and all places that use it
Description
XHTML Strict does not allow name attribute on forms, but we are using them for focus selection.
Solution:
* remove the name (or replace it with id)
* use id of element for focus - needs fixing JS focus code and all places that use it
Petr Skoda added a comment - 04/Jan/07 04:42 AM I have tweaked the focusing javascipt code used from print_header() and modified a few forms (login, jsless messaging and chat).
Petr Skoda committed 5 files to 'Moodle CVS' - 04/Jan/07 05:35 AM
MDL-8062 chat, login page and messaging - removed name attribute from some <form>s and fixed focus; changed set_focus() JS to accept element ID == the $focus parameter in print_header() + other minor Strict XHTML fixes