-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add technical identifiers for questions #1553
Conversation
34df0a7
to
7a15be9
Compare
2985c69
to
686aeff
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1553 +/- ##
============================================
- Coverage 40.16% 40.03% -0.14%
- Complexity 560 562 +2
============================================
Files 54 55 +1
Lines 2365 2378 +13
============================================
+ Hits 950 952 +2
- Misses 1415 1426 +11 |
686aeff
to
3f0f96d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please squash the two commits in one before merging? I don't think that it's really needed to have two commits here :) Rest seems fine.
3f0f96d
to
d474b1d
Compare
@Chartman123 Shure, done. The second commit was just for review purpose to see why I changed it :) |
@susnux Please also add the new prop to the API docs :) |
Technical identifiers allow to map form questions to custom data. On the frontend those identifiers are implemented as `name` props on the form elements. The name attribute for technical identifier should be mapped to all options so a `fieldset` is introduced around radio / checkbox buttons. Added required aria label for `fieldset` (labeled by the question title). Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
d474b1d
to
46dfde2
Compare
Done ✔️ |
Summary
Technical identifiers allow to map form questions to custom data.
On the frontend those identifiers are implemented as
name
props on the form elements.Screenshots
Name input:
Other notes
The name attribute for technical identifier should be mapped to all options so a
fieldset
is introduced around radio / checkbox buttons.Added required aria label for
fieldset
(labeled by the question title).