• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

responsive-menu.js Accessibility Bug

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › General Genesis Framework Discussions › responsive-menu.js Accessibility Bug

This topic is: not a support question

Tagged: accessibility, responsive menu

  • This topic has 3 replies, 3 voices, and was last updated 4 months, 1 week ago by james1015.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 21, 2022 at 11:06 am #506048
    aepp
    Participant

    In responsive-menu.js on line 264 there is a small bug which I need help addressing: aria-expanded is not being set to false where it has been set to true elsewhere in the file. When a menu item is open, and another menu item is clicked, the first item will slide up but will still retain the attribute aria-expanded="true". The next time the item is clicked, even though it slides open, it now has the attribute aria-expanded="false". A simple fix would be to add aria-expanded to line 264:

    others.find( '.' + subMenuButtonClass ).removeClass( 'activated' ).attr( 'aria-pressed', 'false' ).attr( 'aria-expanded', 'false');

    I've added this temporarily to my site, but am wondering if we can get this added to the framework so I can update next time.

    https://www.corralitos.church/about/our-past/
    October 22, 2022 at 5:40 am #506050
    Victor Font
    Moderator

    This is the wrong place to ask your question about changes to the Genesis Framework. This is a community volunteer supported site. None of us that answer questions here have any affiliation with WPEngine of Genesis. If you want to propose changes and bug fixes, you need to open a support ticket.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    November 1, 2022 at 8:50 am #506091
    aepp
    Participant
    This reply has been marked as private.
    November 14, 2022 at 3:40 am #506178
    james1015
    Participant

    asap

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble