Issue Details (XML | Word | Printable)

Key: MDL-8062
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Petr Skoda
Reporter: Petr Skoda
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-7860

1.3 Remove name attribute from <form> and fix focus everywhere

Created: 04/Jan/07 03:42 AM   Updated: 07/Jan/07 04:19 AM
Return to search
Component/s: Accessibility
Affects Version/s: 1.7
Fix Version/s: 1.8

Issue Links:
Dependency
 

Participants: Petr Skoda
Security Level: None
Resolved date: 07/Jan/07
Affected Branches: MOODLE_17_STABLE
Fixed Branches: MOODLE_18_STABLE


 Description  « Hide
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

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda added a comment - 04/Jan/07 03:43 AM
hmm, we could add compatibility hack to use old style focusing code if focus contains dot

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 added a comment - 07/Jan/07 04:19 AM
fixed in cvs