themesberg / themesberg/flowbite
Accordian initial aria-expanded="false' on first item doesn't work as expected
Open
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 862
- PR merge metrics
- No merged PRs in 30d
Description
When setting aria-expanded="false" on all item buttons it still opens the first item and causes a double-click needed to expand.
Create any accordion and set all buttons with area-expanded="false"
I expect all items to be collapsed initially.
- OS: macOS
- Browser: chrome, safari, brave, etc.
- Version: latest
Using Nuxt3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce an accordion in Nuxt3 with every item button set to aria-expanded="false" in Chrome, Safari, or Brave. Trace the accordion entry point responsible for initial state and activation behavior; done means all items start collapsed and each expands on the first click without requiring a double-click.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, nuxtjs, tailwindcss
- Domain
- accessibility, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100