Topic 11 · SEO

Semantic HTML and accessibility

Semantic, accessible HTML serves screen readers, crawlers and AI agents at the same time. This topic covers structural elements, text alternatives, color contrast and keyboard navigation.

Priority
Important
Applies to
All sites
Practical guides
15 written out of 15
0/15 done

Free, no account: your progress is saved in this browser.

Download this topic (PDF) 4 pages · 85 KB

Where to start

Three checks with a strong effect, doable before the rest.

  1. 11.01 Use header, main, nav, article and footer appropriately Easy · 1 to 3 h
  2. 11.05 Provide ALT text for informative images Easy · 30 min to 2 days
  3. 11.15 Test with axe, WAVE or Lighthouse Easy · 1 to 3 h, then ongoing

The 15 checks of this topic

Click a check to read its guide. Tick the box once it is verified on your site.

Who
Difficulty

1Structure the HTML

0/5 done
  1. 11.01
    Use header, main, nav, article and footer appropriately

    Structure each template with header, nav, main, article, aside and footer, with no duplicates or misuse, on WordPress, Shopify, Webflow, Laravel or Next.js.

    Who: Developer

    Easy 1 to 3 h
  2. 11.02
    Use elements suited to the content

    Mark up headings, paragraphs, quotations, dates, figures, code and definitions with the intended HTML element, in your CMS editor and in your templates.

    Who: Developer Writer

    Easy 2 h to 2 days
  3. 11.03
    Structure tables and lists with native elements

    Mark up data tables with caption, thead and th scope, and lists with ul, ol, li or dl, with no layout tables and no hand-typed lists.

    Who: Developer Writer

    Easy 1 to 4 h
  4. 11.04
    Distinguish action buttons from navigation links

    Use an a href link to go to a page and a button to act on the page, each with a clear name, in your themes, page builders and components.

    Who: Developer

    Easy 1 h to 1 day
  5. 11.11
    Check DOM reading order

    Check that the order of the HTML follows the visual and logical order of the page; fix order, flex-direction, grid and tabindex in the CSS, CMS or framework.

    Who: Developer

    Intermediate 1 to 4 h

2Describe images and media

0/3 done
  1. 11.05
    Provide ALT text for informative images

    Write the alternative text for informative images, image links and charts, then enter it in WordPress, Shopify or your code.

    Who: Writer Developer

    Easy 30 min to 2 days
  2. 11.06
    Use empty ALT for decorative images

    Mark decorative images with an empty alt, CSS or aria-hidden so that screen readers and crawlers ignore them, in your CMS or your components.

    Who: Developer Writer

    Easy 30 min to 1 day
  3. 11.13
    Provide text alternatives for media

    Add captions, transcripts, iframe titles and text summaries to videos, podcasts, maps and charts, on YouTube, WordPress, Shopify, Laravel or Next.js.

    Who: Writer Developer

    Intermediate 30 min per media item, then ongoing

3Keyboard, forms and contrast

0/5 done
  1. 11.07
    Check color contrast

    Measure the contrast of text, buttons and icons against the WCAG 4.5:1 and 3:1 thresholds, then fix the color palette of your theme or CMS.

    Who: Developer Marketing

    Easy 1 h to 1 day
  2. 11.08
    Test keyboard navigation

    Go through your pages with the keyboard using a test grid, then fix invisible focus, illogical order, keyboard traps and inaccessible menus.

    Who: Developer

    Intermediate 2 h to 3 days
  3. 11.09
    Check form labels

    Associate a label element with every form field in HTML, WordPress, Shopify, Drupal, Laravel or Next.js, then check the accessible name of each field.

    Who: Developer Writer

    Easy 1 to 3 h
  4. 11.10
    Use ARIA when necessary

    Use ARIA only when native HTML falls short: menus, tabs, dynamic messages, current page. Templates for WordPress, Shopify, Laravel and Next.js.

    Who: Developer

    Intermediate 2 h to 2 days
  5. 11.12
    Avoid information available only on hover

    Make tooltips, menus and details shown on hover reachable by click, touch and keyboard, on WordPress, Shopify, Laravel or Next.js.

    Who: Developer Writer

    Intermediate 1 h to 1 day

4Test compliance

0/2 done
  1. 11.14
    Check applicable WCAG guidelines

    Determine the standard and the WCAG 2.2 success criteria that apply to your site, audit a sample of pages and produce a usable conformance checklist.

    Who: Developer Executive Writer

    Advanced 2 to 5 days
  2. 11.15
    Test with axe, WAVE or Lighthouse

    Test accessibility with Lighthouse, axe DevTools and WAVE, read the results, sort the fixes and automate checks with axe-core, Pa11y CI or LHCI.

    Who: Developer Writer

    Easy 1 to 3 h, then ongoing