Skip to content

accordion を details-summary に変更#717

Open
Hidetaro7 wants to merge 5 commits intomainfrom
feat-accordion-details-summary
Open

accordion を details-summary に変更#717
Hidetaro7 wants to merge 5 commits intomainfrom
feat-accordion-details-summary

Conversation

@Hidetaro7
Copy link
Copy Markdown
Contributor

@Hidetaro7 Hidetaro7 commented May 22, 2025

resolve #275

@Hidetaro7 Hidetaro7 requested a review from Copilot May 22, 2025 09:06
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented May 22, 2025

Deploying jumpu-ui with  Cloudflare Pages  Cloudflare Pages

Latest commit: bfb481d
Status: ✅  Deploy successful!
Preview URL: https://3fac8d3a.jumpu-ui.pages.dev
Branch Preview URL: https://feat-accordion-details-summa.jumpu-ui.pages.dev

View logs

This comment was marked as outdated.

Hidetaro7 and others added 2 commits September 5, 2025 15:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Hidetaro7 Hidetaro7 requested a review from Copilot September 5, 2025 06:15

This comment was marked as outdated.

@Hidetaro7 Hidetaro7 requested a review from Copilot September 5, 2025 06:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors accordion components from a custom button-based implementation to use native HTML <details> and <summary> elements. This change simplifies the markup by removing the need for custom JavaScript and ARIA attributes, leveraging browser-native collapsible functionality.

  • Replaced custom accordion implementation with semantic HTML <details>/<summary> elements
  • Removed ARIA attributes that are now handled natively by the browser
  • Updated CSS classes and structure to work with the new semantic elements

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Accordion は detail要素 〜 summary要素でマークアップ

2 participants