diff --git a/src/assets/js/rich-menu.js b/src/assets/js/rich-menu.js index c9889a30..4d18c63e 100755 --- a/src/assets/js/rich-menu.js +++ b/src/assets/js/rich-menu.js @@ -29,6 +29,11 @@ }); }); + // "tabindex = -1" is added by bootstrap-accessibility-plugin to dropdown's elements. + // The yamm menu uses the dropdown class, but is not a conventional dropdown, hence, the tabindex must not + // be present. + $dropdown.find('li a').removeAttr('tabindex'); + $dropdownToggle.on('click', function() { $(this).parents($dropdown).trigger('get.hidden'); });