Headings

Back to Overview
00:00 --> 00:08
Moving to headings. Headings are super important. So important that in the...

00:12 --> 00:19
Headings are super important. They are so important that in the page structure tutorials,

00:19 --> 00:26
they got their own page. And this is because many people use them for navigation,

00:26 --> 00:33
but also to understand what's actually going on on the website. So what are headings? Headings

00:34 --> 00:41
are basically summaries of what comes after them. So for example, here headings is the heading

00:43 --> 00:51
of this page. So this is the rank level one heading, so the most important heading. And then

00:53 --> 01:01
you go through and you go have headings level two, level three, level four. And just FYI, I use rank

01:01 --> 01:08
and level interchangeably. They mean the same thing. I think ranks is a little bit easier to

01:08 --> 01:17
understand. So I try to use that language. So basically, a rank one heading is the highest

01:17 --> 01:29
rank and then you have second rank, third rank, fourth rank, fifth rank headings. And in HTML,

01:29 --> 01:40
it goes down until heading rank six or heading level six. And that is basically how you want to,

01:40 --> 01:46
to structure it. So if you have headings here, if heading ranks here, this would be in H2,

01:46 --> 01:56
Then you have exceptions, which would be H3. Then this goes back one rank to be on the same rank as heading ranks.

01:57 --> 01:57
So this would be an H2, this would be an H2, would be an H3 again

02:16 --> 02:23
Help me, like here we have the table of contents and that is basically generated from those heading levels.

02:23 --> 02:23
So as I have read them, H2, H3, H2, H2, H3, H

02:46 --> 02:49
That jumps them directly to the first heading on the page.

02:50 --> 02:55
And then they can press H more to go to the next headings.

02:55 --> 03:09
And if it's nested nicely, it will be announced to them and they can get a better image of like the organization of the website, especially if it is like a complicated website.

03:13 --> 03:22
Quickly look at the success criteria that apply to headings.

03:22 --> 03:24
They're pretty simple, I think.

03:25 --> 03:34
Just when you're using headings, you need to make sure that the headings and the labels, headings and labels is the success criterion we're talking about.

03:35 --> 03:38
But now we're talking about headings first and foremost.

03:39 --> 03:41
That headings and labels describe topic or purpose.

03:41 --> 03:57
So it's not allowed to have a heading that just is big text and says like sale and then there's no sale information underneath it or there are no items for sale underneath it.

03:57 --> 04:10
So it's not meant to mean big and, you know, with a lot of like big text and attention grabbing or something like that.

04:10 --> 04:18
A heading is there to describe a section on the page, the topic or purpose of that section.

04:18 --> 04:21
And the second one is section headings.

04:21 --> 04:23
And this is a AAA success criterion.

04:24 --> 04:28
And that basically says you need to use headings to organize the content.

04:28 --> 04:35
You don't need to do that if you're only going to level AA.

04:37 --> 04:45
And as you have seen, there is no requirement to have headings strictly adhering to a level.

04:46 --> 04:55
But what I recommend and what you should be doing, no, this is the right page.

04:57 --> 05:07
What you should be doing is making sure that when you go down from H1 to H2 to H3, that this is consistent and you don't jump around.

05:07 --> 05:17
You don't go from H2 to H5 because that would mean that somewhere in there, like, order is lost.

05:18 --> 05:21
But you can, when you go through, you go to H5 down.

05:21 --> 05:31
You can then go up two levels to H3 because that basically just means, like, oh, you're not in that subsection of a subsection of a subsection.

05:32 --> 05:34
And that's what I would recommend.

05:34 --> 05:42
But if you're testing against WCAG, you don't need to be super strict about that.