Skip to content

Commit

Permalink
Add aria label to loading icons
Browse files Browse the repository at this point in the history
  • Loading branch information
PetroSilenius committed Feb 14, 2022
1 parent 68f5ffe commit d501c69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const Home = ({ firstCompanies, initialResultsAmount }: HomeProps) => {
/>
{loading && offset === 0 ? (
<Grid container item alignItems="center" justifyContent="center" sx={{ marginY: '10vh' }}>
<CircularProgress />
<CircularProgress aria-label="Ladataan" />
</Grid>
) : (
<>
Expand Down Expand Up @@ -82,7 +82,7 @@ const Home = ({ firstCompanies, initialResultsAmount }: HomeProps) => {
Hae lisää
</Button>
) : (
<CircularProgress />
<CircularProgress aria-label="Ladataan" />
)}
</Grid>
)}
Expand Down

0 comments on commit d501c69

Please sign in to comment.