Closed Bug 332987 Opened 18 years ago Closed 16 years ago

Tracking - AMO should use valid html, css, rss feeds & other code

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cameron, Assigned: morgamic)

References

Details

(Keywords: meta)

None of us needs to know the importance of valid html. 
http://www.mozilla.org/contribute/writing/guidelines#validation

So this is a tracking bug for html & css error related bugs.
Depends on: 332988
Depends on: 332989
Depends on: 332991
Depends on: 333046
Depends on: 333058
Updated description to include other types of code, specifically the rss feeds.
Summary: Tracking - AMO should use valid html & css. → Tracking - AMO should use valid html, css, rss feeds & other code
Depends on: 333116
Depends on: 334640
Depends on: 334645
Depends on: 334647
Depends on: 336258
Target Milestone: 2.1 → ---
Target Milestone: --- → 3.2
(In reply to comment #2)
> http://validator.w3.org/check?uri=https%3A%2F%2Fpreview.addons.mozilla.org%2Fen-US%2Ffirefox%2F&charset=(detect+automatically)&doctype=Inline&group=0
> 
> 112 validation errors; do we want to wait until our 42 Remora v3.2 bugs [1] are
> fixed to tackle this?

Actually, something's way, way wrong with that; there shouldn't be that many.
Just to note, we switched to xhtml 1.0 strict.
Really? A lot of the validation bugs we fixed recently were about removing self-closing tags and other minute details in order to conform with HTML4. I am unsure if we should turn around again and re-add all these to switch to XHTML now?
(In reply to comment #4)
> Just to note, we switched to xhtml 1.0 strict.
> 

Wait, what?!
When validating several pages on AMO (just the XHTML), I could only find 3 errors, for example on the main page (http://validator.w3.org/check?uri=https%3A%2F%2Faddons.mozilla.org%2Fen-US%2Ffirefox%2F):

there is no attribute "addonName"
there is no attribute "addonIcon"
there is no attribute "addonHash"
Unfortunately, the only way to make this validate is by extending the XHTML DTD with the missing attributes and using that instead of the original XHTML one (as suggested by "A List Apart" (http://www.alistapart.com/articles/customdtd/) and others).
All dependencies have been met.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Verified; I think it makes sense just to file individual bugs, moving forward.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.