DescriptionSupport IAccessibleHypertext.
- This modifies the way we build the browser accessibility tree in CreateAccessibilityTree. We still build the parent child links while recursing depth first through the WebAccessibility structure, but this patch changes the initialization of a node to occur *after* the children have been fully populated into the subtree of any given node.
- implements IAccessibleHypertext on a BrowserAccessibilityWin. Adds:
-- a string for the hypertext which contains the text of the static text children concatinated together along with the embedded characters for the non-text children.
-- map from the character offset within the hypertext to a hyperlink index.
-- a collection of children that are hyperlinks (basically nodes that are not static texts).
- adds no-op implementations of IAccessibleHyperlink and IAccessibleAction as required by the usage and interface inheritance of IAccessibleHyperlink.
BUG=99629
TEST=manually tested with NVDA.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108211
Patch Set 1 : Initial patch. #
Total comments: 11
Patch Set 2 : Address dmazzoni's comments. #Patch Set 3 : Add unit tests. #
Total comments: 8
Patch Set 4 : Use 0-based indecies for get_hyperlink and get_hyperlinkIndex #
Total comments: 1
Patch Set 5 : Fix comment. #Patch Set 6 : Update another comment. #
Messages
Total messages: 10 (0 generated)
|