Open
Bug 1986848
Opened 1 year ago
Updated 11 months ago
Voice Access can't select text or move the cursor when targeting words at the edges of some text boxes
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
NEW
People
(Reporter: Jamie, Assigned: Jamie)
References
(Blocks 1 open bug)
Details
(Whiteboard: [uiaFastFollow])
STR:
- Turn on Windows Voice Access.
- Open https://www.google.com/
- In the Google search box, type: fire fox
- Say: move before fire
- Expected: Voice Access moves the cursor.
- Actual: Voice Access reports: "Sorry, something went wrong. Please try again."
- Press home then press space to insert a space before "fire".
- Say: move before fire
- Correct result: Voice Access moves the cursor.
- Say: move before fox
- Expected: Voice Access moves the cursor.
- Actual: Voice Access reports: "Sorry, something went wrong. Please try again."
- Press end then press space to insert a space after "fox".
- Say: move before fox
- Correct result: Voice Access moves the cursor.
Notes:
- This doesn't happen if there is nothing before/after the text box in the document.
- This applies to selection commands as well; "select fire", etc.
- "Select previous word" also seems to misbehave for a word at the end of such a text box with no space afterward.
- Distilled test case:
data:text/html,before<input value="fire fox">after - Curiously, if you separate the input from the text on both sides with a space, this fixes things for "fire", but not "fox":
data:text/html,before <input value="fire fox"> after - This works as expected in Edge.
- This likely has something to do with Voice Access not respecting the DocumentRange of the text box and thus bleeding into adjacent text accessible via the text pattern. IMO, this is a Voice Access bug, but we'll probably have to live with it given that it doesn't cause problems in Edge.
- I guess we'll need to separate objects with a space when returning text from UiaTextRange::GetText or similar.
- However, there might also be weirdness here with UiaTextRange::FindText. We need to figure out what Voice Access is doing here.
| Assignee | ||
Updated•1 year ago
|
Assignee: nobody → jteh
| Assignee | ||
Updated•11 months ago
|
Whiteboard: [uiaFastFollow]
You need to log in
before you can comment on or make changes to this bug.
Description
•