WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Headings: requirements vs best practices


From: Patrick H. Lauke
Date: Jun 21, 2016 5:19PM

On 22/06/2016 00:04, Olaf Drümmer wrote:
> Right, and the <title> tag goes in the head.
> But how does the <title> title relate to the <h1> title, if at all? Which roles does <title> play? Does WCAG or anything else mandate anything about it? The <title> tag used to show up in the document window title, but these days document window titles are often gone (definitely on mobile devices, and in tabbed window browsers they have become pretty useless once several tabs are there).

But AT will still announce them when, say, switching between tabs. For
this reason (as well as those mentioned by John Foliot) I'd say it's
still relevant, in light of 2.4.2 Page titled.

Ideally, <title> and <h1> should be complementary/reinforce each other.
<title> would often include more information (e.g. the actual section of
the site you're in, as well as the actual site name), so it's not really
a case of both having to have exact same content - just (as a best
practice) that they shouldn't contradict each other, I'd say...

Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke