filamentphp / filament

A collection of beautiful full-stack components for Laravel. The perfect starting point for your next app. Using Livewire, Alpine.js and Tailwind CSS.

Home Page:https://filamentphp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Valid nested headings

zepfietje opened this issue · comments

Currently the section component uses <h3> for its headings.
Similarly, table headings use <h4>.

In reality, people use nested sections and tables may be top-level components.
I think it's time for Filament to support dynamically rendering the right heading element to produce valid HTML.

Not sure how feasible this is, but just wanted to create this issue for discussion, @danharrin.

Donate 💰 to fund this issue

  • You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
  • 100% of the funding will be distributed between the Filament core team to run all aspects of the project.
  • Thank you in advance for helping us make maintenance sustainable!
Fund with Polar

Related #13310

Would releasing this as a bug fix in v3 be too breaking?
I mean, people might directly target the heading HTML elements in their custom CSS (hence I added the v4 milestone).

Yeah I think we should do v4