<rdar://problem/
3973067> AXWebArea for http://apple.netscape.com/ has an empty AXLinkUIElements
* kwq/KWQAccObject.mm:
(-[KWQAccObject accessibilityAttributeValue:]):
Omit ignored AXLinks from AXLinkUIElements result
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8448
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-01-25 David Harrison <harrison@apple.com>
+
+ Reviewed by Maciej.
+
+ <rdar://problem/3973067> AXWebArea for http://apple.netscape.com/ has an empty AXLinkUIElements
+
+ * kwq/KWQAccObject.mm:
+ (-[KWQAccObject accessibilityAttributeValue:]):
+ Omit ignored AXLinks from AXLinkUIElements result
+
2005-01-25 Ken Kocienda <kocienda@apple.com>
Reviewed by John
Node curr = coll.firstItem();
while (!curr.isNull()) {
RenderObject* obj = curr.handle()->renderer();
- if (obj)
- [links addObject: obj->document()->getAccObjectCache()->accObject(obj)];
+ if (obj) {
+ KWQAccObject *axobj = obj->document()->getAccObjectCache()->accObject(obj);
+ ASSERT([[axobj role] isEqualToString:@"AXLink"]);
+ if (![axobj accessibilityIsIgnored])
+ [links addObject: axobj];
+ }
curr = coll.nextItem();
}
return links;