ember-components / ember-component-patterns

Transforming https://emberjs-1.gitbook.io/ember-component-patterns/ into an Ember app
7 stars 2 forks source link

<LinkableHeader /> component only supports one header level #16

Open hergaiety opened 3 years ago

hergaiety commented 3 years ago

The <LinkableHeader /> component (introduced in this PR which resolved this issue) should support more than just h2 level headings for A11y purposes.

To be honest, I'm unsure of the best way to handle this in Ember's templating language. Open to however a contributor is inspired to solve this.

lifeart commented 3 years ago

https://github.com/tildeio/ember-element-helper may solve given case