Closed
Bug 1143502
Opened 11 years ago
Closed 11 years ago
Use structural HTML5 elements instead of <div>
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 6.0
People
(Reporter: LpSolit, Assigned: LpSolit)
Details
Attachments
(1 file)
|
2.87 KB,
patch
|
dkl
:
review+
|
Details | Diff | Splinter Review |
For readability, and to make life of accessibility tools easier, we should use the new header, nav, main and footer HTML5 elements. Those are understood by Chrome, Firefox, Safari and Opera for a long time. IE9+ only understand header, nav and footer, but not main. IE8 doesn't understand any. To work around IE8 limitations, we declare these new elements ourselves.
Attachment #8577787 -
Flags: review?(dkl)
Comment 1•11 years ago
|
||
Comment on attachment 8577787 [details] [diff] [review]
patch, v1
Review of attachment 8577787 [details] [diff] [review]:
-----------------------------------------------------------------
::: skins/standard/global.css
@@ +19,5 @@
> +
> + /* header and footer are required for IE8. IE9+ support them natively.
> + * main is required for all IE versions and KHTML-based browsers.
> + * Other browsers support them natively already. */
> + header, main, footer {
Don't we need nav here as well?
Updated•11 years ago
|
Flags: needinfo?(LpSolit)
| Assignee | ||
Comment 2•11 years ago
|
||
(In reply to David Lawrence [:dkl] from comment #1)
> Don't we need nav here as well?
No. <nav> is not a block.
Flags: needinfo?(LpSolit)
Comment 3•11 years ago
|
||
(In reply to Frédéric Buclin from comment #2)
> (In reply to David Lawrence [:dkl] from comment #1)
> > Don't we need nav here as well?
>
> No. <nav> is not a block.
Ah OK. Reason I asked as it is replacing a <div> and not a <span>
- <div id="common_links">
+ <nav id="common_links">
[% PROCESS "global/common-links.html.tmpl" qs_suffix = "_top" %]
- </div>
+ </nav>
Comment 4•11 years ago
|
||
Comment on attachment 8577787 [details] [diff] [review]
patch, v1
Review of attachment 8577787 [details] [diff] [review]:
-----------------------------------------------------------------
r=dkl
Attachment #8577787 -
Flags: review?(dkl) → review+
Updated•11 years ago
|
Flags: approval?
Updated•11 years ago
|
Flags: approval? → approval+
| Assignee | ||
Comment 5•11 years ago
|
||
To ssh://gitolite3@git.mozilla.org/bugzilla/bugzilla.git
fe75eda..d1c18ff master -> master
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•