Basic | Mobile Menu Visibility anpassen (Screenreader & tabfocus)
jQuery(function ($) { const body = $(‘body’); const page = $(‘#page’); const navWrapper = $(‘.dt-mobile-header’); const mobileMenu = $(‘#mobile-menu’); const miniWidgets = $(‘.mobile-mini-widgets-in-menu’); let lastFocusedElement = null; // Fokusfalle aktivieren function trapFocus(container) { const focusableEls = container.find(‘a, button, input, [tabindex]:not([tabindex=”-1″])’).filter(‘:visible’);…Continue reading