Changes between Version 2 and Version 3 of Ticket #32338
- Timestamp:
- Jan 10, 2021, 9:58:13 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32338 – Description
v2 v3 23 23 - Wrapping the fields in list items also makes the form more verbose than it should be (and the semantics issues are the same). 24 24 25 == Documentation issues 26 27 Additionally to the above, there are a few occurences of custom radio/checkbox markup in the documentation that will lead to the same issues: 28 29 - https://docs.djangoproject.com/en/3.1/ref/forms/widgets/#radioselect 30 - https://docs.djangoproject.com/en/3.1/intro/tutorial04/#write-a-minimal-form 31 25 32 == Proposed solution 26 33 27 Essentially following [https://www.w3.org/TR/WCAG20-TECHS/H71 technique H71] of WCAG. The ideal solution is identical for both :34 Essentially following [https://www.w3.org/TR/WCAG20-TECHS/H71 technique H71] of WCAG. The ideal solution is identical for both widgets, and also for documentation code snippets: 28 35 29 36 1. Wrap the group of fields in a `fieldset`, including the group’s label, the inputs, the help text, and any errors.