amitdo / eyes-free

Automatically exported from code.google.com/p/eyes-free
1 stars 0 forks source link

Talkback does not handle HTML links within a label correctly #489

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Go to a page with this kind of HTML:

  <div>
    <input type="CheckBox" id="XCheckBoxchkOtp" tabindex="0">

    <label for="XCheckBoxchkOtp">
      <span>
        <span> I agree to the terms and conditions of the</span>
        <a href="...">
          <span> Agreement</span>
        </a>
        <span>. I also acknowledge that the</span>
        <a href="...">
          <span> Privacy Policy</span>
        </a>
        <span> was made available to me.</span>
      </span>
    </label>
  </div>

e.g. https://output.jsbin.com/teqotu

2. Use TalkBack to select the check box

TalkBack says "Double-tap to toggle"

3. Double tap to activate the check box

What is the expected output? What do you see instead?

Expected the check box to become checked.

Instead, TalkBack follows one of the links to a new page.

Note that TalkBack will also select the two links, but double-tapping each link 
does not behave as expected, either!

What version of the product are you using? On what operating system?

Android 6.0 with TalkBack 4.3.1 and Chrome 46.0.2490.76 on a Nexus 5.

Original issue reported on code.google.com by Owen.R.E...@gmail.com on 25 Nov 2015 at 10:42