Issue metadata
Sign in to add a comment
|
Accessible bounding box is wrong for multiple lines of text |
||||||||||||||||||||||||
Issue descriptionSimplest repro: data:text/html,Line 1<br>Line 2 Visit the individual lines using a screen reader that shows the outline of the bounding box, like ChromeVox Next on Chrome OS, or VoiceOver on Mac OS X. It's correct for the first line but not the second line.
,
Sep 28 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/dbdcf389f7e2055c8c986c5ccaec6c46180ee19b commit dbdcf389f7e2055c8c986c5ccaec6c46180ee19b Author: dmazzoni <dmazzoni@chromium.org> Date: Wed Sep 28 18:06:27 2016 Fix a case where the accessible bounding box of an inline text box was wrong. The local bounds of an inline text box is relative to the same box as its LayoutText, not relative to the LayoutText itself. Subtract the LayoutText origin from the InlineTextBox coordinates and add some new tests to cover this case. BUG= 650440 Review-Url: https://codereview.chromium.org/2372823002 Cr-Commit-Position: refs/heads/master@{#421568} [modify] https://crrev.com/dbdcf389f7e2055c8c986c5ccaec6c46180ee19b/content/browser/accessibility/browser_accessibility.cc [modify] https://crrev.com/dbdcf389f7e2055c8c986c5ccaec6c46180ee19b/third_party/WebKit/LayoutTests/accessibility/bounds-calc.html [add] https://crrev.com/dbdcf389f7e2055c8c986c5ccaec6c46180ee19b/third_party/WebKit/LayoutTests/accessibility/inline-text-bounds-for-range-br.html [modify] https://crrev.com/dbdcf389f7e2055c8c986c5ccaec6c46180ee19b/third_party/WebKit/Source/modules/accessibility/AXInlineTextBox.cpp
,
Sep 29 2016
,
Sep 29 2016
,
Oct 4 2016
Tested the issue on windows 10 and Mac 10.11.6 using chrome dev version #55.0.2880.0 and version #55.0.2871.0 in order to compare the behavior in two builds as per the comment #0. Observed that the behavior of issue was same in both the builds. Following are the steps followed to reproduce the issue. ---------- 1. Created a sample html file having multiple lines as per comment #0. 2. Added chromeVox extension. 3. Opened the sample html file in chrome browser and visited individual lines. 4. Observed that the screen reader read the lines as Line1 line2, which was same behavior for both the above mentioned builds. Attaching screencast for reference. dmazzoni@ - Could you please verify the screencast and let us know if anything missed from our side. Note:: Issue tested on 55.0.2879.0 for Linux as the 55.0.2880.0 build got failed for linux due to issue 652581.
,
Oct 4 2016
Adding the screencast |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by dmazz...@chromium.org
, Sep 26 2016Owner: dmazz...@chromium.org