We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54d1253 commit 318530eCopy full SHA for 318530e
src/components/modebar/modebar.js
@@ -43,10 +43,8 @@ proto.update = function(graphInfo, buttons) {
43
var modeBarId = 'modebar-' + fullLayout._uid;
44
45
this.element.setAttribute('id', modeBarId);
46
- this._uid = modeBarId;
47
-
48
this.element.setAttribute('role', 'toolbar');
49
+ this._uid = modeBarId;
50
this.element.className = 'modebar';
51
if(context.displayModeBar === 'hover') this.element.className += ' modebar--hover ease-bg';
52
@@ -149,6 +147,7 @@ proto.createButton = function(config) {
149
147
var _this = this;
150
148
var button = document.createElement('a');
151
+ button.setAttribute('tabindex', '0');
152
button.setAttribute('rel', 'tooltip');
153
button.className = 'modebar-btn';
154
0 commit comments