Website Menu Accessibility

by | Jan 23, 2023

Heading Order

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.
When you’re 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).
If you have been selecting headings for design, you’re 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’re building websites this way, it’s something that you will want to audit for and fix as part of your development process.

Why does heading order matter?

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’t 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.
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’s Manual.
HeadingsMap chrome plugin showing the headings on the TAB home page.png
This is the structure of that portion of the page:
  • H1 Voted The #1 WordPress Community (Two Years Running!)
    – H2 Events
    – H3 Kevin Powell Talks WordPress!
    – H3 Optimizing Live with Perfmatters
    – H3 New TAB Site Teardown
    – H2 The PodcastH3 Pros & Cons of Switching to Blocks
    – H3 Scaling Your Agency
    – H3 Raise the Flag!
    – H2 Sell More Care Plans
What stands out to me here is that if you just heard the names of the events or the podcast episodes, you would have no idea if one was a podcast episode or an event. “New TAB Site Teardown” or “Scaling Your Agency” could just as easily be either an event or a podcast episode. For that matter, “Sell More Care Plans” could also be the name of an event or a podcast episode.
If you can’t see the section layout, the only way you know that these are different sections is if you hear the heading numbers read out to you. When hearing “Heading level two. The Podcast,” it provides important context to what follows. And likewise, when you hear “Heading level two. Sell more care plans” after hearing a list of H3s, you instantly know that you’re in a different section and no longer hearing podcast titles.
(Side note shout out to Kyle for putting that podcast H2 above the podcast episodes in the HTML so that it reads out in the correct order even though it’s visually on the right. 🙌)

Make Fewer Things Headings for the Win

If something doesn’t have any sub-content below it, then it’s not a heading. This would include blog post titles in a list of posts without an excerpt or large accent text.
Because us headings to jump to sections, it is really frustrating to jump to a heading expecting more below it and then get nothing – or just another heading.
Likewise, the small accent text that designers like to put above the large headings? It’s probably not a heading at all and should be wrapped in a <p> tag and styled with a class. Or, in other cases, that tiny text is actually more meaningful and should be the H2 which the large text below it should actually not be a heading at all.

How to Check Heading Level

My favorite front-end tool for viewing an outline of the headings on the page and making sure they’re all correctly nested is the HeadingsMap Chrome extension (there’s a Firefox extension too). And, of course, our Accessibility Checker plugin will flag out-of-order headings for you too.
Fixing incorrect heading levels is generally just as easy as finding them because most of these are added in the content editor or page builder. Build the habit of only using headings in proper order and your website visitors with thank you. Bonus: it helps Google understand your page content too.

Designing a website with SEO in mind is crucial for improving its visibility in Google searches. Here are some key aspects to consider for optimizing your website design for SEO:

### 1. **Keyword Research and Implementation**
– **Conduct Comprehensive Keyword Research**: Identify relevant keywords and phrases your target audience is searching for. Use tools like Google Keyword Planner, SEMrush, or Ahrefs.
– **Strategic Placement**: Integrate these keywords naturally throughout your website, including in titles, headings, meta descriptions, and body content.

### 2. **Responsive Design**
– **Mobile-Friendly**: Ensure your website is optimized for mobile devices as Google uses mobile-first indexing. Responsive design makes your site accessible and functional on both desktop and handheld devices.

### 3. **Site Structure and Navigation**
– **Logical and Intuitive Structure**: Organize content using a clear, hierarchical site structure. This helps search engines understand the organization of your content and improves user experience.
– **Breadcrumbs and Internal Linking**: Use breadcrumbs and a robust internal linking strategy to enhance navigation and authority distribution across your pages.

### 4. **Page Speed Optimization**
– **Fast Loading Times**: Optimize images, leverage browser caching, and minimize HTTP requests to improve page speed. Tools like Google PageSpeed Insights can help assess and improve load times.

### 5. **Content Quality and Originality**
– **High-Quality Content**: Regularly update your site with high-quality, original content that provides value to your audience. This engages users and encourages sharing and backlinking.
– **Content Freshness**: Updating content with the latest information can improve its relevance and ranking.

### 6. **Meta Tags and Descriptions**
– **Compelling Meta Descriptions**: Write concise and compelling meta descriptions that incorporate primary keywords to improve CTR (click-through rates).
– **Title Tags**: Ensure each page has a unique title tag that includes keywords and accurately describes the page content.

### 7. **Use of Headers and Formatting**
– **Proper Use of Headers**: Utilize header tags (H1, H2, H3, etc.) to structure content and highlight important information, making it easier for search engines to understand the hierarchy of your content.

### 8. **Optimized Media**
– **Alt Text for Images**: Add descriptive alt text to images using relevant keywords to improve image search ranking and accessibility.
– **Video Optimization**: If you use videos, ensure they’re properly optimized for fast loading and include transcriptions or captions.

### 9. **Secure and Accessible Website**
– **HTTPS**: Ensure your website runs on HTTPS to secure user data and improve trust and ranking signals to Google.
– **ADA Compliance**: Make sure your website is accessible to all users, which can also positively affect your SEO.

### 10. **XML Sitemaps and Robots.txt**
– **Submit an XML Sitemap**: Submit a sitemap to help Google understand the structure of your website and prioritize crawling.
– **Optimize Robots.txt**: Use the robots.txt file to guide search engines on which pages to crawl and index.

### 11. **Local SEO Considerations**
– **Google My Business**: Ensure your business is listed and updated on Google My Business if you target local audiences.
– **Local Keywords**: Include location-based keywords and create content relevant to your local audience.

By implementing these strategies, you’ll lay a strong foundation for your website to be more easily found and ranked by Google, ultimately increasing your site’s visibility and organic traffic.

Why Your Web Designer Should Be Using Figma

Overlooking the importance of utilizing design systems and tools like Figma in web design can greatly impact the success of your online presence. While many web agencies may not prioritize this, incorporating Figma into your web design process can provide numerous...

37 Ways to Level Up Your Design

Ever been working on a design that feels too plain? Let’s look at a few dozen simple ways to spice things up. Get ready to bookmark this page, because you’ll want to reference this list in the future. It’s unbelievable how many incredible pro-level designs feature...

Powering Creativity: Exploring the Pros of WordPress Page Builders

In today's digital age, building an eye-catching and functional website is crucial for businesses and individuals alike. WordPress, the popular content management system (CMS), offers a wide range of page builders to simplify the website creation process. In this blog...

ChatGPT: New OpenAI text generator is out of this world

The newly trained ChatGPT from Open AI has been released to much fanfare. No doubt you may have seen people on social media posting tests from it, or maybe a youtube video popped up on your feed. Well, AI is here and making a big statement with ChatGPT. What is the...