Summary: | AX: [ATK] Table captions and table rows are missing from the accessible hierarchy | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Joanmarie Diggs <jdiggs> | ||||||
Component: | Accessibility | Assignee: | Joanmarie Diggs <jdiggs> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 25531 | ||||||||
Attachments: |
|
Description
Joanmarie Diggs
2014-11-22 14:45:02 PST
Expanding the summary to include rows. Unlike captions, which were always expected for exposure on ATK, rows were deliberately not exposed. But more and more table rows are showing up in other ATK implementations, so we might as well start exposing them. And if we're going to rework ATK table exposure, might as well do it all at once. Created attachment 242225 [details]
Patch
Comment on attachment 242225 [details]
Patch
Chris and/or Mario: If either of you have time to review this, it would be awesome. (At the moment, the gtk-wk2 bot is hosed, but that's independent of this patch.)
Comment on attachment 242225 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=242225&action=review > Source/WebCore/accessibility/AccessibilityTable.cpp:365 > + Node* tableElement = m_renderer->node(); There might be a tableElement() method on AXTable. If not we should probably add one > Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp:352 > + if (static_cast<unsigned>(index) >= children.size()) Size() returns a size_t so you might want to cast to that Created attachment 242450 [details]
Patch
Comment on attachment 242450 [details] Patch (In reply to comment #5) > Comment on attachment 242225 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=242225&action=review > > > Source/WebCore/accessibility/AccessibilityTable.cpp:365 > > + Node* tableElement = m_renderer->node(); > > There might be a tableElement() method on AXTable. If not we should probably > add one There is one already. Change made. > > Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp:352 > > + if (static_cast<unsigned>(index) >= children.size()) > > Size() returns a size_t so you might want to cast to that Change made. Thanks! Comment on attachment 242450 [details] Patch Clearing flags on attachment: 242450 Committed r176706: <http://trac.webkit.org/changeset/176706> All reviewed patches have been landed. Closing bug. |