Title: Accessibility problem in Cookie Settings button
Last modified: July 6, 2023

---

# Accessibility problem in Cookie Settings button

 *  Resolved [danielvigueras](https://wordpress.org/support/users/danielvigueras/)
 * (@danielvigueras)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/accessibility-problem-in-cookie-settings-button/)
 * Hi,
 * I’m using a tool that checks the accessibility of my website. The tool is [https://accessibe.com/accessscan](https://accessibe.com/accessscan)
 * This tool states that the shortcode `[setting]` to generate the settings button
   in the cookies banner is not 100% accessible.
 * This is the result of the test:
 * **Requirement:**
 * Elements that behave as buttons but are built using other tags such as span, 
   div, a or others, should include a “role” attribute that equals to “button”.
 * 1 Failed Elements
    - `<span data-href="#moove_gdpr_cookie_modal" class="change-settings-button"
      >settings</span>`
 * **Requirement:**
 * Interactive elements such as links, buttons and form fields should all be navigable
   using the keyboard by either using a focusable element (a, button, input, etc.)
   or including the “tabindex” attribute that equals to “0”.
 * 1 Failed Elements
    - `<span data-href="#moove_gdpr_cookie_modal" class="change-settings-button"
      >``settings`</span>
 * Being an external plugin I can’t update the HTML generated for the button. It
   would be great if you could fix this accessibility issue and check again using
   the accessScan tool to see if everything is right.
 * Thanks!

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

 *  Plugin Author [Moove Agency](https://wordpress.org/support/users/mooveagency/)
 * (@mooveagency)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/accessibility-problem-in-cookie-settings-button/#post-16888345)
 * Hi [@danielvigueras](https://wordpress.org/support/users/danielvigueras/)
 * The “role=button” was added to the settings span element. Please update to the
   latest version.
 * The tabindex=0 attribute will be added only if the **Accessibility** is set to“**
   Cookie banner**” in the **Cookie Banner Settings** tab.
 * We updated the tabindex function to not use values larger than 0, so all tabindex
   will be 0 if the **Accessibility** is set to **Cookie Banner**.
 * Hope this helps.
 *  Thread Starter [danielvigueras](https://wordpress.org/support/users/danielvigueras/)
 * (@danielvigueras)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/accessibility-problem-in-cookie-settings-button/#post-16888806)
 * Thanks for your quick reply and the plugin update!

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

The topic ‘Accessibility problem in Cookie Settings button’ is closed to new replies.

 * ![](https://ps.w.org/gdpr-cookie-compliance/assets/icon-256x256.png?rev=2376316)
 * [GDPR Cookie Compliance - Cookie Banner, Cookie Consent, Cookie Notice for CCPA, EU Cookie Law](https://wordpress.org/plugins/gdpr-cookie-compliance/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gdpr-cookie-compliance/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gdpr-cookie-compliance/)
 * [Active Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gdpr-cookie-compliance/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gdpr-cookie-compliance/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [danielvigueras](https://wordpress.org/support/users/danielvigueras/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/accessibility-problem-in-cookie-settings-button/#post-16888806)
 * Status: resolved