Expose UIA_AnnotationTypesAttributeId for Spelling and Grammar Errors
This CL Exposes UIA_AnnotationTypesAttributeId, specifically for : - AnnotationType_GrammarError - AnnotationType_SpellingError This allows ATs such as Narrator to announce when a word is misspelled or there are grammar errors when the user types or navigates through editable content. --- - In ax_platform_node_textrangeprovider_win_unittest.cc I collapsed these macros into EXPECT_UIA_SAFEARRAY_EQ - EXPECT_UIA_DOUBLE_SAFEARRAY_EQ - EXPECT_UIA_VT_UNKNOWN_SAFEARRAY_EQ - In ax_platform_node_textrangeprovider_win_unittest.cc I added a helper method, CreateTextRangeProviderWin, which handles creating the start and end AXNodePositions. - Internally passing a VariantVector* rather than a VARIANT* for getting attribute values for ITextRangeProvider::FindAttribute and ITextRangeProvider::GetAttributeValue. - This affects a few methods in ax_platform_node_win and ax_platform_node_textrangeprovider_win.cc - Added test cases to AXPlatformNodeTextRangeProviderTest.TestITextRangeProviderGetAttributeValue Bug: 928948 AX-Relnotes: Fixed an issue where Narrator was not announcing misspelled words. Change-Id: I0b5b4342f3bd78a1e84a8ba9d820458936822bd4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2246918 Commit-Queue: Adam Ettenberger <Adam.Ettenberger@microsoft.com> Reviewed-by:Nektarios Paisios <nektar@chromium.org> Reviewed-by:
Kevin Babbitt <kbabbitt@microsoft.com> Reviewed-by:
Kurt Catti-Schmidt <kschmi@microsoft.com> Cr-Commit-Position: refs/heads/master@{#787820}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment