Quote Originally Posted by rlexyd View Post
Hi, thank you for this plugin.
I'm running a fresh install of 1.5.7c on PHP 7.4 using Responsive Classic template and IH5.
It has recently come to my attention that our website is throwing 3 red errors when inspecting on WAVE (web accessibility evaluation tool) due to 3x Empty buttons from this plugin.
I'm not sure if I did something to cause these errors?!
Is there a way to remove them safely to stop these Errors but keep Colorbox functioning correctly?
Thank you for your assistance.
I do not want the web URL posted on here, but you can see the link to the site in the image snapshot below.
https://i.imgur.com/anqe0AB.png
I hope you understand the irony in the situation... The desire is to correct an "accessibility" issue, which is being done through a non-accessibility method of sharing information... :)

That said, I was able to reproduce the issue on a "similar" site (responsive classic template with this module installed), and have generated a potential patch for the issue. The patch adds a title to the associated html button(s) which appears should resolve the problem(s) reported by WAVE. The patch can be found at:
https://github.com/mc12345678/zen-co...b5c547d3358eae

Content in red is "deleted" with content in green "added". While the above commit shows an entire line affected, that is because the code had been minified to reduce its overall size. There are four places within that line where information had been added to provide the associated title parameter to the <button /> tags. As this section of code is basically in clear text, the html parameter and associated value could be directly entered without loss of "minification".