メインコンテンツにスキップ

フォーム

フォーム関連の要素と属性

Forms Experience & Sentiment

Surprisingly, <input type="color"/> was the most used form-related feature this year, with 41.8% of respondents reporting having used it.

But when looking at positive sentiment, basic UI building blocks like autocomplete (<datalist>) and dropdowns (Customizable Select) top the rankings, showing that developers value features that are customizable and can be tailored to their needs.

グループ化:

ソート基準:

1
フォーム
48.9%
39.5%
10.7%
2
フォーム
44.1%
32.8%
21.7%
3
フォーム
19.1%
30.3%
50.1%
4
フォーム
19%
47.8%
32.5%

経験

  • 使ったことがある: Respondents who have used an item.
  • 知っている: Respondents who have heard about an item, but haven't used it.
  • 知らない: Respondents who have never heard about an item.

所感

  • 肯定的: その技術について詳しく知りたい、あるいは今後も継続して利用したいと考えている回答者。
  • 中立: その技術に対して、肯定・否定のどちらの感情も示さなかった回答者
  • 否定的: その技術についてこれ以上学ぶ意欲がない、あるいは、実際に使用して否定的な印象を抱いた回答者。

フォームの問題点

Styling & customization of default form control UI elements remains a big stumbling block, with nearly half of pain points being about it.

Form validation is also a problem, especially when it comes to more advanced use cases like validating one field's value based on another.

HTMLフォームに関してどのような問題を抱えていますか?
Freeform
Multiple
Top pain point topics overall.

View:

Items that are not one of “limitations”
0%
20%
40%
60%
80%
100%
01
Styling & customization
6
02
Input element issues
9
03
Browser vendor issues
3
+1
04
Form Validation
7
-2
05
Accessibility
1
+1
06
End-user experience
+12
07
Developer Experience
08
Cognitive overload
+5
09
Editing APIs
1
+7
10
Reliance on JavaScript
-1
11
Forms & JS
1
+6
12
Form handling
1
13
1
+7
14
Label issues
15
Education
16
17
State management
1
18
HTTP actions
19
Reliance on frameworks
20
Form Submission
-10
21
Technical issues
1
22
<button>
23
Multi-step forms
0%
20%
40%
60%
80%
100%

おすすめのリソース

CSS-only Form Validation Hints
Kevin Powell

CSS-only Form Validation Hints

A look at how we can use CSS to add contextual hints to users as they fill out a form, including creating an SVG by hand and animating it based on whether a field is valid or invalid.
パートナーのサポートに感謝しています! 詳細をみる。