filepond
filepond copied to clipboard
WCAG Validation error for fieldset without legend
Is there an existing issue for this?
- [X] I have searched the existing issues
Have you updated FilePond and its plugins?
- [X] I have updated FilePond and its plugins
Describe the bug
WCAG validator tool gives error for use of fieldset-element without legend.
After adding a file for upload:
fieldset needs legend to be valid. can this filepond--data element be a div instead?
Reproduction
go to: https://pqina.nl/filepond/#examples
using wcag validator tool bookmarklet (https://squizlabs.github.io/HTML_CodeSniffer/) to validate page
Tool will report 11 errors but error number 2 refers to this: "Fieldset does not contain a legend element. All fieldsets should contain a legend element that describes a description of the field group."
Environment
- Device:all
- OS:all
- Broser:all
good idea to switch that to a <div>
, it only contains hidden fields, PR is welcome