Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
When using a boolean field like AcceptTerms
in SfDataForm
, the generated checkbox markup wraps the <input>
inside a <label>
without any visible or accessible label text. This results in:
This fails accessibility tests (e.g.Wave tools) and violates WCAG 2.1 [1.3.1 Info and Relationships].
Replication :
1. Run the sample
2. Inspect the window ( use wave tool )
3. See that issue .
Expected Output:
Label should contain descriptive text like "Accept Terms and Conditions" or use a for
attribute pointing to the checkbox input's id
. Need to remove that issue ( Empty form label ) .
Current Output:
Label is empty and unlinked