mirror of
https://github.com/FoggedLens/iD.git
synced 2026-03-06 19:31:41 +00:00
role=button on disable/enable/reset all
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user