Skip to content

Commit

Permalink
Improve accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawajs committed Nov 13, 2024
1 parent 1e0746d commit 465b45c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/nursery-nav/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
<script async type="module" src="/src/index.tsx"></script>
</body>

</html>
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default function ListComponent({ defaultVoivodeship, defaultCity }: ListC
</Stack>
</Paper>
</Box>
<List component="section" style={{ overflowY: 'auto', height: '72vh' }}>
<List component="ul" style={{ overflowY: 'auto', height: '72vh' }}>
<InfiniteScroll
pageStart={0}
loadMore={fetchInstitutions}
Expand Down
2 changes: 1 addition & 1 deletion src/nursery-nav/src/components/MapPin/MapPin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export default function MapPin(props: MapPinProps) {

return (
<Marker
aria-label={`Details for ${institutionType} with ID ${props.id}`}
eventHandlers={{
click: () => {
navigate(generatePath(PathConstants.INSTITUTION_DETAILS, { id: props.id }));
Expand All @@ -54,6 +53,7 @@ export default function MapPin(props: MapPinProps) {
iconSize: [30, 30],
className: 'map-pin-div-icon',
})}
title={`Szczegóły dla ${institutionType} o ID ${props.id}`}
>
</Marker>
);
Expand Down

0 comments on commit 465b45c

Please sign in to comment.