Skip to main content

focusable

Function focusable 

Source
pub fn focusable(node: i64) -> bool
Expand description

Whether node can take keyboard focus, as a browser decides it: a control that is not disabled (button, select, textarea, an input other than type="hidden"), a link or image-map area with an href, an iframe, a summary, audio/video showing controls, and any element carrying a tabindex or an editable contenteditable.