Title: Missing Widget Label
Last modified: January 29, 2026

---

# Missing Widget Label

 *  Resolved [bredamcguigan](https://wordpress.org/support/users/bredamcguigan/)
 * (@bredamcguigan)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/missing-widget-label/)
 * Hi, I am trying to improve the accessibility WCAG on this website. It is giving
   this problem related to the Cookie Plugin:
 * What’s the issue
 * Interactive elements must have a clear, accessible name.
 * Where is it
 *     ```wp-block-code
       <div inert="" role="dialog" data-testid="popup-dialog" aria-hidden="true" class="popup-dialog popup-dialog--left popup-dialog--up" style="top: 0px; left: 0px;" part="container">
       ```
   
 * How can I get an aria-label in there?
 * Also on the icon for the pop up I’m getting this:
 * No alt text on the icon for the cookie pop up.
 * Can you help please?
 * Breda
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmissing-widget-label%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [Nick](https://wordpress.org/support/users/nickcysupport/)
 * (@nickcysupport)
 * [4 months, 1 week ago](https://wordpress.org/support/topic/missing-widget-label/#post-18803600)
 * Hi [@bredamcguigan](https://wordpress.org/support/users/bredamcguigan/),
 * Thanks for sharing the details.
 * The `<div>` you’ve referenced does not appear to be generated by the CookieYes
   plugin. CookieYes elements already include the required ARIA labels and accessible
   names to meet WCAG accessibility requirements.
 * To verify this, please temporarily deactivate the CookieYes plugin and then recheck
   the page. If the same element and accessibility warning are still present, it
   indicates that the markup is being added by another plugin, the active theme,
   or a custom script.
 * Regarding the popup icon warning about missing `alt` text: CookieYes does not
   render image-based icons without appropriate accessibility attributes. If an 
   icon is being flagged for missing alternative text, it is most likely not originating
   from CookieYes.
 * Hope this helps.
 *  Plugin Support [Nick](https://wordpress.org/support/users/nickcysupport/)
 * (@nickcysupport)
 * [3 months, 3 weeks ago](https://wordpress.org/support/topic/missing-widget-label/#post-18817704)
 * Hi [@bredamcguigan](https://wordpress.org/support/users/bredamcguigan/),
 * We’re just checking in to see if you were able to test this by temporarily deactivating
   the CookieYes plugin and reviewing the page again.
 * As mentioned earlier, if the element and accessibility warning persist after 
   deactivation, it would indicate that the markup is being generated by another
   plugin, your active theme, or a custom script.
 * Since we haven’t received an update, we’ll mark this topic as resolved for now.
   If you’re still experiencing the issue, please reply here with your findings 
   and we’ll be happy to continue assisting you.
 * Thank you.
 *  Thread Starter [bredamcguigan](https://wordpress.org/support/users/bredamcguigan/)
 * (@bredamcguigan)
 * [3 months, 3 weeks ago](https://wordpress.org/support/topic/missing-widget-label/#post-18817871)
 * Yes this is resolved thanks.
 * B

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmissing-widget-label%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/cookie-law-info/assets/icon.svg?rev=3007243)
 * [CookieYes – Cookie Banner for Cookie Consent (Easy to setup GDPR/CCPA Compliant Cookie Notice)](https://wordpress.org/plugins/cookie-law-info/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cookie-law-info/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cookie-law-info/)
 * [Active Topics](https://wordpress.org/support/plugin/cookie-law-info/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cookie-law-info/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cookie-law-info/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [bredamcguigan](https://wordpress.org/support/users/bredamcguigan/)
 * Last activity: [3 months, 3 weeks ago](https://wordpress.org/support/topic/missing-widget-label/#post-18817871)
 * Status: resolved