3 ms·
1. I get that short and simple code snippets are important in order to understand the fundamentals of a framework, but people with little experience will just c
by zichy 7y ago
1. I get that short and simple code snippets are important in order to understand the fundamentals of a framework, but people with little experience will just copy the code in your documentation 1:1. I believe that semantic and accessible code snippets are very important. The way you constructed some elements[1] also suggests that there are no labels necessary.
2. & 3. There seems to be a general misunderstanding with a lot of frameworks about what needs to be customized. Native browser elements are always to be preferred - they are known by the users, accessible, and just work. Custom elements often are a lot more about design than usability and not wanting to "break" the designer's creation. A server-sided validation is of course necessary in both cases nevertheless. Custom client-sided validation can be useful in complex forms though.
3. You’re right, there are examples of both custom and native select elements.
4. Cool, thanks!
[1] e.g. https://oatw.github.io/luda/0.1.x/elements/form#select-field https://oatw.github.io/luda/0.1.x/elements/form#select-field
- oatw 7y agoVery professional advice! I cannot promise to follow all the directions, but I'll do some modifications in Luda according to your advice. Thanks!