Closed Bug 867580 Opened 11 years ago Closed 11 years ago

Fix treestatus validation errors in index.html

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Assigned: emorley)

References

Details

Attachments

(1 file)

For index.html:

    Warning: Obsolete doctype. Expected <!DOCTYPE html>.
    From line 1, column 1; to line 1, column 109
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">↩<html

    Warning: The language attribute on the script element is obsolete. You can safely omit it.
    From line 8, column 1; to line 8, column 30
    d>↩<body>↩<script language="JavaScript">↩funct

    Error: Bad value for attribute action on element form: Must be non-empty.
    From line 23, column 11; to line 23, column 40
    <form method="post" action="">↩
    Syntax of IRI reference:
        Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20. 

    Error: Any select descendant of a label element with a for attribute must have an ID value that matches that for attribute.
    From line 334, column 23; to line 334, column 44
    <select name="status">↩

    Error: Any input descendant of a label element with a for attribute must have an ID value that matches that for attribute.
    From line 341, column 23; to line 341, column 67
    <input type="text" name="reason" size="30" /><br/>↩

    Error: End tag for body seen, but there were unclosed elements.
    From line 364, column 1; to line 364, column 7
    </div>↩</body>↩</htm

    Error: Unclosed element div.
    From line 15, column 1; to line 15, column 20
    </script>↩<div id="container">↩ <

    Error: The for attribute of the label element must refer to a form control.
    From line 333, column 19; to line 333, column 38
    <label for="status">New st

    Error: The for attribute of the label element must refer to a form control.
    From line 340, column 19; to line 340, column 38
    <label for="reason">Reason

Single tree page:

    Warning: Obsolete doctype. Expected <!DOCTYPE html>.
    From line 1, column 1; to line 1, column 109
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">↩<html

    Error: Any select descendant of a label element with a for attribute must have an ID value that matches that for attribute.
    From line 21, column 25; to line 21, column 46
    <select name="status">↩

    Error: Any input descendant of a label element with a for attribute must have an ID value that matches that for attribute.
    From line 28, column 25; to line 28, column 77
    <input type="text" name="reason" size="30" value=""/><br />

    Error: The for attribute of the label element must refer to a form control.
    From line 20, column 21; to line 20, column 40
    <label for="status">New st

    Error: The for attribute of the label element must refer to a form control.
    From line 27, column 21; to line 27, column 40
    <label for="reason">Reason

There are a bunch of errors on the other pages, but I'll wait until we switch to using a template to fix them (the template can use index.html as the reference).
Summary: Fix treestatus validation errors → Fix treestatus validation errors in index.html
Attached patch Patch v1Splinter Review
Attachment #744119 - Flags: review?(catlee)
Attachment #744119 - Flags: review?(catlee) → review+
In production :-)
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Webtools → Tree Management
Product: Tree Management → Release Engineering
Component: Applications: TreeStatus → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: