mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-12-07 06:14:24 +00:00
only summary is added to the element list
This commit is contained in:
parent
e71bb18d13
commit
7a412179d0
@ -39,7 +39,7 @@ $.ui.focusable = function( element, hasTabindex ) {
|
||||
return img.length > 0 && img.is( ":visible" );
|
||||
}
|
||||
|
||||
if ( /^(input|select|textarea|button|object|details|summary)$/.test( nodeName ) ) {
|
||||
if ( /^(input|select|textarea|button|object|summary)$/.test( nodeName ) ) {
|
||||
focusableIfVisible = !element.disabled;
|
||||
|
||||
if ( focusableIfVisible ) {
|
||||
|
Loading…
Reference in New Issue
Block a user