New issue
Advanced search Search tips

Issue 874177 link

Starred by 2 users

Issue metadata

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



Sign in to add a comment

SVG link accessibility not working

Project Member Reported by ballar@google.com, Aug 14

Issue description

Steps to reproduce the problem:
1. Turn on TalkBack
2. Open a Chrome browser in an android phone with v8
3. Use an SVG image with the anchor tag

What is the expected behavior?
while using an SVG image the anchor tag within the image should work while talkback is on.

What went wrong?
While using an SVG image the anchor tag within the image doesn't work while talkback is on. The issue is only with android 7 & 8 on chrome. The anchor works when talkback isn't on 

Did this work before? N/A 

Chrome version: 68.0.3440.91  Channel: n/a
OS Version: 8.0
Flash Version: 

Device and version being used (include OS/browser version) : Samsung Galaxy S7 (v8.0)
Assistive device(s) being used, if applicable (include version) : TalkBack (1.1)
Program/App being used (include version) : Chrome (68.0.3440.91)
 
Labels: Needs-triage-Mobile
Cc: chelamcherla@chromium.org
Components: Blink>SVG
Labels: Needs-Feedback Triaged-Mobile
@ballar: Please provide test url that contains SVG image to test this issue from TE end. This would help in better triaging of the issue.

Thanks!
NextAction: 2018-09-03
User says they can't provide us with a link they are currently working on, but they did test the issue in this link.

https://alligator.io/svg/hyperlinks-svg/ 

User says the same issue happens with the SVG's on that page when TalkBack is on.
Project Member

Comment 5 by sheriffbot@chromium.org, Aug 16

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: jbanavatu@chromium.org
Labels: Target-69 Target-70 M-70 FoundIn-70 Target-68 FoundIn-68 FoundIn-69
Status: Untriaged (was: Unconfirmed)
Tested the issue on Android and able to reproduce the issue as per comment#4

Steps followed:
1.Launch chrome >> Navigate to https://alligator.io/svg/hyperlinks-svg/ 
2.Go to system settings>> Accessibility>> Enable talk back
3.Now go to the open svg page and Observed that anchor tag doesn't work while talk back is on 


Chrome versions tested:
60.0.3072.0, 68.0.3440.91(Stable), 70.0.3524.4(Canary)

OS:
Android 7.0

Android Devices:
Samsung J7 

This seems to be a Non-Regression issue as same behavior is seen since M-60. Leaving the issue as Untriaged for further input's on this issue.

Please navigate to below link for log's --
go/chrome-androidlogs/874177
 
Thanks!
Components: Blink>Accessibility
The requirement of TalkBack being enabled makes this sound more like an Accessibility bug than an SVG one. (Some code handling HTMLAnchorElement but not SVGAElement perhaps?)
NextAction: ----
Cc: schenney@chromium.org
Components: -Blink>SVG
I believe the problem is here:

https://codesearch.chromium.org/chromium/src/third_party/blink/renderer/modules/accessibility/ax_node_object.cc?rcl=2184511ef940463aaab89abe4959400f8d5aee39&l=1195

It has this check for an anchor node, that only considers HTML link elements. I suspect that SVG would need separate handling.

AXObject* AXNodeObject::InPageLinkTarget() const {
  if (!node_ || !IsHTMLAnchorElement(node_) || !GetDocument())
    return AXObject::InPageLinkTarget();

  HTMLAnchorElement* anchor = ToHTMLAnchorElement(node_);

I might poke around with this if no-one else picks it up.
Labels: -OS-Android -Via-Wizard-Other -Needs-triage-Mobile -Triaged-Mobile -FoundIn-68 -FoundIn-69 -FoundIn-70 -Target-68 -Target-69 -Target-70 -M-70
Status: Available (was: Untriaged)
Summary: SVG link accessibility not working (was: While using an SVG image in chrome ,the anchor tag within the image doesn't work while talkback is on )
I can reproduce this on other platforms too, removing the Android label.

Labels: Disability-Support

Sign in to add a comment