Main, Section and Aside in Divi 5: Choose the Content Role

By Interactive OnlinePublished Updated Editorial draft

Quick Answer

Use main for the document’s primary content, section for a meaningful topic grouping and aside for related supplementary content. In Divi 5, choose the HTML element from that purpose, then inspect the surrounding template. A builder row or column is a layout choice and does not determine its semantic role.

A sidebar can contain essential content. A note in the middle of a page can be supplementary. Location helps a designer arrange the page, while the content’s relationship determines the HTML structure.

Identify the main content already present

MDN’s main reference describes the document’s dominant content and specifies that a document must not have multiple main elements without the others being hidden. Inspect the rendered template before adding another one inside a page-builder layout.

The primary region may hold an article, a service description or a contact task. Shared navigation and site-wide footer information normally have other places in the document. Make the main-content decision at the page/template level so individual content authors do not create competing wrappers.

Use section for a meaningful topic

A section groups content around a recognizable subject. A service page might have a scope section followed by a process section, each introduced by a useful heading.

The MDN section reference distinguishes a thematic grouping from a generic container. Use a neutral wrapper when the only purpose is spacing, a background color or a scripting hook.

Choose headings from the content hierarchy. Nested visual containers do not require a new heading at every level, and a tag change does not correct an unclear heading outline.

Use aside for related supplementary material

MDN’s aside reference describes content indirectly related to the surrounding content. A related-reading panel can fit that role. Required instructions for completing a purchase should remain part of the relevant primary task.

Ask whether the page’s main explanation or task remains understandable without the material. That question helps the editor identify supplementary content, but still review the actual relationship and context.

Keep the reading order understandable when the narrow layout moves supplementary material below the article. The visitor should not need a visual sidebar position to understand what the content means.

Assign the element in Divi deliberately

Elegant Themes’ Divi semantic-element guide documents the Element Type control for modules and containers. Confirm the available setting in the installed version and choose it after reviewing the page structure.

  1. Identify which template or component supplies the existing primary region.
  2. Map meaningful content groupings and supplementary material.
  3. Set the appropriate wrapper on the intended element, avoiding competing inner controls or regions.
  4. Inspect the output and check headings, region names and reading order.

If you save that decision in a preset, name the purpose and document where it belongs. The semantic preset guide explains why one default role for all generic columns can spread mistakes.

Review the whole document

A builder screenshot shows visual organization. Use the rendered document and accessibility structure to confirm what visitors and assistive technologies receive. Review the shared header and footer too, using the header/footer element guide where relevant.

Correct regions support navigation, while content quality, keyboard behavior and other accessibility requirements remain separate work. A semantic tag selection does not certify the page or guarantee a search result.

Key Takeaways

  • Check the existing primary region before adding main.
  • Give section a content purpose beyond visual styling.
  • Choose aside from the content relationship rather than its position.
  • Verify the complete rendered structure and reading order.

Frequently Asked Questions

Is every Divi section an HTML section?

No. The builder’s layout container and its HTML wrapper are separate decisions. A purely visual grouping can remain a neutral container.

Does aside have to appear in a sidebar?

No. It describes supplementary content and can appear in different visual positions. The relationship to the main content determines its role.

Should every page-builder column become main?

No. Inspect the existing page/template structure and identify the document’s primary content region. Repeated main wrappers are not a suitable column default.

For an established template library, include representative pages and shared components in a website audit before changing semantic defaults.

Archives