New issue
Advanced search Search tips

Issue 855000 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Image alt-text is not shown in context menu when image is a link.

Project Member Reported by pnangunoori@chromium.org, Jun 21 2018

Issue description

Filing this issue from buganizer: b/110368304

What steps will reproduce the problem?
(1) Launch Chrome.
(2) Navigate to the URL: https://xkcd.com/2005/
(3) Long tap on the image.
(4) Observed that 'alt-text' is not displayed.
(5) From chrome://flags, enable the flag #enable-custom-context-menu
(6) Observed that the context menu's "Image" part only shows part of the alt-text and not complete text.

Chrome versions tested:
60.0.3072.0, 67.0.3396.87(Stable), 69.0.3466.0(Canary)

OS:
Android 8.1.0

Android Devices:
Pixel XL

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

Note: In FirFox mobile browser also alt text is not displayed.

Thanks!
 
Please navigate to below link for log's and screen cast--
go/chrome-androidlogs/855000

Comment 2 by peconn@chromium.org, Jun 26 2018

Components: -UI>Browser>Core UI>Browser>Mobile
Labels: -Pri-3 Hotlist-GoodFirstBug Pri-2
Owner: amalova@chromium.org
Status: Assigned (was: Untriaged)
Summary: Image alt-text is not shown in context menu when image is a link. (was: [Googler Mobile Feedback] Unable to view alt text when the image is a link Long pressing the image usually brings up a men...)
There seems to be two separate issues:
1. The context menu shows the link target and not the alt-text if the image is a link.
2. The custom context menu only shows part of the alt-text.

For  issue 2  you can tap on the alt-text and it will show the full thing, so I think the prevalent bug here is issue 1.

Assigning to Anna as she wanted some smaller bugs to get familiarity with the codebase.

Comment 3 by peconn@chromium.org, Jun 26 2018

Labels: android-fe-triagedlabel
Cc: emilyschechter@chromium.org amalova@chromium.org est...@chromium.org
Labels: Team-Security-UX
Owner: mea...@chromium.org
Adding some Enamel people for a question that came up during the review: If an image link also has a title attribute, should we show the title or the URL in the Android context menu? Would it be a security issue if we didn't show the URL anymore?
I'm getting errors from the links at #1. Can you please reupload?
Ping re #5
I can't open the links from #1 either.
This is reproducible by going to the website https://xkcd.com/2005/ and following the steps listed.
Owner: amalova@chromium.org
Re comment #4: Is the URL the target URL being displayed in the current context menu and the one under "Link" in the new one? If so, not showing it is fine -- what matters is the final origin the user ends up on after all the navigations are completed.

Assigning back to amalova.
The URL which is showed is a new URL. In the provided example the image URL from xkcd.com points to another site. How safe is to hide this URL and show title attribute of image instead?

Sign in to add a comment