Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
During the drupal installation, each page has a title wrapped into an "h1" heading. This title is shown just before the drupal logo.
My proposal is to place it after the "installation tasks", right before the page content, as it was in D7. In my opinion this could let a blind user to find easier the main page content...
Any thoughts?
Comments
Comment #1
mgiffordIt would be useful to see the html before & after to be able to see the change. If it's a regression it's going to be a higher priority to fix.
Why would it make it easier for blind users? I'm assuming because it's easier to navigate between headings & that by having it over the main page content (like is the default for most Drupal pages), you can jump right to the content after navigating to that section.
Comment #2
falcon03 CreditAttribution: falcon03 commentedHi Mgifford,
that's right: your assumptions are totally correct!
Well, I tried to check drupal 7 installation process and (if memory isn't leaving me) sometimes has changed between drupal 7 maintenance releases: with drupal 7.15 the installation process has the same drupal 8 installation issues; but I remember that the first time I installed drupal I didn't notice this issue...
Comment #3
mgiffordI just checked in D7 and the H1 also comes before
<div id="page">
so it's not a regression.However, it is inconsistent with the Drupal themes & logic in general. This page for example has the H1 tag at the beginning of the content.
I think this just needs some pretty basic HTML changes and some CSS modifications to see that it all looks consistent.
I'm not sure that it's major though compared to other accessibility issues in the queue.
Comment #4
mgiffordSo I looked into this briefly on the plane and thought it boiled down to the maintenance-page.html.twig file in Seven:
Which was coming from theme.inc
but now I'm on the ground it's clear install-page.html.twig is being called as the source looks like:
I've got concerns with how the install-page.html.twig is so much different than the maintenance-page.html.twig files in system, bartik & seven.
It's not really a huge deal to have 2 H1 headers I don't think, but when there are only 2 headers it's a bit silly. Also, surely it the would be better if the header H1 should be
<header><h1>Drupal Installation</h1></header>
and the stage should be<h2>Choose language</h2>
.Having 2 H1's is at least consistent with system/templates/maintenance-page.html.twig
@falcon03, can you look again at this since #1337554: Develop and use separate branding for the installer rewrote this all.
Comment #5
mgiffordSo right now there are two h1's. One for the header for the site in general:
Another for the section of the install you're presently on:
We can bring it down to one H1 per page, but probably not till 8.1.x at this stage.
Comment #6
jhedstromFeature request => 8.1.x.
Comment #20
smustgrave CreditAttribution: smustgrave at Mobomo commentedMoving to outdated since there hasn't been movement since it was marked PNMI 8 years ago
If you still feel it's an issue please reopen with an updated issue summary.