Skip to content

Commit

Permalink
Merge pull request #42 from Dataatti/accessibility-fixes
Browse files Browse the repository at this point in the history
Accessibility fixes
  • Loading branch information
PetroSilenius authored Feb 15, 2022
2 parents 8829273 + d501c69 commit ad91bc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import { Container, Divider, Grid, Link, Paper, Typography } from '@mui/material

const Header = () => {
return (
<Paper sx={{ color: 'common.black', bgcolor: '#F1F8FF' }}>
<Paper component="footer" sx={{ color: 'common.black', bgcolor: '#F1F8FF' }}>
<Container>
<Typography align="center" sx={{ p: '20px' }}>
Business Finlandin mukaan sertifiointi on laadun tae kansainvälisessä kaupassa.
Matkailualan monimuotoisuus on kuitenkin mahdollistanut sen, että myös sertifikaatin
tarjoajia on hyvin paljon. Ideana on tuottaa nyt hankalasti ja pirstoutuneena oleva tieto
yhteen paikkaan kaikkien toimijoiden avoimesti saataville.
</Typography>
<Divider sx={{ borderColor: 'common.black' }} />
<Divider sx={{ borderColor: 'common.black' }} aria-hidden="true" />
<Grid container justifyContent="space-around" sx={{ p: '10px' }}>
<Grid item>
<Link href="https://european-union.europa.eu/index_fi" color="inherit">
Expand Down
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

1 comment on commit ad91bc0

@vercel
Copy link

@vercel vercel bot commented on ad91bc0 Feb 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.