From 4f03f10eafcab59c5c579c9983ff26d20fb08f83 Mon Sep 17 00:00:00 2001 From: "aaronleventhal@moonset.net" Date: Mon, 24 Sep 2007 11:23:03 -0700 Subject: [PATCH] Partial backout of bug 371156 until we can deal with breakage of accessible object hierarchy that it caused (regression bug 397032). --- accessible/src/base/nsAccessibilityService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accessible/src/base/nsAccessibilityService.cpp b/accessible/src/base/nsAccessibilityService.cpp index c94fd53bb39..63331bcf28b 100644 --- a/accessible/src/base/nsAccessibilityService.cpp +++ b/accessible/src/base/nsAccessibilityService.cpp @@ -1429,7 +1429,7 @@ NS_IMETHODIMP nsAccessibilityService::GetAccessible(nsIDOMNode *aNode, // We don't do this for , , , etc. which // correspond to the doc accessible and will be created in any case if (!newAcc && content->Tag() != nsAccessibilityAtoms::body && content->GetParent() && - (content->IsFocusable() || content->GetID() || + (content->IsFocusable() || (isHTML && nsAccUtils::HasListener(content, NS_LITERAL_STRING("click"))) || content->HasAttr(kNameSpaceID_WAIProperties, nsAccessibilityAtoms::describedby) || content->HasAttr(kNameSpaceID_WAIProperties, nsAccessibilityAtoms::labelledby) ||