Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
The current implementation of
base.html
template doesn't allow us to customize the link on thebranding_topbar
, only the logo.Additional context
We received information form our accessibility regulation national agency that our site was not compliant. One of the things they highlighted is that the homepage
h1
does not have enough context and that It would be more relevant to have it associated with the page branding (the top logo).The suggestion is to only have a "Go back to main page" link if you're not on the main page. Also, if you're on the main page, you should see the
h1
around the image.If you want to, you can use a different strategy:
The
<a>
should only be present when you're not on the main page. Theh1
is then replaced witha
.Proposal
Add a new block to host the site image and move the previous one to the outer block.
This will allow us to override the
branding_topbar
and the outer link behaviour for a11y purposes.