Context Menu should launch from center of focused item, not upper left
Categories
(Core :: Disability Access APIs, defect, P1)
Tracking
()
People
(Reporter: morgan, Assigned: morgan)
References
(Blocks 1 open bug)
Details
(Whiteboard: [mac2020_1][qa-triaged])
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
We should use x_coord = rect.x + rect.height/2 and y_coord = rect.y + rect.height/2 to get the center coordinate when creating our layout point.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Comment 3•5 years ago
|
||
bugherder |
Comment 4•5 years ago
|
||
This bug affects Firefox 76, which got context menu as a new accessibility feature in MacOS. This should be uplifted to beta 76. Morgan, can you request uplift?
Assignee | ||
Comment 5•5 years ago
|
||
Comment on attachment 9138640 [details]
Bug 1627763: Adjust coordinates of layout point for launching context menu.
Beta/Release Uplift Approval Request
- User impact if declined: VoiceOver users will continue to receive incorrect context menus after performing the "show menu" action.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: 1. Navigate to
data:text/html,<img alt="Firefox" src="https://www.mozilla.org/media/protocol/img/logos/firefox/logo-word-hor.96f28a0f9ae6.svg" width="125" height="40"><a name="Meet the Family" href="/en-GB/firefox/accounts/" >Meet the Family</a>
- Enable VoiceOver
- Enter web content (Opt + CMD + Shift + Down)
- With cursor on image, launch context menu (CMD + Opt + Shift + M)
Expected: a context menu for an image (ie. Save image, etc.) is launched
- Hit escape to close current context menu
- Move to link (CMD + opt + right arrow)
- Launch context menu on link
Expected: context menu for link (ie. Bookmark link, etc.) is launched
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This patch is not (yet) covered by automated tests, however our the current context menu code is not usable and, though there may be more issues to uncover, this is a substantial improvement for users.
- String changes made/needed:
Assignee | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Comment on attachment 9138640 [details]
Bug 1627763: Adjust coordinates of layout point for launching context menu.
Approved for 76.0b2.
Comment 7•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Comment 8•5 years ago
|
||
Confirmed issue with 76.0a1 (2020-04-05), verified fix with 76.0b2, 77.0a1 (2020-04-08) on macOS 10.15.3.
Description
•