Comments on: Your HTML5 Questions 19 https://stevefaulkner.github.io/html5doctored/your-html5-questions-19/ helping you implement HTML5 today Fri, 17 Jun 2016 18:04:56 +0000 hourly 1 By: Laurence Cope https://stevefaulkner.github.io/html5doctored/your-html5-questions-19/#comment-28882 Mon, 27 Aug 2012 13:57:14 +0000 http://html5doctor.com/?p=4733#comment-28882 Oh man, sort the comments out!
<header>, <aside>, etc.

]]>
By: Laurence Cope https://stevefaulkner.github.io/html5doctored/your-html5-questions-19/#comment-28881 Mon, 27 Aug 2012 13:56:50 +0000 http://html5doctor.com/?p=4733#comment-28881 Oh man, sort the comments out!
, , etc.

]]>
By: Laurence Cope https://stevefaulkner.github.io/html5doctored/your-html5-questions-19/#comment-28880 Mon, 27 Aug 2012 13:56:07 +0000 http://html5doctor.com/?p=4733#comment-28880 My last post should refer to tags like , etc.

]]>
By: Laurence Cope https://stevefaulkner.github.io/html5doctored/your-html5-questions-19/#comment-28879 Mon, 27 Aug 2012 13:55:32 +0000 http://html5doctor.com/?p=4733#comment-28879 Hi Olly

About this “Easy – change your doctype to the new one () and you’re now using HTML5. You don’t have to use any of the new elements, features or APIs until you and your customers are ready to do so. I wrote a bit more on this some time ago.”

But this does not work… I specifically refer to using tags like etc. Even with your DOCTYPE older browsers will not recognise these tags and the site breaks.

]]>
By: Tim Arnold https://stevefaulkner.github.io/html5doctored/your-html5-questions-19/#comment-28878 Mon, 27 Aug 2012 13:33:40 +0000 http://html5doctor.com/?p=4733#comment-28878 Thanks Zámbó,

I’ve recently leaned toward using H1 all ’round simply because of the types of projects I work on. Any little widget consisting of a heading, image, paragraph, and link could appear in any number of places on the page (main content, sidebar, syndication feeds, etc.). I’ve found that using H1 and wrapping it in an means that wherever I place it, my outline stays true.

I do see how your point about H2 both as a straight tag or an aria role makes sense and will adjust a bit to try, as much as possible, to let my H tags carry more of the responsibility to describe themselves.

-Tim

]]>
By: jared https://stevefaulkner.github.io/html5doctored/your-html5-questions-19/#comment-28874 Fri, 24 Aug 2012 17:49:38 +0000 http://html5doctor.com/?p=4733#comment-28874 In regards to the var tag, I’ve used it before but have noticed that is has been causing me some problems for some reason.

]]>
By: Zámbó Gergő https://stevefaulkner.github.io/html5doctored/your-html5-questions-19/#comment-28871 Thu, 23 Aug 2012 14:51:17 +0000 http://html5doctor.com/?p=4733#comment-28871 Tim,

Oli answered this question for me back then, thought I’d post it here for you, cause it coveres the whole topic:

https://stevefaulkner.github.io/html5doctored/html5-seo-search-engine-optimisation/

* multiple H1s have always been valid

* for a homepage showing a list of articles, using H1 for each
article heading is fine, as is H2

* check how it looks with CSS disabled

For WAI-ARIA, the HTML5 spec has a table of what the default implied.ARIA semantic is for each relevant element:

http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html#wai-aria

For example, H1 has the default implied ARIA semantic of “heading role, with the aria-level property set to the element’s outline depth”.
So you could theoretically use <h1 aria-heading=”2″> for your article headings.
However if you’re going to do that, I think you
should just use H2s. I personally use ARIA roles to supplement
HTML’s native ones only when needed.

You can read more about document outlines here:
https://stevefaulkner.github.io/html5doctored/outlines/

TL;DR as long as you’re not gaming the system (doing dodgy stuff for better SEO) you’re fine. However if it’s just as easy to do, we
recommend using appropriate levels (H1, H2, H3 etc), at least
until things like screen readers catch up.

HTH

peace – oli studholme
@boblet

]]>
By: Olly Hodgson https://stevefaulkner.github.io/html5doctored/your-html5-questions-19/#comment-28861 Mon, 20 Aug 2012 14:36:39 +0000 http://html5doctor.com/?p=4733#comment-28861 @Lawrence Cope: Easy – change your doctype to the new one (<!DOCTYPE html>) and you’re now using HTML5. You don’t have to use any of the new elements, features or APIs until you and your customers are ready to do so. I wrote a bit more on this some time ago.

]]>
By: Laurence Cope https://stevefaulkner.github.io/html5doctored/your-html5-questions-19/#comment-28850 Fri, 17 Aug 2012 09:47:05 +0000 http://html5doctor.com/?p=4733#comment-28850 Hi. Yes I have a question, most HTML5 advocates seem to avoid!

How can we use HTML5 considering may corporates and public bodies would have older browsers (e.g. IE7) and possibly Javascript turned off? I would guess that’s thousands of people in the UK.

We don’t use HTMl5 yet because we have not found an IE7/non-JS way of doing it, and we would like our customers websites to be accessible to everyone.

Thanks

]]>
By: Tim Arnold https://stevefaulkner.github.io/html5doctored/your-html5-questions-19/#comment-28844 Wed, 15 Aug 2012 16:50:36 +0000 http://html5doctor.com/?p=4733#comment-28844 I know this is nit-picky, but shouldn’t the heading tags in each of those articles in the poem also be H1s? I believe that both SECTION and ARTICLE tags create a new outline node. Is there an advantage or disadvantage to using H1 vs. H2?

]]>