skip to Main Content

Html – There should be only one H1 heading on a single page

I was told by the accessibility team that there should be only one H1 on a single page. Ref on the internet: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements#avoid_using_multiple_h1_elements_on_one_page Then I saw this implementation in one of our repos. <h1 tabindex=0 style="invisible">The website name</h1> <h1 tabindex=-1>form…

VIEW QUESTION
Back To Top
Search