Closed leonp closed 7 months ago
Hey Leon, thanks for the suggestion.
Both options are technically valid. Your suggestion makes sense, but changing the structure of the HTML will break stylesheets for all users who've used the selector .title h1
and similar.
There is very minimal to negligible upside in changing the format, but unfortunately a lot of downsides. The current setup has been tested to work with all major screen readers as well, so we're good on that front.
HI!
The markup for the blog title and the link back to the home page is:
While this is valid HTML, as
a
is an inline element, does it make more sense to put it within theh1
?This CSS would ensure the link fills the space of the whole
h1
:Also wondering whether this affects how a screen reader relays the page?
Thanks,
Leon