| Summary: | AX: [ATK] Meter and Option elements do not expose their id attribute | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Joanmarie Diggs
2014-11-23 13:18:11 PST
Created attachment 242175 [details]
Patch
Comment on attachment 242175 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=242175&action=review Looks ok with minor modification > Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp:506 > Node* node = coreObject->node(); I believe there's an element() method on ax object you can use directly (In reply to comment #3) > Comment on attachment 242175 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=242175&action=review > > Looks ok with minor modification > > > Source/WebCore/accessibility/atk/WebKitAccessibleWrapperAtk.cpp:506 > > Node* node = coreObject->node(); > > I believe there's an element() method on ax object you can use directly Indeed there is. Missed that. Thanks! Thinking more about it, there's not an "action" associated with a meter or progress element.... Is there any reason why AccessibilityProgressIndicator should not override element()? Created attachment 242184 [details]
Patch
Comment on attachment 242184 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=242184&action=review > Source/WebCore/accessibility/AccessibilityProgressIndicator.cpp:151 > + return nullptr; Shouldn't you fallback to AccessibilityObject::element() instead of just returning nullptr? Created attachment 242252 [details]
Patch
Comment on attachment 242252 [details] Patch (In reply to comment #6) > Comment on attachment 242184 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=242184&action=review > > > Source/WebCore/accessibility/AccessibilityProgressIndicator.cpp:151 > > + return nullptr; > > Shouldn't you fallback to AccessibilityObject::element() instead of just > returning nullptr? Done. Thanks! Comment on attachment 242252 [details]
Patch
It seems to me that the EFL failure is completely unrelated
Comment on attachment 242252 [details] Patch Clearing flags on attachment: 242252 Committed r176552: <http://trac.webkit.org/changeset/176552> All reviewed patches have been landed. Closing bug. |