Skip to content

Commit

Permalink
add id to h1 in cdcp-apply page (#1008)
Browse files Browse the repository at this point in the history
  • Loading branch information
will0684 authored May 1, 2024
1 parent de47990 commit d58fd39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion components/organisms/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ export const Layout = ({
data-cy-button={"skip-Content"}
draggable="false"
aria-label={t("skipToMainContentBtn")}
></a>
>
{t("skipToMainContentBtn")}
</a>
</nav>
<header>
<h2 className="sr-only">{t("globalHeader")}</h2>
Expand Down
5 changes: 4 additions & 1 deletion pages/cdcp-apply.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ export default function CDCPLanding(props) {
<p className="mt-12 text-multi-neutrals-grey85">
{t("cdcp.secondaryHeading")}
</p>
<h1 className="mt-0 mb-8 pb-2 border-b border-multi-red-red50a">
<h1
id="pageMainTitle"
className="mt-0 mb-8 pb-2 border-b border-multi-red-red50a"
>
{t("cdcp.primaryHeading")}
</h1>
</div>
Expand Down

0 comments on commit d58fd39

Please sign in to comment.