• Resolved Tdude

    (@tdude)


    Toggle not working?

    Don’t really need help but wish to highlight that our version of WP/Gutenberg removes the aria-controls=”ac-NN” in the h2 required to open the accordion.
    That in turn creates a js error where let target = label.getAttribute('aria-controls') is undefined.

    I can just add the aria-control param, but admins cannot. Fixed this for now, but maybe good to know ??

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author philbuchanan

    (@philbuchanan)

    The aria-controls attributes is actually added client side, not in Gutenberg, so I’m not sure why it wouldn’t be added in your case.

    Thread Starter Tdude

    (@tdude)

    Ah ok, you actually wrote what I meant in the code comment ?? Maybe I should have read the code and docs first. Thanks a bunch!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘aria-control removed in Gutenberg editor’ is closed to new replies.