import { storiesOf, html } from '@open-wc/demoing-storybook'; import '../lion-fieldset.js'; storiesOf('Forms|Fieldset', module) .add( 'Default', () => html`

A native fieldset element should always have a legend-element for a11y purposes. Our fieldset element is not native and should not have a legend-element. Our fieldset instead has a label attribute or you can add a label with a div- or heading-element using the slot="label". Please don't use the the label-element because that is reserved for input-elements.

`, ) .add( 'Data', () => html` `, ) .add( 'Sub Fieldsets Data', () => html`
Personal data

`, );