For 508 purposes I need the focus to go to the colorbox when a user clicks on the link that opens the colorbox. How do I do that? thanks

Comments

dianacastillo’s picture

I put a class on a link within my colorbox popup content and then added this to the tpl

<code><code> <script>
    (function($) {
    $(document).ready(function() {
    $('a.colorbox-load').click(function(event) {
     $(".colorbox-link").focus();
     })

     })
    })(jQuery);
  </script>

dianacastillo’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.