[SG-39291] Accessibility: Multiple H1 tags on Repository Page
Created by: gitstart-sourcegraph
Description
There are multiple <H1/>
elements: the Sourcegraph logo in the navigation bar, and the page title, which produces a warning in ARC Toolkit in the following pages::
Repository detail page Repository Commits Page Repository Compare Page
Expected Behaviour
The page title should be an <H2/>
, but retain the current style.
All other <H2/>
s on the page should be downscaled to <H3/>
, but retain their current styles.
No warnings are reported under ARC Toolkit's "Structure and Semantics" tests.
Refs
SourceGraph Issue GitStart Issue
Test Plan
Navigate to the above listed pages and ensure that we only have one instance of h1
and h2
on each of the pages respectively.
App preview:
Check out the client app preview documentation to learn more.