Index: Source/core/html/HTMLAnchorElement.cpp |
diff --git a/Source/core/html/HTMLAnchorElement.cpp b/Source/core/html/HTMLAnchorElement.cpp |
index 5fa5a2b23b2b4897a611a042d475cf9f94e4c652..43ee0a17952067dda10ab4ada869d4649d81f2a6 100644 |
--- a/Source/core/html/HTMLAnchorElement.cpp |
+++ b/Source/core/html/HTMLAnchorElement.cpp |
@@ -163,6 +163,9 @@ bool HTMLAnchorElement::isMouseFocusable() const |
bool HTMLAnchorElement::isKeyboardFocusable() const |
{ |
+ if (isFocusable() && Element::supportsFocus()) |
+ return HTMLElement::isKeyboardFocusable(); |
+ |
if (isLink()) { |
Page* page = document().page(); |
if (!page) |