зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
419747da9e
Коммит
4f03f10eaf
|
@ -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) ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче