diff --git a/ui/focusable.js b/ui/focusable.js index b1a7b61e2..4015b3a37 100644 --- a/ui/focusable.js +++ b/ui/focusable.js @@ -39,7 +39,7 @@ $.ui.focusable = function( element, hasTabindex ) { return img.length > 0 && img.is( ":visible" ); } - if ( /^(input|select|textarea|button|object)$/.test( nodeName ) ) { + if ( /^(input|select|textarea|button|object|details|summary)$/.test( nodeName ) ) { focusableIfVisible = !element.disabled; if ( focusableIfVisible ) {