altinn-studio icon indicating copy to clipboard operation
altinn-studio copied to clipboard

It's possible to create form components without label

Open Febakke opened this issue 6 years ago • 3 comments

Describe the bug

Related to solution of this bug: Altinn/altinn-studio#1746

You can create form components and delete the label (ledetekst). This will create visual bugs where there are no padding between components. This will also introduce WCAG issues as we do not have any alternatives for adding label outside "ledetekst".

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'lage' in Altinn Studio
  2. Drag a 'kort svar' into your form
  3. Delete 'ledetekst'
  4. Run test

Expected behavior

If we allow users to create form field without labels, distance between components should be consistent with the design. Should we warn the user that they are breaking WCAG if they create form components without labels?

Screenshots

Skjermbilde 2019-11-11 kl  09 42 18

Febakke avatar Nov 11 '19 08:11 Febakke

Only solve by documentation in MVP

lvbachmann avatar Nov 13 '19 07:11 lvbachmann

To be solved/documented by Altinn/altinn-studio#3125

lvbachmann avatar Nov 23 '19 12:11 lvbachmann

Documented - but should be solved. Moved to later iteration.

lvbachmann avatar Nov 25 '19 07:11 lvbachmann