Semantic markup and accessibility

Semantic markup is the use of HTML tags that convey the meaning and structure of the content on a web page. It is important for accessibility because it helps users with disabilities understand the content and navigate the page more easily. Here are some ways that semantic markup can improve accessibility:

  • Use Proper Headings

Using proper headings, such as

through

, can help users with screen readers or other assistive technologies understand the hierarchy and structure of the content on a page. Make sure to use headings in the correct order, with

being used for the main heading of the page, followed by lower-level headings for subheadings and sections.

  • Use Lists for Structured Content

Using lists, such as

    and
      , for structured content can help users understand the organization of the information and navigate the page more easily. Use list items
    1. to mark up each item in the list.

      • Use Appropriate Tags for Page Sections

      Using appropriate tags, such as

      ,