How to put screen reader focus on colorbox popup with jQuery? -


for 508 purposes, need screen readers focus go color box popup. how can jquery?

i need know code can put on on load of page make focus go colorbox when user clicks on link , opens.

i put class on link within colorbox popup content , added tpl

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

Comments

Popular posts from this blog

javascript - How to synchronize the Three.js and HTML/SVG coordinate systems (especially w.r.t. the y-axis)? -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -

java - Reading data from multiple zip files and combining them to one -