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

Use paragraph for title (vs heading or button) #164

Open
cdils opened this issue Oct 14, 2022 · 2 comments
Open

Use paragraph for title (vs heading or button) #164

cdils opened this issue Oct 14, 2022 · 2 comments

Comments

@cdils
Copy link

cdils commented Oct 14, 2022

For semantics, it's not always necessary for an accordion title to be a heading. Would love to see an option to use a paragraph instead.

image

@philbuchanan
Copy link
Owner

You can use the Button option for your purpose, and then add the specific styling you want via CSS.

@cdils
Copy link
Author

cdils commented Nov 1, 2022

I was addressing the semantically correct markup rather than the styles.

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

No branches or pull requests

2 participants