ampproject / ampproject/amphtml
Click-to-call not working on Google AMP Viewer
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
From my mobile, when I access to my AMP website by searching it through Google, I'm sent to it in the Google AMP Viewer. I've a click-to-call button but it doesn't work (nothing happens when I click on it, sometimes it works by clicking many times on it).
If I access my AMP website by typing directly URL, I access my website and click-to-call works fine.
### Reproduction Steps
- Type "pharmacie de garde tours" in Google France on mobile
- Search for my website (pharmacie-degarde.com)
- Navigate on it
- Try to click the blue button in header, this should open your call app on your phone
### Relevant Logs
_No response_
### Browser(s) Affected
_No response_
### OS(s) Affected
_No response_
### Device(s) Affected
_No response_
### AMP Version Affected
_No response_
Contributor guide
Research direction
Start by reproducing the reported click-to-call failure in the Google AMP Viewer on mobile using the listed search and site flow, then compare it with direct URL access. Investigate the AMP Viewer-specific click behavior; done means the blue header button reliably opens the phone's call app in the viewer without breaking direct access.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100