Problem/Motivation
The page_title
block placement on homepage does not seem relevant.
*Home* used to say *Recipes*. This was changed in a previous issue to set the page title to Home. However, the placement on the page of this element is designed to give a title to the specific section below, which is Recipes.
A h1 element may still be important on the home page around the system branding block. [CLARIFY: why?]
Proposed resolution
- Hide the page_title block on the front page using the block visibility config. Follow the approach in patch #7.
- Make sure that the "Recipes" heading is in the same location as a h2. This was originally proposed as #2996661: Add a heading & subheading for the Promoted section but @kjay mentioned that issue as described would not work for the proposed design, and would like that to be solved in this issue.
Create follow-up issues to...
- Address accessibility issues of the site branding block (accessible name of logo image link, focus-visible failure of site name link)
- Review whether having a h1 element on the front page is necessary, for accessibility or SEO.
Remaining tasks
- Fix code standards
- Review the patch
- Redo screenshots based on adding the Recipes heading back.
- remove the code changes which deal with the H1 in the branding block, it's out of scope for this issue.
- create the follow-up issues
User interface changes
We use block visibility settings for the page title on the front page, and adds view configuration. An update isn't necessary since this is the demo_umami profile.
Before
After
API changes
None
Data model changes
None