Add aria-label to Globe markers
This commit is contained in:
@@ -131,7 +131,7 @@
|
||||
<ul class="globe__markers">
|
||||
{#each markers as { name, slug, country, lat, lng }}
|
||||
<li class="globe__marker" data-location={slug} data-lat={lat} data-lng={lng}>
|
||||
<a href="/{country.slug}/{slug}" data-sveltekit-noscroll
|
||||
<a href="/{country.slug}/{slug}" aria-label={name} data-sveltekit-noscroll
|
||||
on:mouseenter={() => hoveredMarker = { name, country: country.name }}
|
||||
on:mouseleave={() => hoveredMarker = null}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user