Skip to content
Permalink
Browse files

fixed bug: aria-labeledby with wrong ID

  • Loading branch information...
fnagel committed Nov 19, 2009
1 parent aeb4ae2 commit 59457975f3df42ca4116950861219493e43d3214
Showing with 2 additions and 2 deletions.
  1. +1 −1 Lightbox/js/ui.ariaLightbox.js
  2. +1 −1 Lightbox/js/ui.ariaLightbox_min.js
@@ -117,7 +117,7 @@ $.widget("ui.ariaLightbox", {

// build html
var html = "\n";
html += '<div id="ui-lightbox-wrapper" style="z-index:'+options.zIndex+1+';" class="ui-dialog ui-widget ui-widget-content ui-corner-all" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-titleText-dialog">'+"\n";
html += '<div id="ui-lightbox-wrapper" style="z-index:'+options.zIndex+1+';" class="ui-dialog ui-widget ui-widget-content ui-corner-all" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-dialog">'+"\n";
html += ' <div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix">'+"\n";
html += ' <span class="ui-dialog-title" id="ui-dialog-title-dialog">'+ options.titleText +'</span>'+"\n";
html += ' <a href="#nogo" id="ui-lightbox-close" class="ui-dialog-titlebar-close ui-corner-all" title="'+ options.closeText +'" role="button">'+"\n";

Some generated files are not rendered by default. Learn more.

0 comments on commit 5945797

Please sign in to comment.
You can’t perform that action at this time.