New issue
Advanced search Search tips

Issue 830764 link

Starred by 0 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug
Team-Accessibility

Blocked on:
issue 815378



Sign in to add a comment

STS: some nodes followed by parens on Wikipedia interrupting word highlighting

Project Member Reported by leberly@chromium.org, Apr 9 2018

Issue description

Google Chrome 67.0.3383.0 (Official Build) dev (64-bit)
Google_Samus.6300.276.0
Chrome OS with flag enabled: #enable-experimental-accessibility-features

# Enable STS
# Navigate to https://en.wikipedia.org/wiki/Platypus
# Inkoke STS with either method on this text: 
its family (Ornithorhynchidae) and genus (Ornithorhynchus)
Expected: highlighting follows words spoken
Actual: highlighting seems to get "stuck" on the parentheses and doesn't keep up with spoken word

Note that it must be something specific to the way this is coded since I can't repro this on this page: http://www.thepunctuationguide.com/parentheses.html
 
This is also happening on other areas of wikipedia that aren't parentheses specific and might just be related to how links are handled? Here is another example without parens but showing a similar behavior of getting stuck in one spot and then lagging behind a bit.

https://en.wikipedia.org/wiki/Australosphenida

Invoke feature on this text:
Monotremata, divided into the families Ornithorhynchidae (platypus), Steropodontidae and Tachyglossidae (echidnas) and the genus Kryoryctes
Another page with similar problems is https://en.wikipedia.org/wiki/Mammal - the first paragraph shows the focus ring moving very far away, a dramatic difference. 

Comment 3 by katie@chromium.org, Apr 10 2018

Summary: STS: some nodes followed by parens on Wikipedia interrupting word highlighting (was: STS: parentheses on Wikipedia interrupting word highlighting )
More specific repro steps: this happens with some mix of parens and nodes. It doesn't happen on the string "its family (Ornithorhynchidae) and genus (Ornithorhynchus)" by itself, but requires the combination of links and parens to occur.

That reduces the priority / impact.
Please let me know how differentiate between nodes and parens for testing purposes. Thanks!

Comment 5 by katie@chromium.org, Apr 12 2018

In this case I'm comparing between links, italics, bold text, and other formatting to text. Each time formatting changes, the accessibility tree actually has a new staticText/inlineTextBox node. So if you have <b>one</b><i>two</i>, that looks like "one two", but each is it's own node in the tree. Similarly with inline images, buttons, etc. Does that make sense?

Comment 6 by katie@chromium.org, Apr 12 2018

Here's the smallest repro I could come up with for parens:

data:text/html,<b>one</b>(<i>two</i>)

In this case there are 4 staticText nodes:
one
(
two
)

So STS is getting tripped up at the open paren.

If the page was instead,
data:text/html,<b>one</b> a</i>two</i>
Highlighting works properly.

This issue is because the paren is not vocalized.
Blockedon: 815378
Labels: STS_TTS
This bug requires a change to TTS to be completely fixed.

Sign in to add a comment