Summary: | AX: aria-hidden inheritance broken when applying to some descendants | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | chris fleizach <cfleizach> | ||||
Component: | Accessibility | Assignee: | chris fleizach <cfleizach> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | bdakin | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
chris fleizach
2011-12-06 11:49:29 PST
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
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. |