Closed (fixed)
Project:
The Better Mega Menu
Version:
8.x-1.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Sep 2021 at 17:10 UTC
Updated:
23 Nov 2021 at 17:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
HeatherC7474 commentedJust FYI I just commented out the js I had written to try to force the tabbing, so you should now be seeing from that link the default behavior from the module.
Comment #3
themodularlab@HeatherC7474,
Hi. Thanks for reporting this. We'll take a look at this and get back to you.
Comment #4
smortimore commentedI'll second this request. This issue is a blocker on a project requiring accessibility compliance. Thanks for looking into a resolution.
Comment #5
knaffles commented@HeatherC7474 and @smortimore, please try the attached patch and let me know if this fixes the issue for you. But please note that once you have tabbed to a top-level menu item, you then need to use the down arrow key to cycle through the links within the dropdown. Thanks!
Comment #6
knaffles commentedComment #7
HeatherC747 commented@knaffles Thanks. I installed this plugin without composer so I'm trying to add the patch via the instructions on this page https://www.drupal.org/project/tb_megamenu/git-instructions . However, each time I run the apply command I get "Skipped patch 'js/tb-megamenu-frontend.js'. I've never applied a patch before - is there some step I'm missing? The .diff file is in the tb_megamenu directory. Do I need to convert the .diff file to a .patch file?
Comment #8
knaffles commented@HeatherC747 - sorry for the late reply. You should be able to just save the .diff file to the root of your tb_megamenu directory and then open up a terminal window, go to the root of your tb_megamenu directory and run:
git apply -v ./3238342.diff...or substitute the name of your patch file. It doesn't need to have any particular extension. You should then see a message that says:
I just tried it on the 8.x-1.x branch and it worked as expected for me.
Comment #9
henry.odiete commentedI tried the patch in #5 and it worked in conjunction with adding 'tabindex=0' to non-focusable blocks in my menu.
Comment #10
knaffles commentedComment #11
knaffles commentedComment #12
knaffles commentedThis is fixed in release 8.x-1.6.
Comment #13
andrewozoneI was also able to apply the patch and verify the fix. Thanks!
However, I did have the same issue as @HeatherC747 when applying the patch. I was able to work around it by using the following to apply the patch. Hope this helps @HeatherC747 moving forward if you need to apply another patch!
patch -p1 3238342.diff