Bug 1847687 Comment 2 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Yes, you can use `elementIsFocusable` with flag=0 to check whether a element is focusable, i.e. does the focus can be moved to a element either with mouse clicking or calling `element.focus()`. And if I read code correctly, you can also use [FLAG_BYMOUSE](https://searchfox.org/mozilla-central/source/dom/interfaces/base/nsIFocusManager.idl#210) to check whether a element is focusable by mouse clicking.

Back to Bug 1847687 Comment 2