Skip to content

Commit

Permalink
feat: Heading landmark accessibility on certification redirect page
Browse files Browse the repository at this point in the history
  • Loading branch information
kriscooke committed Aug 28, 2020
1 parent c72b67b commit 00ebf3d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
7 changes: 6 additions & 1 deletion app/pages/certifier/certification-redirect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class CertificationRedirect extends Component<Props> {
{certificationUrl ? (
<Row>
<Col md={{offset: 3, span: 6}}>
<h3 className="blue">Your certification is requested.</h3>
<h2 className="blue">Your certification is requested.</h2>
<p>
<strong>{`${firstName} ${lastName}`}</strong> on behalf of{' '}
<strong>{organisationName}</strong>, for facility{' '}
Expand Down Expand Up @@ -133,6 +133,11 @@ class CertificationRedirect extends Component<Props> {
) : (
'Invalid certification URL'
)}
<style>{`
h2 {
margin-bottom: 20px;
}
`}</style>
</DefaultLayout>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ exports[`Login redirect page It matches the last accepted Snapshot 1`] = `
}
}
>
<h3
<h2
className="blue"
>
Your certification is requested.
</h3>
</h2>
<p>
<strong>
Old MacDonald
Expand Down Expand Up @@ -69,5 +69,12 @@ exports[`Login redirect page It matches the last accepted Snapshot 1`] = `
</Col>
</Col>
</Row>
<style>
h2 {
margin-bottom: 20px;
}
</style>
</Relay(DefaultLayout)>
`;

0 comments on commit 00ebf3d

Please sign in to comment.