fix: #3622934 Put the main content of the pages in a main landmark

Closes #3622934

  • Gives the main content section of the default page layout the role="main" attribute, so every page has a main landmark.

Checked on Drupal 11.4 with PHP 8.4 (DDEV, Website Starter site template): /, /blog and /form/contact render the main content section with role="main", and the navbar and footer stay outside it.

Checkpoints

  • Commit message follows the Drupal commit-type format
  • Tested locally
  • Reviewed by a maintainer

AI-Generated: Yes

Edited by Rajab Natshah

Merge request reports

Loading
Loading