Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1483610

    Hello,

    Here in Germany, the Accessibility Improvement Act (BFSG) is a big issue right now. Does Enfold offer any solutions for this? Every menu item, button, link, etc., is supposed to be accessible via the tab, which works well. However, it’s not very clearly visible yet. Is there any way to change this?

    Otherwise, I’ve installed a plugin, e.g., at https://miximo.de in the bottom right corner. The problem, however, is that I can’t access this menu via the tab. Are there any solutions for this?

    Best regards,
    Martin

    —————–

    Hallo,

    hier in Deutschland ist ja gerade das Barrierefreiheitsstärkungsgesetz (BFSG) ein großes Thema. Bietet Enfold dazu Lösungen an? Hier soll jeder Menüpunkt, Button, Link usw. mit dem Tab erreichbar sein, was ja gut funktioniert. Jedoch ist es noch nicht sehr deutlich zu sehen. Kann man das beeinflussen?
    Ansonsten habe ich mir ein PlugIn installiert, z.B. auf https://miximo.de unten rechts. Problem ist jedoch, das ich dieses Menü nicht mit dem Tab erreiche. Gibt es dafür Lösungen?

    viele Grüße,
    Martin

    #1483967

    Hey Martin,
    To add a red border to items that you tab to, you can add this css:

    a:focus,button:focus {
      border:1px solid red !important;
    }

    adjust the color and size to suit.
    Your accessibility plugin is at the bottom of the page in the DOM, so you would need to tab the whole page to get to it, perhaps the plugin settings has an option to move it to the top of the DOM? The plugin button also has a tabindex of -1 so you can’t tab to it, check the plugin settings.
    If you can’t change these in the settings, try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    function custom_script() { ?>
      <script>
    document.addEventListener('DOMContentLoaded', function() {
    	const accessibilityButton = document.querySelector('#accessibility-trigger-button');
        const messageBar = document.querySelector('#accessibility-button');
        const body = document.querySelector('body#top');
        body.prepend(messageBar);
        accessibilityButton.setAttribute('tabindex', '1');
    });
    </script>
      <?php
    }
    add_action( 'wp_footer', 'custom_script', 99 );

    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    This javascript will move the accessibility-button in the DOM to the top of the page so it is the first tab, the icon will still show at the bottom of the page, it will also change the tabindex so you can tab to it. With the css above to add a red border, the first tab will show this:
    Screen Shot 2025 05 10 at 6.24.55 AM
    and then if you hit the enter key it will open:
    Screen Shot 2025 05 10 at 6.27.43 AM

    Best regards,
    Mike

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.