saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
34.27k stars 1.31k forks source link

bug: header elements cannot be placed inside a footer element #2789

Closed bempensato closed 10 months ago

bempensato commented 10 months ago

What version of daisyUI are you using?

4.6.0

Which browsers are you seeing the problem on?

All browsers

Reproduction URL

https://daisyui.com/components/footer/

Describe your issue

Hello, your footer examples need a small fix, as specified by w3c (https://www.w3schools.com/tags/tag_header.asp) and mdn (https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header#technical_summary) header elements cannot be placed inside a footer element, should consider using divs?

Originally posted by @bempensato in https://github.com/saadeghi/daisyui/issues/2294#issuecomment-1908788727

github-actions[bot] commented 10 months ago

Thank you @bempensato for reporting issues. It helps daisyUI a lot ๐Ÿ’š
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.