Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add HTML semantics #1742

Merged
merged 9 commits into from
Nov 28, 2024
9 changes: 8 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,8 @@ const Landing = () => {

{/* Login buttons */}
<Button
type="button"
role="button"
ngunner15 marked this conversation as resolved.
Show resolved Hide resolved
onClick={() => { signIn(LoginProviders.IDIR); }}
size="md"
renderIcon={Login}
Expand All @@ -95,6 +100,8 @@ const Landing = () => {
</Button>

<Button
type="button"
role="button"
kind="tertiary"
onClick={() => { signIn(LoginProviders.BCEID_BUSINESS); }}
size="md"
Expand All @@ -111,7 +118,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
Loading