image alt attr in tile imagery and tag wiki info

This commit is contained in:
Milos Brzakovic (E-Search)
2021-11-29 19:31:58 +01:00
parent 02e92d9e38
commit a77840eb2a
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -198,6 +198,7 @@ export function rendererTileLayer(context) {
image.enter()
.append('img')
.attr('class', 'tile')
.attr('alt', '')
.attr('draggable', 'false')
.style('width', _tileSize + 'px')
.style('height', _tileSize + 'px')
+1
View File
@@ -53,6 +53,7 @@ export function uiTagReference(what) {
_body
.append('img')
.attr('class', 'tag-reference-wiki-image')
.attr('alt', docs.description)
.attr('src', docs.imageURL)
.on('load', function() { done(); })
.on('error', function() { d3_select(this).remove(); done(); });