| Whenever I stumble upon yet another UI/CSS framework, I always check the form elements first. Here we go.[1] * _Every_ input needs a <label>. * Use the `for` attribute to connect labels and inputs. * Placeholders are not a replacement for labels. You don’t need placeholders just for the sake of it.[2] * Do not build custom form elements if it can be done without them. There is no need for the dropdown, just use <select>. * Do use <fieldset> and <legend> to group multiple checkbox/radio inputs. * Error texts should be connected to the particular input via `aria-describedby`. * Do use the `required` attribute if form fields are mandatory. [1]: https://oatw.github.io/luda/0.1.x/elements/form, https://oatw.github.io/luda/0.1.x/patterns/form-group [2]: https://www.w3.org/WAI/tutorials/forms/instructions/#placeho... |
- check the contrast accessibility: it seems very poor for read-only fields due to the opacity. Even the default seems low for body text.
I think there’s great documentation of customization, but I had a few questions related to design decision:
Why data-readonly and not use readobly and other browser native html5 attributes like validation?
Why flexbox and not grid? If you’re only targeting latest browsers: this could provide some greater power.
Another thing I noticed is that FF is noted as not supporting CSS scrollbsrs, but it is coming: will Luda be updated when it’s available?