Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(collapsible): use <details> & <summary> #326

Open
infograafikko opened this issue Jan 23, 2024 · 0 comments
Open

chore(collapsible): use <details> & <summary> #326

infograafikko opened this issue Jan 23, 2024 · 0 comments

Comments

@infograafikko
Copy link

infograafikko commented Jan 23, 2024

Is your feature request related to a problem? Please describe.
Collapsible box has been implemented using div's but <details> tag has now wide support. Would it be easier for screen readers and inspectors to make the element using <details> tag?

Describe the solution you'd like
Replace <div> solution with <details>

Link describing <details> tag https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details

Example:

What is Kobalte? Kobalte is a UI toolkit for building accessible web apps and design systems with SolidJS. It provides a set of low-level UI components and primitives which can be the foundation for your design system implementation.
@jer3m01 jer3m01 changed the title Feature Request: <details> & <summary> for collapsible box chore(collapsible): use <details> & <summary> Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📚 Backlog
Development

No branches or pull requests

1 participant