Skip to content

Commit

Permalink
feat: add HTML semantics (#1742)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngunner15 authored Nov 28, 2024
1 parent 9d1daf5 commit bd3d2fc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion frontend/src/views/Landing/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ const Landing = () => {
statusQueries.filter((query) => query.status === 'error').length > 0
? (
<ActionableNotification
role="alert"
aria-live="assertive"
className="dependency-notification"
kind="warning"
lowContrast
Expand All @@ -58,6 +60,7 @@ const Landing = () => {
SPAR&apos;s service is impacted due to server connection issue.
You can check the&nbsp;
<Link
role="link"
target="_blank"
to="/service-status"
>
Expand Down Expand Up @@ -85,6 +88,7 @@ const Landing = () => {

{/* Login buttons */}
<Button
type="button"
onClick={() => { signIn(LoginProviders.IDIR); }}
size="md"
renderIcon={Login}
Expand All @@ -95,6 +99,7 @@ const Landing = () => {
</Button>

<Button
type="button"
kind="tertiary"
onClick={() => { signIn(LoginProviders.BCEID_BUSINESS); }}
size="md"
Expand All @@ -111,7 +116,7 @@ const Landing = () => {
<Column className="seeding-img-column" sm={4} md={3} lg={6}>
<img
src={Seeding}
alt="Small green seedling on the dirt and watered"
alt="Spruce tree branches with needles and cones"
className="seeding-img"
/>
</Column>
Expand Down

0 comments on commit bd3d2fc

Please sign in to comment.