File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ function buildHtml(citations) {
41
41
var date = ( citation [ "pub_year" ] ) ? " Published " + citation [ "pub_year" ] + "" : "" ;
42
42
// default ESIP formatting has trailing period after DOI
43
43
var link = ( citation [ "doi" ] ) ? citation [ "doi" ] . slice ( 0 , - 1 ) : "https://portal.edirepository.org/nis/mapbrowse?packageid=" + citation [ "pid" ] ;
44
- var title = '<a rel="external noopener" href="' + link + '" target="_blank">' + citation [ "title" ] + '</a>' ;
44
+ var title = '<a rel="external noopener" href="' + link + '" target="_blank" aria-label="open data in new tab" >' + citation [ "title" ] + '</a>' ;
45
45
var row = '<p><span class="dataset-title">' + title +
46
46
'</span><br><span class="dataset-author">' + authors + date +
47
47
'</span></p>' ;
@@ -131,7 +131,7 @@ function buildCitationsFromPasta(pastaDocs) {
131
131
link = ( "https://portal.edirepository.org/nis/mapbrowse?packageid=" +
132
132
doc . getElementsByTagName ( "packageid" ) [ 0 ] . childNodes [ 0 ] . nodeValue ) ;
133
133
}
134
- var title = '<a rel="external noopener" href="' + link + '" target="_blank">' +
134
+ var title = '<a rel="external noopener" href="' + link + '" target="_blank" aria-label="open data in new tab" >' +
135
135
doc . getElementsByTagName ( "title" ) [ 0 ] . childNodes [ 0 ] . nodeValue . trim ( ) + '</a>' ;
136
136
var row = '<p><span class="dataset-title">' + title +
137
137
'</span><br><span class="dataset-author">' + names + date +
@@ -539,4 +539,4 @@ window.onload = function () {
539
539
makeAutocomplete ( "creator" , PASTA_LOOKUP [ "author" ] ) ;
540
540
makeAutocomplete ( "taxon" , PASTA_LOOKUP [ "taxonomic" ] ) ;
541
541
}
542
- } ;
542
+ } ;
You can’t perform that action at this time.
0 commit comments