aarongustafson / form-required-checkboxes

Web component that enables requirement rules for checkbox groups
MIT License
4 stars 0 forks source link

Use of <small> #3

Closed plousia closed 2 months ago

plousia commented 2 months ago

I'd recommend against the use of the element, keeping in mind people with low vision.

aarongustafson commented 2 months ago

Semantically, small is intended for small print which feels analogous to field descriptions to me. Browser default size for small is legible and it remains scalable. It's also customizable with CSS. I can make it a configurable property though if you want to file that as a separate enhancement request.

plousia commented 2 months ago

Yeah I'm sure it's arguable, but I'm not sure small font size is inherently necessary for field descriptions so much as it is sort of a convention. After all, they are meant to be read. It seems better to me to default to readable rather than making people customize the size, but a lot of accessibility is opinion and this is mine FWIW.