Closed Bug 765872 Opened 13 years ago Closed 12 years ago

faulty use of the section element

Categories

(Marketplace Graveyard :: Code Quality, defect, P4)

defect

Tracking

(Not tracked)

RESOLVED FIXED
2013-03-28

People

(Reporter: icaaq, Assigned: potch)

Details

(Whiteboard: p=1)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/16.0 Firefox/16.0a1 Build ID: 20120618030531 Steps to reproduce: 1. Press Cmd+N to open a new browser window, then type https://marketplace.mozilla.org/en-US/ in the address bar and press Enter 2. Inspect eg. #site-header Actual results: There are section-elements that is only used for styling purposes. Expected results: As the spec says [http://dev.w3.org/html5/spec/the-section-element.html#the-section-element]: > The section element is not a generic container element. When an element is needed only for styling purposes or as a convenience for scripting, authors are encouraged to use the div element instead. A general rule is that the section element is appropriate only if the element's contents would be listed explicitly in the document's outline. Therefor a div should be used to center the content instead.
Potch, would you confirm/deny this?
Assignee: nobody → thepotch
Severity: normal → trivial
Priority: -- → P5
Target Milestone: --- → 2012-11-08
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: 2012-11-08 → ---
Fix this in the fixing of the header.
Priority: P5 → P4
Target Milestone: --- → 2013-02-28
Whiteboard: p=1
Target Milestone: 2013-02-28 → ---
We no longer do this in the new header.
Target Milestone: --- → 2013-03-28
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.