| Summary: | Web Inspector: AXI: support for live regions | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | James Craig <jcraig> | ||||||||
| Component: | Web Inspector | Assignee: | James Craig <jcraig> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | commit-queue, graouts, joepeck, timothy, webkit-bug-importer | ||||||||
| Priority: | P1 | Keywords: | InRadar | ||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Bug Depends on: | |||||||||||
| Bug Blocks: | 130918, 130826, 130913 | ||||||||||
| Attachments: |
|
||||||||||
|
Description
James Craig
2014-03-25 10:17:45 PDT
AccessibilityObject::supportsARIALiveRegion() AccessibilityObject::isInsideARIALiveRegion() AccessibilityObject.h
bool supportsARIALiveRegion() const;
bool isInsideARIALiveRegion() const;
virtual const AtomicString& ariaLiveRegionStatus() const { return nullAtom; }
virtual const AtomicString& ariaLiveRegionRelevant() const { return nullAtom; }
virtual bool ariaLiveRegionAtomic() const { return false; }
virtual bool ariaLiveRegionBusy() const { return false; }
Done with most of this except: Bug 130913: Web Inspector: AXI: expose aria-relevant Bug 130918: Web Inspector: AXI: expose if current node is inside an ancestor live region Created attachment 228103 [details]
patch
Comment on attachment 228103 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=228103&action=review > Source/WebInspectorUI/UserInterface/Views/DOMNodeDetailsSidebarPanel.js:366 > + if (liveRegionStatusToken === DOMAgent.AccessibilityPropertiesLiveRegionStatus.Assertive) This could be a switch with cases. > Source/WebInspectorUI/UserInterface/Views/DOMNodeDetailsSidebarPanel.js:370 > + if (liveRegionStatus !== "" && accessibilityProperties.liveRegionAtomic === true) { No need for !== "". Created attachment 228104 [details]
patch with review feedback
Created attachment 228105 [details]
patch with review feedback (and test expectation update)
Comment on attachment 228105 [details] patch with review feedback (and test expectation update) Clearing flags on attachment: 228105 Committed r166449: <http://trac.webkit.org/changeset/166449> All reviewed patches have been landed. Closing bug. |