ampproject / ampproject/amphtml
[amp-accordion] Sections in accordion are not expanding
- Dominant language
- JavaScript
- Stars
- 14.9k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
User should be able to expand sections in dynamic accordion upon a click. Read the repro steps below for the details
### Reproduction Steps
Testing environment:
Safari Version 15.5 (17613.2.7.1.8)
**Steps to repro:**
1. Open Safari browser on macbook device;
2. Open test link: https://playground.amp.dev/?url=https%3A%2F%2Fpreview.amp.dev%2Fdocumentation%2Fexamples%2Finteractivity-dynamic-content%2Fdynamic_accordion&format=websites
3. Try tapping on sections with the names of continents
4. See the result
**Actual Result:** sections with the name of continents are not expanding upon a click
**Expected Result:** sections should expand and display the content
**NOTE!!!** Problem appears only on the Safari Desktop browser
Screenshot:

### Relevant Logs
_No response_
### Browser(s) Affected
Safari
### OS(s) Affected
_No response_
### Device(s) Affected
_No response_
### AMP Version Affected
_No response_
Contributor guide
Research direction
Start by reproducing the failure in Safari Desktop using the dynamic accordion test link in the issue, then locate the amp-accordion implementation responsible for handling section clicks. Done means continent sections expand on click and display their content in Safari without breaking the existing behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100