Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/map/network-pin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ export function NetworkPin({ id, name, city, longitude, latitude, onClick }: Net
<button
className="group flex flex-col items-center focus:outline-none cursor-pointer"
aria-label={`View ${name} network in ${city}`}
onFocus={() => setShowTooltip(true)}
onBlur={() => setShowTooltip(false)}
>
<div className="relative">
{/* Pin head */}
Expand Down
2 changes: 2 additions & 0 deletions src/components/map/stations/station-pin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ export const StationPin = memo(
<button
className="group flex flex-col items-center focus:outline-none cursor-pointer"
aria-label={`View station ${cleanName}`}
onFocus={() => setShowTooltip(true)}
onBlur={() => setShowTooltip(false)}
>
<div className="relative">
{/* Pin head */}
Expand Down