Orckestra / CMS-Packages

Add-ons for C1 CMS
https://cms.orckestra.com/Add-ons
13 stars 21 forks source link

[Composite.Forms.FormBuilder] Comply with WCAG #94

Open InnaBoitsun opened 5 years ago

InnaBoitsun commented 5 years ago

Requested by Søren Larsen Can you also please make sure the package comply with WCAG?

In \Frontend\Composite\Forms\FormBuilder\Form.js

} else if (element.parent().parent('.checkbox, .radio').length) {

error.insertAfter(element.parent().parent().parent());

change to

} else if (element.parent().parent('.checkbox, .radio').length) {

error.insertAfter(element.parent().parent().parent().children().last());

to move inside

(below all
) instead of after