{"id":20115,"date":"2023-01-17T07:59:00","date_gmt":"2023-01-17T13:59:00","guid":{"rendered":"https:\/\/theadminbar.com\/?post_type=accessibility-weekly&p=20115"},"modified":"2024-02-10T07:00:38","modified_gmt":"2024-02-10T13:00:38","slug":"heading-order","status":"publish","type":"accessibility-weekly","link":"https:\/\/theadminbar.com\/accessibility-weekly\/heading-order\/","title":{"rendered":"Heading Order"},"content":{"rendered":"\n

One of the easiest accessibility improvements you can make to a website with big impact is adding headings to break up content and using them in the correct numerical order.<\/p>\n\n\n\n

When you\u2019re building websites, always use headings in the correct order to create a meaningful outline on the page. Never choose headings for their style (font, size, or color).<\/p>\n\n\n\n

If you have been selecting headings for design, you\u2019re not alone. Skipped heading levels – headings that jump from one number to another randomly, without following a logical order, are one of the most common problems we see in our accessibility audits. Incorrect heading order is also a problem in just about every template kit or off-the-shelf starter theme out there, so if you\u2019re building websites this way, it\u2019s something that you will want to audit for and fix as part of your development process.<\/p>\n\n\n\n

Why does heading order matter?<\/strong><\/h2>\n\n\n\n

Screen readers and other assistive technologies use headings to provide an outline of the page. There are keyboard shortcuts in screen readers that allow users to hear a list of all the headings on the page and then quickly jump to that specific section. In NVDA, for example, you can press the 2 key and have all H2s on the page read out to you. If the web page doesn\u2019t use any H2s and has skipped them but has H4s or H6s instead, a person might think there are no headings on the page or may not be able to get the information that they need fast enough.<\/p>\n\n\n\n

Additionally, the heading numbers are read out as a user goes down the page, and hearing the heading order can help augment their understanding of the content. The Admin Bar home page is a great example of this. There is one heading one that describes the purpose of the web page, then there is an events section with three event callouts, followed by a podcast section with three podcast episodes, followed by a callout section for the Website Owner\u2019s Manual.<\/p>\n\n\n\n

\"A <\/picture><\/figure>\n\n\n\n

This is the structure of that portion of the page:<\/p>\n\n\n\n