diff --git a/content/html/content/src/nsHTMLImageElement.cpp b/content/html/content/src/nsHTMLImageElement.cpp index 265cd1342c78..35e405e593b6 100644 --- a/content/html/content/src/nsHTMLImageElement.cpp +++ b/content/html/content/src/nsHTMLImageElement.cpp @@ -463,7 +463,7 @@ nsHTMLImageElement::IsFocusable(PRInt32 *aTabIndex) *aTabIndex = (sTabFocusModel & eTabFocus_formElementsMask)? tabIndex : -1; } - return tabIndex >= 0; + return tabIndex >= 0 || HasAttr(kNameSpaceID_None, nsGkAtoms::tabindex); } nsresult