Regardless of whether data-required is set to true, false, or not even included, both checkbox and radio experience problems with the attribute. Regardless of what it's set to, an error appears when a value is not picked and the page focus shifts from the field. For checkbox, the required error appears under the checkbox. For radio, the first radio option's text turns to red and a blank space appears underneath, where one might expect to see an error message.
On top of this, if data-required is set to true, then that isn't even reflected in the DOM.
Regardless of whether data-required is set to true, false, or not even included, both checkbox and radio experience problems with the attribute. Regardless of what it's set to, an error appears when a value is not picked and the page focus shifts from the field. For checkbox, the required error appears under the checkbox. For radio, the first radio option's text turns to red and a blank space appears underneath, where one might expect to see an error message.
On top of this, if data-required is set to true, then that isn't even reflected in the DOM.