Skip to content

Commit

Permalink
attempt to fix icon accessibility
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Oct 31, 2024
1 parent f839362 commit e0fb571
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions public/javascripts/mapSearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
</td><td class="has-text-centered">
${map.mapLatitude && map.mapLongitude
? `<span data-tooltip="Has Geographic Coordinates">
<i class="fas fa-map-marker-alt" aria-label="Has Geographic Coordinates"></i>
<i class="fas fa-map-marker-alt" role="img" aria-label="Has Geographic Coordinates"></i>
</span>`
: ''}
</td><td class="has-text-centered">
${(map.mapSVG ?? '') === ''
? ''
: '<span data-tooltip="Has Image"><i class="fas fa-image" aria-label="Has Image"></i></span>'}
: '<span data-tooltip="Has Image"><i class="fas fa-image" role="img" aria-label="Has Image"></i></span>'}
</td><td class="has-text-right">
<a href="${los.urlPrefix}/lots?mapId=${map.mapId}">${map.lotCount}</a>
</td>
Expand Down
4 changes: 2 additions & 2 deletions public/javascripts/mapSearch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,15 @@ declare const exports: Record<string, unknown>
${
map.mapLatitude && map.mapLongitude
? `<span data-tooltip="Has Geographic Coordinates">
<i class="fas fa-map-marker-alt" aria-label="Has Geographic Coordinates"></i>
<i class="fas fa-map-marker-alt" role="img" aria-label="Has Geographic Coordinates"></i>
</span>`
: ''
}
</td><td class="has-text-centered">
${
(map.mapSVG ?? '') === ''
? ''
: '<span data-tooltip="Has Image"><i class="fas fa-image" aria-label="Has Image"></i></span>'
: '<span data-tooltip="Has Image"><i class="fas fa-image" role="img" aria-label="Has Image"></i></span>'
}
</td><td class="has-text-right">
<a href="${los.urlPrefix}/lots?mapId=${map.mapId}">${map.lotCount}</a>
Expand Down

0 comments on commit e0fb571

Please sign in to comment.