role=button on disable/enable/reset all

This commit is contained in:
Milos Brzakovic (E-Search)
2021-11-30 10:34:10 +01:00
parent a77840eb2a
commit 4bee356fc1
3 changed files with 5 additions and 0 deletions

View File

@@ -101,6 +101,7 @@ export function uiSectionBackgroundDisplayOptions(context) {
containerEnter
.append('a')
.attr('class', 'display-option-resetlink')
.attr('role', 'button')
.attr('href', '#')
.html(t.html('background.reset_all'))
.on('click', function(d3_event) {

View File

@@ -31,6 +31,7 @@ export function uiSectionMapFeatures(context) {
footer
.append('a')
.attr('class', 'feature-list-link')
.attr('role', 'button')
.attr('href', '#')
.html(t.html('issues.disable_all'))
.on('click', function(d3_event) {
@@ -41,6 +42,7 @@ export function uiSectionMapFeatures(context) {
footer
.append('a')
.attr('class', 'feature-list-link')
.attr('role', 'button')
.attr('href', '#')
.html(t.html('issues.enable_all'))
.on('click', function(d3_event) {

View File

@@ -44,6 +44,7 @@ export function uiSectionValidationRules(context) {
ruleLinks
.append('a')
.attr('class', 'issue-rules-link')
.attr('role', 'button')
.attr('href', '#')
.html(t.html('issues.disable_all'))
.on('click', function(d3_event) {
@@ -54,6 +55,7 @@ export function uiSectionValidationRules(context) {
ruleLinks
.append('a')
.attr('class', 'issue-rules-link')
.attr('role', 'button')
.attr('href', '#')
.html(t.html('issues.enable_all'))
.on('click', function(d3_event) {