Problem

The Sky theme uses the <h2> tag for its hero block. However, it's the page title so a <h1> is more appropriate. In addition this is also what's used in the default Open Social flavour.

Solution

Change the Sky hero title tag to <h1> instead.

Comments

Kingdutch created an issue. See original summary.

tdnshah’s picture

Assigned: Unassigned » tdnshah
raunak.singh’s picture

Hi @tdnshah,
Please unsigned yourself if you are not working on this issue so others can pick this ticket
Thanks

tdnshah’s picture

Assigned: tdnshah » Unassigned
raunak.singh’s picture

Assigned: Unassigned » raunak.singh
raunak.singh’s picture

Assigned: raunak.singh » Unassigned
Issue tags: +Needs steps to reproduce

Hi @Kingdutch,
I am not able to reproduce this issue can you please add some screenshot or steps to reproduce this issue.
Thanks

Swapnil_Kotwal’s picture

StatusFileSize
new2.63 KB
Swapnil_Kotwal’s picture

Issue was not able to reproduce at my end...but still made changes...dont know will that work... Kindly review

Swapnil_Kotwal’s picture

Status: Active » Needs review
kingdutch’s picture

Project: Open Social » Social Blue
Version: 8.x-9.x-dev » 1.1.x-dev
Component: Front-End » Code
anjali rathod’s picture

StatusFileSize
new94.7 KB

I think it is an issue for the base theme, the title for hero block in the twig file uses
tag but the class given to it is h2 .
@Kingdutch please provide more context and screenshots of your issue.

roberttabigue’s picture

Status: Needs review » Needs work

Hi @Kingdutch,

Moving this to "Needs work" and please provide more context and screenshots of your issue, please.

Thank you.

agamich’s picture

Status: Needs work » Closed (outdated)

Hey everyone, currently HTML tag for the title on the hero banners was changed to H1.
You can see a couple of theme MRs:
https://git.drupalcode.org/project/socialblue/-/commit/acc92bda94da32b94...
https://git.drupalcode.org/project/socialblue/-/commit/ba9b86f657c3937f3...