Fenix: Display link text in context menu

Created on 17 Oct 2019  路  6Comments  路  Source: mozilla-mobile/fenix

Originally filed as part of #6064 by @marcinwiacek

Why/User Benefit/User Problem

Current context menu on web pages (available after longer pressing link/image) is displaying menu options + URL.

This is not very user friendly - URLs are many times complicated and user can't check if there was pressed correct link.

What/Requirements

It should display at URL + title in the header of context menu - see https://bugs.chromium.org/p/chromium/issues/detail?id=847454#c19

Acceptance Criteria (how do I know when I鈥檓 done?)

There is displayed more info about URL in the context menu. If it's an image the alt text should be used (#580).

ContextMenu feature request 馃専

Most helpful comment

Please display URL AND text (title, alt, etc.), not text INSTEAD OF URL.

Both info are very useful (also, when we will have tabs, we can display separately text info for link and picture).

All 6 comments

Please display URL AND text (title, alt, etc.), not text INSTEAD OF URL.

Both info are very useful (also, when we will have tabs, we can display separately text info for link and picture).

I agree, there are a lot websites that has one title for a lot of pages

On webcompat.com, users are also suggesting to allow them to expand truncated alt-text when long-tapping on an image like Xkcd comics: https://webcompat.com/issues/42153

In Chrome there were three context menus:

  1. classical - one tab, expandable URL or text (depends on object)
  2. tabbed - one or more tabs, AFAIR expandable URL, not available anymore in Canary
  3. revamped - one tab, short non-expandable text + expandable URL

I highly suggest to go into tabbed menu + expandable text+expandable URL in link tab in header + expandable text in other tabs

This is a dupe of #580. Unless you want the text for the anchor element to be displayed.

https://github.com/mozilla-mobile/fenix/issues/6065#issuecomment-543080065 - I'm proposing, that we can display info for link, but also info for pictures.

Was this page helpful?
0 / 5 - 0 ratings