Created attachment 252015 [details] test case AccessibilityTable::isDataTable() needs an update that excludes elements from most of the heuristic considerations if the element is not a native <table> element. In other words, no matter its style properties, an element should never be exposed as AXTable unless the element is <table>, or explicitly uses "table", "grid", or "treegrid" as the value of the role attribute. The additional heuristics like border detection should only be applied to <table> elements that have no explicit role. Test case from Marco Ranon: <rdar://problem/19745053>
<rdar://problem/20756519>
I think this will be as simple as: if (!this.hasTagName(tableTag)) return false; ...but WebKit is not building for me at the moment. Need to make sure that does not break, legitimate ARIA 1.0 grids/treegrids and ARIA 1.1 tables.
<rdar://problem/19745053>
Forward duping to bug 144804 *** This bug has been marked as a duplicate of bug 144804 ***