If you use aria-hidden to toggle an object's visibility, then it objects that are NOT ignored and are direct descendants of the object that is toggled will NOT be updated, and will return the incorrect child hierarchy
The fix is that we need to clearChildren() before we add a child in addChildren() for ALL elements (before we were just doing it for ignored elements)
Created attachment 118089 [details] patch
rdar://10452441
Comment on attachment 118089 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=118089&action=review > Source/WebCore/accessibility/AccessibilityTable.cpp:376 > + AccessibilityTableHeaderContainer* tableHeader = static_cast<AccessibilityTableHeaderContainer*>(axObjectCache()->getOrCreate(TableHeaderContainerRole)); I think i can remove the cast to AccessibilityTableHeaderContainer as it's probably unnecessary.
http://trac.webkit.org/changeset/102634