fix: #3637711 The default page layout prints the page title in a span, so a node page has no h1

Issue: https://www.drupal.org/node/3637711

The default page layout placed the page title source straight in its main section. Display Builder 1.0.0-beta10 prints that source as the title text only, in a <span> (upstream #3621589), so a node page had no h1. The layout now puts the title in the Heading component (ui_suite_uikit:heading), level 1, as webtheme and UIkit Admin do, and composer.json conflicts with the Display Builder releases before 1.0.0-beta10, whose page title prints an h1 of its own. The recipe job counts one h1 on /support, and the accessibility feature checks the Support page and the page not found page.

Proof: on webship12, with the layout imported on its own, curl -s https://webship12.ddev.site/support | grep -c '<h1' went from 0 to 1, and 06-accessibility.feature "A node page has its structure" passes (Expected 1 <h1>, found 0. before).

Not part of this change: /products and /form/contact in the same accessibility feature still fail on Heading hierarchy skips 1 level(s) (h1, then h3), which the missing h1 hid.

AI-Generated: Yes

Checkpoints:

  • File an issue
  • Addition/Change/Update/Fix
  • Testing to ensure no regression
  • Automated unit testing coverage
  • Automated functional testing coverage
  • UX/UI designer responsibilities
  • Readability
  • Accessibility
  • Performance
  • Security
  • Developer Documentation
  • User Guide Documentation
  • Reviewed by human
  • Code review by maintainers
  • Full testing and approval
  • Credit contributors
  • Review with the product owner
  • Release notes snippet
  • Release

Merge request reports

Loading
Loading