Loading
fix: #3625191 Set the Blog banner heading to level 1 so the page has an h1
The Blog Canvas page banner heading in content/canvas_page/02-blog.yml omitted the level input, and the vartheme_bs5:heading SDC declares level with default: 3. It rendered <h3 class="display-2 text-white">Blog</h3>, so the page had no h1. It was the only one of the five shipped Canvas pages missing a level 1 heading.
Issue: https://www.drupal.org/i/3625191
The change
One line added: level: 1.
Nothing changes visually. The SDC keeps semantic level and visual size separate, so text_size: display-2 still supplies the appearance.
Testing
Verified on a fresh Varbase Starter 1.0.x install on a drupal/cms base, audited anonymously with axe-core 4.10.2.
- Before:
/blogfirst headingH3, h1 count 0. - After:
<h1 class="display-2 text-white">Blog</h1>rendered at 48px, h1 count 1, and all eight audited routes at zero violations with colour rules excluded.
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
Edited by Rajab Natshah