News for hackers. Stuff that matters.
Re:For Pete's Sake, Don't Touch HTML Inputs by andrei_says_ on Friday April 08, 2022 @12:15PM (#30959036)
I most of my apps, I don’t - including an event registration system dedicated to form generation.

However, I wish everyday that It was possible to make browser-rendered radio buttons and checkboxes larger than the default as I’m often targeting users over 60.

Currently the only reliable way is to hide these inputs and replace them with images. We opt for the default elements which are a bit small and not size-able via css.

Re:For Pete's Sake, Don't Touch HTML Inputs by recursive on Friday April 08, 2022 @12:23PM (#30959118)
Associate a label with the inputs to get arbitrarily large click targets.
Re:For Pete's Sake, Don't Touch HTML Inputs by kripke on Friday April 08, 2022 @12:43PM (#30959406)
I almost never click on a radio/checkbox input because clicking on the label is just so much easier, and I loathe when a fast-and-loose web developer neglects to properly set up labels for their checkboxes. That said, outside of tech circles, few people are aware that you can usually click on the text associated with a checkbox instead of the checkbox itself, so I'm not sure it would help much for a target demographics of "users over 60".

Unless of course you were suggesting to use labels to implement bigger visual checkboxes, which I gather is what the GP is already referring to with "Currently the only reliable way is to hide these inputs and replace them with images."

Re:For Pete's Sake, Don't Touch HTML Inputs by Tagbert on Friday April 08, 2022 @01:52PM (#30960326)
Do users know that they can click on the labels?
Re:For Pete's Sake, Don't Touch HTML Inputs by voussoir on Friday April 08, 2022 @07:03PM (#30963559)
Even if they aren't consciously aware of it as a rule, it almost certainly helps people who put the mouse over what they're reading, and then try to click the checkbox. Higher chance of success.
Re:For Pete's Sake, Don't Touch HTML Inputs by aendruk on Friday April 08, 2022 @01:59PM (#30960417)
I notice when I can’t.