Query form has 4 HTML validation errors

RESOLVED FIXED in 2.3.5

Status

Socorro
Webapp
RESOLVED FIXED
8 years ago
6 years ago

People

(Reporter: ozten, Assigned: espressive)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qa-])

(Reporter)

Description

8 years ago
The Advanced Search page has HTML validation errors.

http://validator.w3.org/check?uri=http%3A%2F%2Fcrash-stats.mozilla.com%2Fquery%2Fquery&charset=%28detect+automatically%29&doctype=Inline&group=0&ss=1&verbose=1

#  Line 249, Column 16: No p element in scope but a p end tag seen.

# Error Line 294, Column 32: Element li not allowed as child of element div in this context. (Suppressing further errors from this subtree.)

# Error Line 202, Column 51: The for attribute of the label element must refer to a form control.

# Error Line 206, Column 32: The for attribute of the label element must refer to a form control.
(Assignee)

Comment 1

6 years ago
The above 4 no longer exist but there are three new one's

Line 513, Column 46: An img element must have an alt attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images.

<img src="/img/loading.png" />

Error Line 527, Column 10: Stray end tag div.

</div>

Error Line 528, Column 10: Stray end tag div.

</div>
(Assignee)

Updated

6 years ago
Assignee: nobody → sneethling
(Assignee)

Comment 2

6 years ago
Sent pull request: https://github.com/mozilla/socorro/pull/215

TEST CASE
----------

Run the query page, such as:
https://espressive-dev.allizom.org/query

Through the W3C validator at validator.w3.org
Status: NEW → ASSIGNED
Whiteboard: [qa-]
Target Milestone: --- → 2.4

Comment 3

6 years ago
Commit pushed to https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/a5fe40601b583416319b85e5c8f5f03556640185
Merge pull request #215 from ossreleasefeed/bug561228-html-validation-errors

Fixed validation errors :: Fixes bug 561228

Updated

6 years ago
Target Milestone: 2.4 → ---
(Assignee)

Updated

6 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.4
Component: Socorro → General
Product: Webtools → Socorro

Updated

6 years ago
Component: General → Webapp
(Assignee)

Updated

6 years ago
Target Milestone: 2.4 → 2.3.5
You need to log in before you can comment on or make changes to this bug.