Partial backout of bug 371156 until we can deal with breakage of accessible object hierarchy that it caused (regression bug 397032).

This commit is contained in:
aaronleventhal@moonset.net 2007-09-24 11:23:03 -07:00
Родитель 419747da9e
Коммит 4f03f10eaf
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1429,7 +1429,7 @@ NS_IMETHODIMP nsAccessibilityService::GetAccessible(nsIDOMNode *aNode,
// We don't do this for <body>, <html>, <window>, <dialog> 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) ||