Image alt-text is not shown in context menu when image is a link. |
|||||
Issue descriptionFiling 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!
,
Jun 26 2018
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.
,
Jun 26 2018
,
Jul 16
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?
,
Jul 16
I'm getting errors from the links at #1. Can you please reupload?
,
Jul 23
Ping re #5
,
Jul 24
I can't open the links from #1 either.
,
Jul 25
This is reproducible by going to the website https://xkcd.com/2005/ and following the steps listed.
,
Jul 25
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.
,
Aug 7
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 |
|||||
Comment 1 by pnangunoori@chromium.org
, Jun 21 2018