-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstate_of_html.yml
More file actions
975 lines (820 loc) · 52.2 KB
/
state_of_html.yml
File metadata and controls
975 lines (820 loc) · 52.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
locale: th-TH
namespace: html
translations:
###########################################################################
# General
###########################################################################
# Intro for stateofhtml.com
- key: general.state_of_html.intro
t: |
ในขณะที่นักพัฒนาเว็บส่วนใหญ่มักจะเน้นที่ JavaScript และ CSS แต่สิ่งที่เราทำทั้งหมดนี้จะเป็นไปไม่ได้เลยหากไม่มี HTML เป็นพื้นฐาน
นานแล้วที่ดูเหมือนว่า HTML จะไม่มีการพัฒนา แต่สิ่งต่างๆกำลังเปลี่ยนไป
มี Element ใหม่ๆเช่น `<selectlist>` ที่กำลังจะมา ฟีเจอร์ใหม่สุดเจ๋งเช่น popovers
และ API เบราว์เซอร์ที่เกี่ยวข้องจำนวนมาก (Web Components, PWAs ฯลฯ)
ปีนี้ [Lea Verou](https://lea.verou.me/) ได้เข้ามารับภารกิจที่ท้าทายในการนำการออกแบบแบบสำรวจใหม่เอี่ยมนี้ ตั้งแต่เนื้อหาไปจนถึง UX และอื่นๆ
สร้างต่อจากความสำเร็จของ [State of JS](http://stateofjs.com/) และ [State of CSS](https://stateofcss.com/) เราขอนำเสนอ **State of HTML**;
แบบสำรวจชิ้นสุดท้ายที่ทำให้ไตรภาคสมบูรณ์ เพื่อที่เราจะสามารถติดตามวิวัฒนาการของแพลตฟอร์มเว็บในภาพรวม
คุณได้อะไรบ้าง:
- ผลการสำรวจจะ**ถูกใช้โดยเบราว์เซอร์**และกลุ่มส่วนกลาง**สำหรับการจัดลำดับความสำคัญของโรดแมป**
คำตอบของคุณสามารถช่วยให้ฟีเจอร์ที่คุณสนใจได้รับการดำเนินการ ความไม่เข้ากันของเบราว์เซอร์ได้รับการแก้ไข และช่องว่างในแพลตฟอร์มได้รับการแก้ไข
- เรียนรู้เกี่ยวกับฟีเจอร์ใหม่และที่จะมาในอนาคต เพิ่มฟีเจอร์ไว้อ่านทีหลัง และรับแหล่งข้อมูลเมื่อเสร็จสิ้น!
- รับคะแนนความรู้ส่วนตัวและเปรียบเทียบมันกับผู้เข้าร่วมคนอื่น
แบบสำรวจจะเปิดเป็นเวลา 3 สัปดาห์ แต่คำตอบที่ป้อน**ภายใน 9 วันแรก (จนถึง 1 ตุลาคม)**จะมีผลกระทบมากขึ้นบนแพลตฟอร์มเว็บ
เนื่องจากข้อมูลเบื้องต้นจะถูกใช้เพื่อการจัดลำดับความสำคัญที่มีเส้นตายก่อนเวลานั้น
- key: general.state_of_html.description
t: แบบสำรวจนักพัฒนาซอฟแวร์ประจำปีเกี่ยวกับแพลตฟอร์มเว็บ
###########################################################################
# Sections
###########################################################################
- key: sections.forms.title
t: ฟอร์ม
- key: sections.forms.description
t: Elements and attributes ที่เกี่ยวกับฟอร์ม
- key: sections.interactivity.title
t: Interactivity (การโต้ตอบ/ปฏิสัมพันธ์)
- key: sections.interactivity.description
t: API ที่ช่วยให้เกิด Interactivity ที่สมบูรณ์ยิ่งขึ้น
- key: sections.web_components.title
t: Web Components
- key: sections.web_components.description
t: การสร้างและการใช้ Web Components
- key: sections.content.title
t: เนื้อหา
- key: sections.content.description
t: การฝังมัลติมีเดีย ข้อมูล และฟีเจอร์ที่เกี่ยวข้องกับเนื้อหาอื่นๆ
- key: sections.external_content.title
t: เนื้อหาภายนอก
- key: sections.external_content.description
t: การฝังทรัพยากรภายนอก และ API มัลติมีเดียอื่นๆ
- key: sections.accessibility.title
t: การเข้าถึง
- key: sections.accessibility.description
t: การทำให้เว็บไซต์และแอปเข้าถึงได้สำหรับทุกคน
- key: sections.mobile_web_apps.title
t: แอปเว็บที่คล้ายกับ Native
- key: sections.mobile_web_apps.description
t: การพัฒนาเว็บแอปที่ปรับให้เหมาะสมกับมือถือและเดสก์ท็อป
- key: sections.other_features.title
t: ฟีเจอร์อื่นๆ
- key: sections.other_features.description
t: Element HTML อื่นๆและ API เบราว์เซอร์อื่นๆ
- key: sections.other_tools.title
t: เครื่องมืออื่นๆ
- key: sections.other_tools.description
t: เครื่องมืออื่นๆที่คุณใช้เป็นส่วนหนึ่งของงานของคุณ
- key: sections.usage.title
t: การใช้งาน
- key: sections.usage.description
t: วิธีการที่คุณใช้ HTML
###########################################################################
# Features
###########################################################################
# forms
- key: features.form_controls
t: การควบคุมฟอร์ม
- key: features.form_controls.question
t: คุณเคยใช้การควบคุมฟอร์มแบบใดบ้าง?
- key: features.form_input_types
t: ประเภท Input
- key: features.form_input_types.question
t: คุณเคยใช้ประเภท Input ใดบ้าง?
- key: options.form_input_types.na
t: <span aria-hidden="true">🚫</span> ไม่มีเลย
- key: features.form_validation_features
t: การตรวจสอบฟอร์ม (Form Validation)
- key: features.form_validation_features.question
t: คุณเคยใช้ฟีเจอร์การตรวจสอบฟอร์มใดบ้าง?
- key: options.form_validation_features.na
t: <span aria-hidden="true">🚫</span> ไม่มีเลย
- key: features.forms_pain_points
t: Pain Point ของฟอร์ม
- key: features.forms_pain_points.question
t: Pain Point ของคุณที่มี่ต่อฟอร์ม HTML มีอะไรบ้าง?
- key: features.forms_pain_points.prompt
t: |
นึกถึงการควบคุมฟอร์มต่างๆ (เช่น `<input>`, `<textarea>`, `<select>`, `<button>` ฯลฯ),
พฤติกรรม (เช่น การตรวจสอบ การเติมข้อมูลอัตโนมัติ), การจัดการฟอร์มด้วย JS, การใช้ API สำหรับแก้ไข (เช่น `contentEditable`) ฯลฯ
อะไรก็ตามที่กวนใจคุณถือว่าเป็นประเด็น ไม่ว่าการสนับสนุนเบราว์เซอร์ ฟีเจอร์ที่ขาดหาย การจัดสไตล์ ฯลฯ
- key: features.forms_pain_points.placeholder
t: |
Pain point #{index}…
# interactivity
- key: features.dom_attribute_features
t: Method ที่เกี่ยวกับ DOM Attribute
- key: features.dom_attribute_features.question
t: คุณเคยใช้ method ที่เกี่ยวกับ DOM Attribute ใดบ้าง?
- key: features.dom_html_features
t: ฟีเจอร์การจัดการ String ของ HTML
- key: features.dom_html_features.question
t: คุณเคยใช้ฟีเจอร์การจัดการ String ของ HTML ใดบ้าง?
- key: features.dom_methods
t: วิธีการ Reparent DOM Element
- key: features.dom_moving_element_features
t: วิธีการย้าย Element ใน DOM
- key: features.dom_moving_element_features.question
t: คุณเคยใช้วิธีการย้าย Element ใน DOM อะไรบ้าง?
# - key: options.dom_methods.element_innerhtml.description
# t: |
# `element.innerHTML = rawHTML`
# - key: options.dom_methods.element_textcontent.description
# t: |
# `element.textContent = text`
# - key: options.dom_methods.element_insert_adjacent_html.description
# t: |
# `element.insertAdjacentHTML("beforebegin", rawHTML)`
# - key: options.dom_methods.element_insert_adjacent_element.description
# t: |
# `element.insertAdjacentElement("afterend", otherElement)`
# - key: options.dom_methods.element_append.description
# t: |
# `parent.append(...children)`
# - key: options.dom_methods.element_append_child.description
# t: |
# `parent.appendChild(child)`
# - key: options.dom_methods.element_before_after.description
# t: |
# `element.before(otherElement)`
# - key: options.dom_methods.element_replace_with.description
# t: |
# Replaced the older `parent.replaceChild(el2, el1)` method.
# - key: options.dom_methods.element_replace_child.description
# t: |
# `parent.replaceChild(newChild, oldChild)`
# - key: options.dom_methods.element_replace_children.description
# t: |
# `element.replaceChildren(...newChildren)`
# - key: options.dom_methods.element_toggle_attribute.description
# t: |
# `element.toggleAttribute("data-selected", isSelected)`
# - key: options.dom_methods.document_create_document_fragment.description
# t: |
# `let fragment = document.createDocumentFragment()`
- key: options.dom_methods.na
t: <span aria-hidden="true">🚫</span> ไม่มีเลย
- key: features.interactivity_pain_points
t: Pain Point ของ Interactivity
- key: features.interactivity_pain_points.question
t: Pain Point ของคุณเกี่ยวกับการเปลี่ยนแปลง HTML แบบไดนามิกมีอะไรบ้าง?
- key: features.interactivity_pain_points.prompt
t: |
ปัญหาการเข้ากันได้ของเบราว์เซอร์หรือการขาดการสนับสนุน, ฟีเจอร์ที่ขาดหาย, และปัญหาอื่นๆที่คุณเผชิญ
เกี่ยวกับ Element และความ Interactive (ยกเว้นฟอร์ม), การจัดการ DOM, events และ API ที่เกี่ยวข้อง
- key: features.interactivity_pain_points.placeholder
t: |
Pain point #{index}…
- key: features.interactivity_techniques
t: Interactivity Methods
- key: features.interactivity_techniques.question
t: คุณเคยใช้วิธีใดในการเพิ่มความ Interactive หรือแก้ไข HTML แบบไดนามิก?
- key: options.interactivity_techniques.css_for_interactivity
t: CSS สำหรับความ Interactive (การสลับ แท็บ ฯลฯ)
- key: options.interactivity_techniques.js_dom_libraries
t: ไลบรารี DOM ของ JavaScript (เช่น jQuery)
- key: options.interactivity_techniques.js_framework
t: เฟรมเวิร์ก JavaScript (React, Vue ฯลฯ)
- key: options.interactivity_techniques.vanilla_js
t: Plain JavaScript (ไม่ใช้เฟรมเวิร์กหรือไลบรารี)
- key: options.interactivity_techniques.web_components
t: Web Components
- key: options.interactivity_techniques.na
t: <span aria-hidden="true">🚫</span> ไม่มีเลย
# content
- key: features.machine_readable_features
t: ข้อมูลที่เครื่องสามารถอ่านได้
- key: features.machine_readable_features.question
t: วิธีใดบ้างข้างต้นที่คุณเคยใช้ในการใส่ข้อมูลที่เครื่องอ่านได้เข้าใน HTML?
- key: options.machine_readable_features.rdfa.description
t: |
`property`, `typeof`, etc.
- key: options.machine_readable_features.json_ld.description
t: |
`<script type="application/ld+json">`
- key: options.machine_readable_features.microdata.description
t: |
`itemprop`, `itemscope`, etc.
- key: features.multiple_languages_support
t: การรองรับหลายภาษา
- key: features.multiple_languages_support.question
t: คุณทำงานในโปรเจกต์ที่ต้องรองรับมากกว่าหนึ่งภาษาบ่อยแค่ไหน?
- key: options.multiple_languages_support.never
t: ไม่เคย
- key: options.multiple_languages_support.infrequently
t: นานๆครั้ง (น้อยกว่าหนึ่งครั้งต่อปี)
- key: options.multiple_languages_support.frequently
t: บ่อย (มากกว่าหนึ่งครั้งต่อปี)
- key: options.multiple_languages_support.all_the_time
t: ตลอดเวลา
- key: features.i18n_features
t: ฟีเจอร์การแปลภาษา
- key: features.i18n_features.question
t: คุณเคยใช้ฟีเจอร์การแปลภาษาใดบ้าง?
- key: options.i18n_features.na
t: <span aria-hidden="true">🚫</span> ไม่มีที่กล่าวมา
# - key: options.i18n_features.intl_datetimeformat.description
# t:
# - key: options.i18n_features.intl_collator.description
# t:
# - key: options.i18n_features.intl_listformat.description
# t:
# - key: options.i18n_features.intl_numberformat.description
# t:
# - key: options.i18n_features.intl_messageformat.description
# t:
# - key: options.i18n_features.intl_pluralrules.description
# t:
# - key: options.i18n_features.intl_relative_time_format.description
# t:
# - key: options.i18n_features.intl_segmenter.description
# t:
# - key: options.i18n_features.intl_localematcher.description
# t:
- key: features.content_pain_points
t: Pain Point ของเนื้อหา
- key: features.content_pain_points.question
t: Pain Point ของคุณเกี่ยวกับการจัดการเนื้อหาใน HTML คืออะไรบ้าง?
- key: features.content_pain_points.prompt
t: |
นึกถึงการฝัง (มัลติมีเดีย iframes SVG ฯลฯ), ข้อมูลที่เครื่องอ่านได้, การแปลและปรับภาษาให้เข้ากับท้องถิ่น, ความปลอดภัยและความเป็นส่วนตัว, ประสิทธิภาพ ฯลฯ
ฟีเจอร์ที่ขาดหาย การเข้ากันไม่ได้ของเบราว์เซอร์ และปัญหาอื่นๆที่คุณเผชิญทั้งหมดถือว่าเป็นประเด็นได้
- key: features.content_pain_points.placeholder
t: |
Pain point #{index}…
# Content
- key: features.external_content_elements
t: Element เนื้อหาภายนอก
- key: features.external_content_elements.question
t: คุณเคยใช้ Element ใดบ้างในรายการต่อไปนี้?
- key: options.external_content_elements.na
t: <span aria-hidden="true">🚫</span> ไม่มีเลย
- key: features.privacy_security_features
t: |
ฟีเจอร์ความปลอดภัยและความเป็นส่วนตัว
- key: features.privacy_security_features.question
t: |
คุณเคยใช้ฟีเจอร์ความปลอดภัยและความเป็นส่วนตัวใดบ้างในรายการต่อไปนี้?
- key: options.privacy_security_features.na
t: <span aria-hidden="true">🚫</span> ไม่มีเลย
- key: features.rel_attribute
t: คำแนะนำแหล่งข้อมูล
- key: features.rel_attribute.question
t: |
คุณเคยใช้ค่าใดบ้างสำหรับ Attribute `rel` ของ `<link>` ?
# - key: features.external_content_pain_points
# t: External Content Pain Points
# - key: features.external_content_pain_points.question
# t: What are your biggest pain points around using external content in HTML?
# - key: features.external_content_pain_points.placeholder
# t: |
# Pain point #{index}…
# - key: features.external_content_pain_points.description
# t: |
# External content includes `<iframe>`, graphics and multimedia, etc.
# Web Components
- key: features.web_components_libraries
t: ไลบรารี Web Components
- key: features.web_components_libraries.question
t: คุณเคยใช้ไลบรารี Web Components ใดบ้าง?
- key: features.web_components_features
t: ฟีเจอร์ Web Component อื่นๆ
- key: features.web_components_features.question
t: คุณเคยใช้ฟีเจอร์ใดบ้างในรายการต่อไปนี้สำหรับ Web Components?
- key: options.web_components_features.host_pseudos.description
t: |
`:host`, `:host()`, `:host-context()`
- key: options.web_components_features.is_attribute.description
t: |
`<button is="fancy-button">`
- key: options.web_components_features.na
t: <span aria-hidden="true">🚫</span> ไม่มีเลย
- key: features.using_web_components_pain_points
t: Pain Point ในการใช้ Web Components
- key: features.using_web_components_pain_points.question
t: Pain Point ที่ใหญ่ที่สุดของคุณในการใช้ Web Components มีอะไรบ้าง?
- key: features.using_web_components_pain_points.prompt
t: การใช้ Web Components ที่คุณหรือผู้อื่นสร้างขึ้น, ฟีเจอร์ที่ขาดหาย, ความไม่เข้ากันของเบราว์เซอร์ ฯลฯ
- key: features.using_web_components_pain_points.placeholder
t: |
Pain point #{index}…
- key: features.making_web_components_pain_points
t: Pain Point ในการสร้าง Web Components
- key: features.making_web_components_pain_points.question
t: Pain Point ที่ใหญ่ที่สุดของคุณในการสร้าง Web Components มีอะไรบ้าง?
- key: features.making_web_components_pain_points.prompt
t: |
อะไรที่ขัดขวางไม่ให้คุณสร้าง Element ที่สุดแสนจะน่าทึ่งที่คุณจินตนาการไว้? ฟีเจอร์ที่ขาดหาย ความไม่เข้ากันของเบราว์เซอร์ ฯลฯ
- key: features.making_web_components_pain_points.placeholder
t: |
Pain point #{index}…
# Accessibility
# - key: features.accessibility_features
# t: Accessibility Features
# - key: features.accessibility_features.question
# t: Which of these accessibility features have you used?
- key: features.accessibility_tools
t: เครื่องมือการเข้าถึง
- key: features.accessibility_tools.question
t: คุณใช้เครื่องมือใดในการทดสอบการเข้าถึงบ้าง?
- key: features.accessibility_pain_points
t: Pain Point เกี่ยวกับการเข้าถึง
- key: features.accessibility_pain_points.question
t: Pain Point ใหญ่ที่สุดของคุณเกี่ยวกับการเข้าถึงเว็บไซต์คืออะไร? (Web Accessibility)
- key: features.accessibility_pain_points.placeholder
t: |
Pain point #{index}…
- key: features.accessibility_disabilities
t: ความบกพร่องของผู้ใช้
- key: features.accessibility_disabilities.question
t: คุณคำนึงถึงความบกพร่องใดบ้างเมื่อสร้างเว็บไซต์?
- key: options.accessibility_disabilities.hearing_impairments
t: การได้ยินบกพร่อง
- key: options.accessibility_disabilities.hearing_impairments.description
t: หูหนวก หูอื้อ ฯลฯ
- key: options.accessibility_disabilities.mobility_impairments
t: การเคลื่อนไหวบกพร่อง
- key: options.accessibility_disabilities.mobility_impairments.description
t: โรคข้ออักเสบ โรคการกดทับเส้นประสาท ฯลฯ
- key: options.accessibility_disabilities.learning_disabilities
t: ความบกพร่องทางการเรียนรู้
- key: options.accessibility_disabilities.learning_disabilities.description
t: โรคดิสเล็กเซีย ดิสคาลคูเลีย ฯลฯ
- key: options.accessibility_disabilities.cognitive_impairments
t: |
ความบกพร่องในการรู้
- key: options.accessibility_disabilities.cognitive_impairments.description
t: |
วิตกกังวล, ออทิซึม, OCD, ADHD ฯลฯ
- key: options.accessibility_disabilities.vestibular_disorders
t: ความผิดปกติของการทรงตัว
- key: options.accessibility_disabilities.vestibular_disorders.description
t: ลมชัก เวียนศีรษะ/บ้านหมุน ฯลฯ
- key: options.accessibility_disabilities.low_vision
t: การมองเห็นต่ำ
- key: options.accessibility_disabilities.low_vision.description
t: ตาบอด สายตาสั้นขั้นรุนแรง ฯลฯ
- key: options.accessibility_disabilities.atypical_vision
t: การมองเห็นสีผิดปกติ
- key: options.accessibility_disabilities.atypical_vision.description
t: ตาบอดสี
- key: features.accessibility_screenreaders
t: เครื่องอ่านหน้าจอ
- key: features.accessibility_screenreaders.question
t: คุณใช้เครื่องอ่านหน้าจอใดในการทดสอบการเข้าถึง?
- key: features.accessibility_techniques
t: เทคนิคการเข้าถึงอื่นๆ
- key: features.accessibility_techniques.question
t: เทคนิคอื่นๆที่คุณใช้เป็นส่วนหนึ่งเพื่อการเข้าถึงมีอะไรบ้าง?
- key: options.accessibility_techniques.tabindex
t: |
ปรับลำดับการโฟกัสด้วย `tabindex`
- key: options.accessibility_techniques.tabindex.description
t: |
การใช้ `tabindex="0"` เพื่อเปิดการโฟกัส ฯลฯ
- key: options.accessibility_techniques.keyboard_navigation
t: การนำทางด้วยแป้นพิมพ์ที่ใช้งานง่าย
- key: options.accessibility_techniques.keyboard_navigation.description
t: นอกเหนือจากลำดับแท็บ/โฟกัส
- key: options.accessibility_techniques.aria_attributes
t: Attribute ARIA
- key: options.accessibility_techniques.aria_attributes.description
t: |
`role` และAttribute `aria-*`
- key: options.accessibility_techniques.descriptive_alt_text
t: |
ข้อความ `alt` ที่อธิบายได้ดี
- key: options.accessibility_techniques.descriptive_alt_text.description
t: การให้ข้อความ alt ที่อธิบายจุดประสงค์หรือเนื้อหาของรูปภาพ
- key: options.accessibility_techniques.skip_to_content
t: ลิงก์ข้ามไปยังเนื้อหา
- key: options.accessibility_techniques.skip_to_content.description
t: ให้ผู้ใช้ข้ามไปยังเนื้อหาหลักของหน้า
- key: options.accessibility_techniques.fieldset_and_legend
t: |
`<fieldset>` และ `<legend>`
- key: options.accessibility_techniques.fieldset_and_legend.description
t: |
การใช้ `<fieldset>` และ `<legend>` เพื่อจัดกลุ่มฟอร์มที่เกี่ยวข้อง
- key: options.accessibility_techniques.headings_hierarchy
t: ลำดับชั้นความสำคัญของข้อมูล (Information Hierarchy)
- key: options.accessibility_techniques.headings_hierarchy.description
t: |
การใช้หัวเรื่อง (`<h1>` - `<h6>`) ที่แทนลำดับชั้นความสำคัญในหน้าอย่างถูกต้อง
- key: options.accessibility_techniques.meaningful_link_text
t: ข้อความลิงก์ที่มีความหมาย
- key: options.accessibility_techniques.meaningful_link_text.description
t: ทำให้แน่ใจว่าข้อความลิงก์สามารถเข้าใจได้โดยไม่ต้องมีบริบท
- key: options.accessibility_techniques.form_control_label
t: ป้ายกำกับของฟอร์มคอนโทรล
- key: options.accessibility_techniques.form_control_label.description
t: |
ทำให้แน่ใจว่าฟอร์มคอนโทรลทุกตัวมี `<label>` หรือ `aria-label`)
- key: options.accessibility_techniques.visible_focus
t: วงแหวนโฟกัสที่มองเห็นได้
- key: options.accessibility_techniques.visible_focus.description
t: ทำให้แน่ใจว่าวงแหวนโฟกัสมองเห็นได้ชัดเจนเมื่อจำเป็น
- key: options.accessibility_techniques.pointer_alternative
t: ไม่พึ่งพา Pointer เพียงอย่างเดียว
- key: options.accessibility_techniques.pointer_alternative.description
t: ทำให้แน่ใจว่าการโต้ตอบด้วยการชี้ (เช่น hover) มีทางเลือกในการใช้งานแป้นพิมพ์
- key: options.accessibility_techniques.good_color_contrast
t: ความแตกต่างของสีที่เพียงพอ
- key: options.accessibility_techniques.good_color_contrast.description
t: ใช้เครื่องมือตรวจสอบความแตกต่างของสีเพื่อให้แน่ใจว่ามันเพียงพอ
- key: options.accessibility_techniques.color_alternative
t: ไม่พึ่งพาสีเพียงอย่างเดียว
- key: options.accessibility_techniques.color_alternative.description
t: ทำให้แน่ใจว่าข้อมูลไม่ได้แสดงด้วยสีเพียงอย่างเดียว
- key: options.accessibility_techniques.prefers_reduced_motion
t: |
`prefers-reduced-motion` media query
- key: options.accessibility_techniques.prefers_reduced_motion.description
t: ให้ทางเลือก CSS สำหรับผู้ใช้ที่ชอบลดการเคลื่อนไหว
- key: options.accessibility_techniques.prefers_contrast
t: |
`prefers-contrast` media query
- key: options.accessibility_techniques.prefers_contrast.description
t: ให้ทางเลือก CSS สำหรับผู้ใช้ที่ต้องการความแตกต่างของสีเพิ่มขึ้น
# PWAs
- key: features.pwa_features
t: ฟีเจอร์ PWA
- key: features.pwa_features.question
t: คุณเคยใช้เทคโนโลยี/API ของ PWA ข้างต้นไหม?
- key: options.pwa_features.na
t: <span aria-hidden="true">🚫</span> ไม่มี
- key: features.local_storage_features
t: ฟีเจอร์ Local storage
- key: features.local_storage_features.question
t: คุณเคยอะไรข้างต้นบ้างสำหรับเก็บข้อมูลไว้ฝั่ง Client?
- key: options.local_storage_features.na
t: <span aria-hidden="true">🚫</span> ไม่มี
- key: features.pwa_app_manifest_fields
t: App Manifest Fields
- key: features.pwa_app_manifest_fields.question
t: |
คุณเคยใช้ app manifest fields อะไรบ้างเหล่านี้ (`<link rel="manifest">`)? (ถ้าเคย)
- key: features.native_apps_tools
t: เครื่องมือสำหรับ Native Apps
- key: features.native_apps_tools.question
t: คุณเคยใช้เครื่องมือใดบ้างในการสร้างแอปเนทีฟ?
- key: features.native_apps_tools.description
t: ไม่รับ scripts, command-line apps, server-side code, ฯลฯ
- key: options.native_apps_tools.na
t: <span aria-hidden="true">🚫</span> ฉันไม่เคยพัฒนาแอป Native
- key: options.native_apps_tools.native_languages
t: เทคโนโลยี Native
- key: options.native_apps_tools.native_languages.description
t: Objective-C, Swift, Kotlin, .NET เป็นต้น
- key: options.native_apps_tools.webviews
t: เว็บแอปที่โหลดผ่าน Webviews
- key: options.native_apps_tools.js_frameworks
t: เฟรมเวิร์กที่ใช้ JavaScript
- key: options.native_apps_tools.js_frameworks.description
t: React Native, Ionic, Electron เป็นต้น
- key: options.native_apps_tools.other_frameworks
t: เฟรมเวิร์กที่ไม่ใช้ JavaScript
- key: options.native_apps_tools.other_frameworks.description
t: Tauri, Flutter เป็นต้น
- key: features.mobile_web_apps_pain_points
t: ปัญหาของ Web Apps ที่คล้าย Native
- key: features.mobile_web_apps_pain_points.question
t: ปัญหาใหญ่ที่สุดของคุณในการสร้างเว็บแอปที่ให้ความรู้สึกเหมือนแอปเนทีฟคืออะไร?
- key: features.mobile_web_apps_pain_points.description
t: ความสามารถที่แพลตฟอร์มเว็บยังไม่มี หรือความแตกต่างระหว่างเบราว์เซอร์ใน API ที่เกี่ยวข้อง
- key: features.mobile_web_apps_pain_points.placeholder
t: |
Pain point #{index}
# other features
- key: features.foo_attribute
t: "`{id}` attribute"
- key: features.slot_assignment
t: การกำหนด slot (`slot="foo"`)
- key: features.tabindex
t: "`tabindex` attribute"
- key: features.respimg
t: "`srcset` และ `sizes` attribute"
- key: features.model_element
t: "`<model>` สำหรับเนื้อหา AR/VR/3D"
- key: features.slot_def
t: การกำหนด slot (`<slot>` และ `::slotted()`)
- key: features.controlslist
t: "`controlslist` attribute"
- key: features.popover_api
t: Popover API
- key: features.lazy_loading
t: Lazy loading
- key: features.sandbox_attr
t: "`sandbox` attribute สำหรับ iframes"
- key: features.details_element
t: "`<details>` และ `<summary>`"
- key: features.crossorigin
t: "`crossorigin` attribute"
- key: features.host_css
t: Styling component host (`:host`, `:host()`, `:host-context()`)
- key: features.element_internals
t: "`ElementInternals` API"
- key: features.cors
t: CORS
- key: features.csp
t: Content-Security Policy (CSP)
- key: features.structured_data
t: Structured data (RDFa, Microdata, Microformats)
- key: features.extended_builtins
t: Extended built-ins
- key: features.html_modules
t: HTML Modules
- key: features.accordion
t: Exclusive accordion
- key: features.imperative_slot
t: Imperative slot assignment
# - key: features.focusgroup
# t: "`focusgroup` attribute"
- key: features.form_validation
t: การตรวจสอบความถูกต้องของฟอร์ม (Form Validation)
- key: features.aria
t: ARIA
- key: features.rh_preconnect
t: "Resource Hints: preconnect (`<link rel=preconnect>`)"
- key: features.rh_prerender
t: "Resource Hints: prerender (`<link rel=prerender>`)"
- key: features.rh_preload
t: "Resource Hints: preload (`<link rel=preload>`)"
- key: features.resource_hints
t: Resource Hints ทั้งหมด
- key: features.rh_prefetch
t: "Resource Hints: prefetch (`<link rel=prefetch>`)"
- key: features.declarative_shadow
t: Declarative Shadow DOM (`<template shadowrootmode="open">`)
- key: features.referrerpolicy
t: "`referrerpolicy` attribute"
- key: features.integrity
t: Subresource Integrity (`integrity` attribute)
- key: features.pwa_manifest
t: PWA manifest
- key: features.part_attr
t: การเปิดเผยส่วนของ Component (`part` attribute)
- key: features.part_selector
t: การจัดแต่งส่วนของ Component (`::part()`)
- key: features.svg_element
t: Inline SVG (`<svg>`)
- key: features.math_element
t: Inline MathML (`<math>`)
- key: features.scoped_element_registries
t: Scoped Custom Element Registries
- key: features.navigation_api
t: Navigation API
- key: features.custom_elements_defining
t: การกำหนด Custom Elements
- key: features.decoding
t: "`decoding` attribute"
- key: features.custom_elements_using
t: การใช้ Custom Elements
- key: features.fencedframe
t: Fenced frames
- key: features.credentialless
t: Credentialess iframes
- key: features.media_capture
t: HTML Media Capture
- key: features.contenteditable_plaintext
t: ค่า "`plaintext-only` สำหรับ `contenteditable`"
- key: features.dom_parts
t: DOM Parts
- key: features.fetchpriority
t: Fetch Priority API (`fetchpriority` attribute)
- key: features.autocomplete
t: '`autocomplete="hint"`'
- key: features.inert_attribute
t: "`inert` attribute"
- key: features.client_hints
t: HTTP client hints
###########################################################################
# Other Tools
###########################################################################
- key: other_tools.site_generators
t: Site Generators
- key: other_tools.site_generators.question
t: คุณใช้ Site Generators แบบ Static หรือไดนามิกใดเป็นประจำบ้าง?
- key: other_tools.browsers
aliasFor: tools_others.browsers
- key: other_tools.browsers.question
aliasFor: tools_others.browsers.question
- key: other_tools.validation_tools
t: เครื่องมือตรวจสอบความถูกต้อง
- key: other_tools.validation_tools.question
t: คุณใช้เครื่องมือตรวจสอบความถูกต้องใดเป็นประจำบ้าง?
- key: other_tools.ai_tools
t: เครื่องมือ AI
- key: other_tools.ai_tools.question
t: คุณใช้เครื่องมือ AI ใดในการช่วยเขียนโค้ดเป็นประจำบ้าง?
- key: other_tools.machine_readable_features
aliasFor: features.machine_readable_features
- key: other_tools.machine_readable_features.question
aliasFor: features.machine_readable_features.question
- key: options.machine_readable_features.na
t: <span aria-hidden="true">🚫</span> ไม่มี
- key: other_tools.blast_from_the_past
t: ย้อนอดีต!
- key: other_tools.blast_from_the_past.question
t: คุณเคยใช้แท็ก HTML แบบเก่าดั้งเดิมใดบ้าง?
- key: other_tools.blast_from_the_past.description
t: ย้อนอดีต!
- key: options.blast_from_the_past.na
t: <span aria-hidden="true">🚫</span> ไม่มี
- key: other_tools.performance_tools
t: เครื่องมือวัดประสิทธิภาพ
- key: other_tools.performance_tools.question
t: คุณใช้เครื่องมือและบริการใดบ้างในการติดตามและปรับปรุงประสิทธิภาพของเว็บไซต์ของคุณ?
- key: options.performance_tools.browser_devtools
t: เครื่องมือสำหรับนักพัฒนาในเบราว์เซอร์
- key: other_tools.analytics_tools
t: เครื่องมือวิเคราะห์ข้อมูล
- key: other_tools.analytics_tools.question
t: คุณใช้เครื่องมือและบริการใดบ้างในการติดตามและวิเคราะห์เว็บไซต์ของคุณ?
###########################################################################
# Usage
###########################################################################
# - key: usage.html_existing_features
# t: Unusable HTML Features
# - key: usage.html_existing_features.question
# t: Which existing HTML features are you unable to use?
# - key: usage.html_existing_features.description
# t: |
# Existing HTML features that you find yourself recreating using custom components.
# - key: usage.html_existing_features.placeholder
# t: |
# ﹤foo type="bar"﹥ (browser incompatibilities, styling limitations, doesn't do X)
- key: usage.html_interoperability_features
t: การทำงานร่วมกันของเบราว์เซอร์
- key: usage.html_interoperability_features.question
t: ฟีเจอร์ HTML หรือ API ของเบราว์เซอร์ใดบ้างที่คุณไม่สามารถใช้ได้เนื่องจากความแตกต่างระหว่างเบราว์เซอร์หรือการขาดการรองรับ?
# - key: usage.html_interoperability_features.description
# t: |
# Any type of API the survey has asked about is within scope.
- key: usage.html_interoperability_features.placeholder
t: |
ฟีเจอร์ #{index}
- key: usage.html_functionality_features
t: ฟีเจอร์ที่มีการทำงานจำกัด
- key: usage.html_functionality_features.question
t: ฟีเจอร์ HTML หรือ API ของเบราว์เซอร์ใดบ้างที่คุณไม่สามารถใช้งานได้ด้วยเหตุผลอื่น (และทำไม)?
- key: usage.html_functionality_features.description
t: |
ฟีเจอร์ HTML ปัจจุบันที่คุณต้องสร้างใหม่อยู่ดีหรือปรับปรุงด้วย JS อยู่บ่อยครั้ง
# - key: usage.html_functionality_features.description
# t: |
# Existing HTML features that you often have to recreate or augment using JS.
# Please also specify the reason, such as lack of functionality, difficult styling, poor accessibility, etc.
- key: usage.html_functionality_features.placeholder.1
t: |
ฟีเจอร์ #1 (ยากต่อการปรับสไตล์)
- key: usage.html_functionality_features.placeholder.2
t: |
ฟีเจอร์ #2 (ฟังก์ชันจำกัด, เข้าถึงได้ยาก)
- key: usage.html_new_features
t: ฟีเจอร์ใหม่
- key: usage.html_new_features.question
t: ฟีเจอร์ใหม่และที่กำลังจะมาถึงใดที่คุณตื่นเต้นที่สุด?
- key: usage.what_do_you_use_html_for
t: การใช้งาน HTML
- key: usage.what_do_you_use_html_for.question
t: คุณใช้ HTML เพื่อทำอะไรบ้าง?
- key: options.what_do_you_use_html_for.blogs
aliasFor: options.what_do_you_use_css_for.blogs
- key: options.what_do_you_use_html_for.design_systems
aliasFor: options.what_do_you_use_css_for.design_systems
- key: options.what_do_you_use_html_for.desktop_apps
aliasFor: options.what_do_you_use_css_for.desktop_apps
- key: options.what_do_you_use_html_for.emails
aliasFor: options.what_do_you_use_css_for.emails
- key: options.what_do_you_use_html_for.marketing_sites
aliasFor: options.what_do_you_use_css_for.marketing_sites
- key: options.what_do_you_use_html_for.mobile_apps
aliasFor: options.what_do_you_use_css_for.mobile_apps
- key: options.what_do_you_use_html_for.printed_documents
aliasFor: options.what_do_you_use_css_for.printed_documents
- key: options.what_do_you_use_html_for.web_apps
aliasFor: options.what_do_you_use_css_for.web_apps
- key: usage.tools_for_other_developers
t: ผลกระทบต่อระบบนิเวศ
- key: usage.tools_for_other_developers.question
t: นอกจากตัวคุณเองแล้ว มีนักพัฒนาอีกกี่คนที่ใช้ไลบรารี แพ็คเกจ คอมโพเนนต์ API ฯลฯ ที่คุณสร้างหรือดูแล?
- key: usage.tools_for_other_developers.description
t: |
รวมทั้งหมด หากคุณทำงานในหลายโปรเจกต์ที่ใช้โดยนักพัฒนาคนอื่น
หากคุณไม่แน่ใจ ให้เลือกค่าที่ใกล้เคียงกับการประมาณการที่ดีที่สุดของคุณ
สำหรับโค้ดโอเพ่นซอร์ส ยอดดาวน์โหลดจาก npm อาจช่วยเป็นตัวชี้วัดได้
- key: options.tools_for_other_developers.na
t: 🚫 ไม่มี (มีแค่ฉันเท่านั้น)
- key: options.tools_for_other_developers.a_few
t: นักพัฒนาคนอื่นไม่กี่คน (เช่น นักพัฒนาภายในทีมขนาดเล็ก)
- key: options.tools_for_other_developers.less_than_100
t: น้อยกว่าร้อยคน
- key: options.tools_for_other_developers.less_than_1000
t: น้อยกว่าพันคน
- key: options.tools_for_other_developers.more_than_100
t: หลายร้อยคน
- key: options.tools_for_other_developers.more_than_1000
t: หลายพันคน
- key: options.tools_for_other_developers.more_than_1000000
t: หลายล้านคน
- key: usage.html_missing_elements
t: Element ที่ขาดหายไป
- key: usage.html_missing_elements.question
t: ถ้าคุณสามารถเพิ่ม Element 3 อย่างใน HTML ได้ คุณจะเลือกอะไร?
# - key: usage.html_missing_elements.description
# t: |
# If you use any component technologies, the components you find yourself reusing across multiple projects could be good candidates.
# These could be things like Accordion, Alert, Calendar, Carousel, Combobox/Autocomplete, Context menu, Data Grid, Rating, Tabs, Image Zoom, Switch, Skeleton loading pattern etc.
- key: options.html_missing_elements.accordion
t: Accordion
- key: options.html_missing_elements.alert
t: Alert
- key: options.html_missing_elements.calendar
t: Calendar
- key: options.html_missing_elements.carousel
t: Carousel
- key: options.html_missing_elements.combobox_autocomplete
t: Combobox / Autocomplete
- key: options.html_missing_elements.command_palette
t: Command Palette
- key: options.html_missing_elements.context_menu
t: Context Menu / Right-Click Menu
- key: options.html_missing_elements.datatable
t: Data table
- key: options.html_missing_elements.datatable.description
t: Data table with sorting, filtering, etc.
- key: options.html_missing_elements.dropdown_menu
t: Dropdown Menu
- key: options.html_missing_elements.image_zoom
t: Image Zoom
- key: options.html_missing_elements.progress_bar
t: Progress Bar
- key: options.html_missing_elements.skeleton_loading_placeholder
t: Skeleton UI / Loading Placeholder
- key: options.html_missing_elements.switch
t: Switch / Toggle
- key: options.html_missing_elements.tabs
t: Tabs
# - key: options.html_missing_elements.toast_message
# t: Toast Message
- key: options.html_missing_elements.tooltip
t: Tooltip
- key: options.html_missing_elements.offcanvas
t: Off-Canvas Area
- key: options.html_missing_elements.spinner
t: Loading Spinner
- key: options.html_missing_elements.segmented_button
t: Segmented Button
- key: options.html_missing_elements.scroll_area
t: Infinite Scroll
- key: options.html_missing_elements.icon
t: Icon
- key: options.html_missing_elements.star_rating
t: Star Rating
- key: usage.html_pain_points_freeform
t: Pain Points อื่นๆ
- key: usage.html_pain_points_freeform.question
t: มี Pain Point อื่น ๆ เกี่ยวกับการใช้งาน HTML และเทคโนโลยีที่เกี่ยวข้องหรือไม่?
- key: usage.html_css_js_balance
t: สมดุลระหว่าง HTML/CSS และ JavaScript/TypeScript
- key: usage.html_css_js_balance.question
t: คุณแบ่งเวลาของคุณอย่างไรระหว่างการเขียนโค้ด HTML/CSS และ JavaScript (หรือ TypeScript)?
- key: options.html_css_js_balance.0
t: 100% HTML/CSS
- key: options.html_css_js_balance.4
t: 50%–50%
- key: options.html_css_js_balance.8
t: 100% JS
###########################################################################
# Resources
###########################################################################
- key: resources.web_platform_resources
t: แหล่งข้อมูลเกี่ยวกับแพลตฟอร์มเว็บ
- key: resources.web_platform_resources.question
t: คุณใช้แหล่งข้อมูลใดในการติดตามฟีเจอร์ใหม่ ๆ ของแพลตฟอร์มเว็บ?
###########################################################################
# Opinions
###########################################################################
- key: opinions.opinions_intro
t: สำหรับคำถามต่อไปนี้ โปรดแจ้งให้เราทราบว่าคุณเห็นด้วยกับแต่ละข้อความมากน้อยเพียงใด
- key: opinions.accessibility_is_valued
t: ความสามารถในการเข้าถึง (Accessibility)
- key: opinions.accessibility_is_valued.question
t: การเข้าถึงเป็นสิ่งที่มีคุณค่าในที่ทำงานหรือสภาพแวดล้อมการทำงานของฉัน
- key: opinions.keeping_informed_is_challenging
t: การติดตามข้อมูลข่าวสาร
- key: opinions.keeping_informed_is_challenging.question
t: การติดตามข่าวสารเกี่ยวกับฟีเจอร์ใหม่ ๆ ของแพลตฟอร์มเว็บเป็นเรื่องที่ท้าทาย
- key: opinions.browser_interoperability_is_obstacle
t: การทำงานร่วมกันของเบราว์เซอร์
- key: opinions.browser_interoperability_is_obstacle.question
t: การขาดการทำงานร่วมกันระหว่างเบราว์เซอร์เป็นอุปสรรคสำคัญต่อการพัฒนาเว็บ
- key: opinions.web_platform_right_direction
t: แพลตฟอร์มเว็บ
- key: opinions.web_platform_right_direction.question
t: โดยรวมแล้ว แพลตฟอร์มเว็บกำลังก้าวไปในทิศทางที่ถูกต้อง
###########################################################################
# Survey Help
###########################################################################
- key: features.features_intro_html
t: |
ยินดีต้อนรับสู่การทำแบบสำรวจ! ในสองส่วนแรกนี้ เราจะช่วยคุณค้นหาว่าคุณรู้จักฟีเจอร์ใดบ้างของ HTML (และ API ที่เกี่ยวข้อง)
ถ้าคุณต้องการเรียนรู้เพิ่มเติมเกี่ยวกับสิ่งใดในแบบสำรวจ คุณสามารถเพิ่มไว้อ่านทีหลังได้โดยการคลิกที่ไอคอน "+" เล็กๆนั่น!