Hi @kmbrlyb,
I suppose you meant the radio fields which gets selected? You can use .forminator-radio-bullet class and see if that helps with making the changes.
You can check the following on how to add the padding:
https://www.w3schools.com/css/css_padding.asp
The CSS can be added by editing the form and by enabling the “Custom CSS” section under Appearance > Custom CSS
Regards,
Nithin
Thank you!
This is what I went with in the end:
forminator-module-372 input[type=”radio”] {
padding: 12px;
}
I never found a way to actually increase the padding. This just effectively increased the size of the bullet so it’s pretty large. Still, It is now accessible. Since accessibility is a legal requirement in many instances, I’m surprised more plugins don’t naturally account for it.
Hi @kmbrlyb
Please consider this selector:
#forminator-module-372 .forminator-radio-bullet
and higher padding like 18px for example. Also please note that the whole label is clickable, not only the radio button itself.
Kind Regards,
Kris
Thanks for the reminder about the labels. That certainly helps with some radio options. Unfortunately, I’m using a scale with “OK” as an option so it is still too small.
Increasing the padding on the selectors that you mentioned didn’t seem to effect the clickable area on the form, but thank you for trying to help!
Hi @kmbrlyb
An alternative would be to increase the width & height of the element but it would be similar to applying some extra padding.
However, are you getting any validation issues?
I used Lighthouse from Chrome + some online accessibility checker and couldn’t find any report for clickable elements.
Best Regards
Patrick Freitas
Hi Patrick,
The code I ended up using, although specifying “padding” actually did change the size of the bullet. So that is what I ended up with. Visually, I think the bullets looks a little too large, but I’m fine with sacrificing a little aesthetics for accessibility.
I use a 125 point manual heuristic review developed by Maigan Thomas with Level 11 Technology to access website accessibility WCAG AA compliance. The criteria for 44px x 44px targetable area is technically a WCAG AAA criteria (https://www.w3.org/WAI/WCAG21/Understanding/target-size , but considered best practice and helps those whose fine motor is affected as well as those using touchscreens. Lighthouse and other accessibility checkers can be very helpful in identifying some issues, but I haven’t found one that is as comprehensive as a manual review. I use Chrome’s inspect tool to check the element. I can see visually that my 44x44px bullet point does not have clickable space outside of the bullet when I hover my mouse so I can confirm that no additional padding was added to the outside of the bullet. The original bullet was 20x20px which is pretty darn small for a clickable space.
Hello @kmbrlyb,
Thank you for letting us know, and we are glad to hear you’ve found a suitable solution, by increasing the bullet size.
Since CSS customization is beyond our support scope, if you’d like to tweak the styles further, you can consider hiring a developer for that.
For instance, you can refer to the WordPress jobs directory: https://jobs.wordpress.net/
If you need further advice about it, feel free to email wpsupport@incsub.com, with the following subject: ATTN: WPMU DEV support – wp.org
Best Regards,
Dmytro
Hello @kmbrlyb
We haven’t heard from you in some time, so I will mark this thread as resolved. If you have any more questions or need further assistance, please let us know!
Kind Regards,
Amin