From 1ce383e17f67e8cf58da2d0904a9c233abd5a075 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 25 Mar 2013 12:21:11 -0700 Subject: [PATCH] Skip buttons when tabbing --- js/id/ui/preset.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/id/ui/preset.js b/js/id/ui/preset.js index f167b77b7..6b2eb9de5 100644 --- a/js/id/ui/preset.js +++ b/js/id/ui/preset.js @@ -78,6 +78,7 @@ iD.ui.preset = function(context, entity) { label.append('button') .attr('class', 'fr icon undo modified-icon') + .attr('tabindex', -1) .on('click', function(field) { var original = context.graph().base().entities[entity.id]; var t = {}; @@ -89,6 +90,7 @@ iD.ui.preset = function(context, entity) { label.append('button') .attr('class', 'fr icon inspect') + .attr('tabindex', -1) .on('click', function(field) { selection.selectAll('div.tag-help') .style('display', 'none');