• czinn

    (@czinnkzooedu)


    Three empty buttons are generated by the jquery even when there is only one media file (i.e. not a slideshow). This is an accessibility problem. Would it be possible to move the code that generates these buttons into the “if (total > 1)” conditional block so they are not added to the DOM if they are not needed? Or at least to give them a default value when they are added to the DOM?

    <button?type="button"?id="cboxPrevious"></button>

    <button?type="button"?id="cboxNext"></button>

    <button?type="button"?id="cboxSlideshow"></button>

    Thank you!

    • This topic was modified 4 months, 3 weeks ago by czinn. Reason: replaced broken image with code
  • You must be logged in to reply to this topic.