-
Notifications
You must be signed in to change notification settings - Fork 11
/
state_of_html.yml
902 lines (761 loc) · 34.9 KB
/
state_of_html.yml
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
locale: pt-BR
namespace: css
translations:
###########################################################################
# General
###########################################################################
# Intro for stateofhtml.com
- key: general.state_of_html.intro
# aliasFor: general.html2023.survey_intro # Can we do that?
t: |
Embora os desenvolvedores web tendam a se concentrar em JavaScript e CSS, nada do que fazemos seria possível sem o HTML atuando como base.
Durante muito tempo parecia que o HTML não estava evoluindo, mas as coisas podem estar mudando.
Novos elementos como `<selectlist>` estão no horizonte, novas funcionalidades interessantes como popovers, e uma série de APIs do navegador relacionadas (Web Components, PWAs, etc.).
Este ano, [Lea Verou](https://lea.verou.me/) assumiu a formidável tarefa de liderar o design desta nova pesquisa, desde o conteúdo à UX e muito mais.
Com base no sucesso do [Estado do JS](http://stateofjs.com/) e do [Estado do CSS](https://stateofcss.com/), apresentamos o **Estado do HTML**;
a última peça que faltava para completar a trilogia, para que possamos acompanhar a evolução da plataforma web como um todo.
Benefícios para você:
- Os resultados da pesquisa são **usados por navegadores** e grupos de padrões **para priorização de roteiros**.
Suas respostas podem ajudar a implementar funcionalidades de seu interesse, priorizar incompatibilidades de navegador e resolver lacunas na plataforma.
- Aprenda sobre funcionalidades novas e futuras; adicione funcionalidades à sua lista de leitura e obtenha uma lista de recursos no final!
- Obtenha uma pontuação de conhecimento personalizada e veja como você se compara a outros entrevistados.
A pesquisa ficará aberta por 3 semanas, mas as respostas inseridas **dentro dos primeiros 9 dias (até 1º de outubro)** terão um impacto muito maior na Web,
já que dados preliminares serão usados para determinados esforços de priorização que tenham prazos anteriores.
- key: general.state_of_html.description
t: Pesquisa anual para desenvolvedores sobre a plataforma web
###########################################################################
# Sections
###########################################################################
- key: sections.forms.title
t: Formulários
- key: sections.forms.description
t: Elementos e atributos relacionados ao formulário.
- key: sections.interactivity.title
t: Interatividade
- key: sections.interactivity.description
t: APIs que permitem interações mais ricas com o usuário.
- key: sections.web_components.title
t: Componentes Web
- key: sections.web_components.description
t: Criação e uso de componentes web.
- key: sections.content.title
t: Conteúdo
- key: sections.content.description
t: Funcionalidades de incorporação, multimídia, dados e outras relacionadas ao conteúdo.
- key: sections.external_content.title
t: Conteúdo Externo
- key: sections.external_content.description
t: Incorporação de recursos externos e outras APIs multimídia.
- key: sections.accessibility.title
t: Acessibilidade
- key: sections.accessibility.description
t: Sites e aplicativos acessíveis para todos.
- key: sections.mobile_web_apps.title
t: Aplicações Web Nativas
- key: sections.mobile_web_apps.description
t: Criação de aplicativos da web otimizados para dispositivos móveis e desktop.
- key: sections.other_features.title
t: Outros Recursos
- key: sections.other_features.description
t: Outros elementos HTML e APIs de navegador.
- key: sections.other_tools.title
t: Outras Ferramentas & Recursos
- key: sections.other_tools.description
t: Outras ferramentas ou recursos que você usa como parte do seu trabalho.
- key: sections.usage.title
t: Utilização
- key: sections.usage.description
t: Como você usa HTML.
###########################################################################
# Features
###########################################################################
# forms
- key: features.form_controls
t: Controles de Formulário
- key: features.form_controls.question
t: Quais controles de formulário você já utilizou?
- key: features.form_input_types
t: Tipos de Input
- key: features.form_input_types.question
t: Quais tipos de input você já utilizou?
- key: options.form_input_types.na
t: <span aria-hidden="true">🚫</span> Nenhuma das opções acima
- key: features.form_validation_features
t: Validação de formulário
- key: features.form_validation_features.question
t: Quais dos seguintes recursos de validação de formulário você já utilizou?
- key: options.form_validation_features.na
t: <span aria-hidden="true">🚫</span> Nenhuma das opções acima
- key: features.forms_pain_points
t: Dificuldades do formulário
- key: features.forms_pain_points.question
t: Quais são suas dificuldades usando formulários em HTML?
- key: features.forms_pain_points.description
t: |
Pense nos diversos controles de formulário (p. ex. `<input>`, `<textarea>`, `<select>`, `<button>` etc.),
comportamentos (p. ex. validação, autocomplete), tratamento de formulário com JS, edição de APIs (p. ex. `contentEditable`) etc.
Qualquer coisa que o incomode é válido - suporte do navegador, recursos ausentes, estilização, etc.
- key: features.forms_pain_points.placeholder
t: |
Dificuldade #{index}…
# interactivity
- key: features.dom_attribute_features
t: Métodos relacionados a atributos DOM
- key: features.dom_attribute_features.question
t: Qual dos seguintes métodos relacionados a atributos DOM você já usou?
- key: features.dom_html_features
t: Recursos de manipulação de strings HTML
- key: features.dom_html_features.question
t: Qual dos seguintes recursos de manipulação de strings HTML do DOM você já usou?
- key: features.dom_methods
t: Métodos DOM de reparação de elementos
- key: features.dom_moving_element_features
t: Métodos DOM de movimentação de elementos
- key: features.dom_moving_element_features.question
t: Qual dos seguintes métodos DOM de movimentação de elementos você já usou?
# - 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> Nenhuma das opções acima
- key: features.interactivity_pain_points
t: Dificuldades de Interatividade
- key: features.interactivity_pain_points.question
t: Quais suas dificuldades em relação às alterações dinâmicas do HTML?
- key: features.interactivity_pain_points.description
t: |
Incompatibilidades ou falta de suporte do navegador, recursos ausentes e outros problemas que você enfrenta
em relação a elementos e comportamentos interativos (exceto formulários), manipulação de DOM, eventos e APIs relacionadas.
- key: features.interactivity_pain_points.placeholder
t: |
Dificuldade #{index}…
- key: features.interactivity_techniques
t: Métodos de Interatividade
- key: features.interactivity_techniques.question
t: Qual destes métodos você já usou para adicionar interatividade ou modificar HTML dinamicamente?
- key: options.interactivity_techniques.css_for_interactivity
t: CSS para interatividade (toggles, tabs, etc.)
- key: options.interactivity_techniques.js_dom_libraries
t: Bibliotecas JavaScript DOM (jQuery, etc.)
- key: options.interactivity_techniques.js_framework
t: Frameworks JavaScript (React, Vue, etc.)
- key: options.interactivity_techniques.vanilla_js
t: JavaScript Puro (sem frameworks ou bibliotecas)
- key: options.interactivity_techniques.web_components
t: Componentes Web
- key: options.interactivity_techniques.na
t: <span aria-hidden="true">🚫</span> Nenhuma das opções acima
# content
- key: features.machine_readable_features
t: Dados Legíveis por Máquina
- key: features.machine_readable_features.question
t: Qual das opções a seguir você já usou para incluir dados legíveis por máquina em 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: Suporte a Vários Idiomas
- key: features.multiple_languages_support.question
t: Com que frequência você trabalha em projetos que exigem suporte a mais de um idioma?
- key: options.multiple_languages_support.never
t: Nunca
- key: options.multiple_languages_support.infrequently
t: Raramente (menos de uma vez por ano)
- key: options.multiple_languages_support.frequently
t: Frequentemente (mais de uma vez por ano)
- key: options.multiple_languages_support.all_the_time
t: O tempo todo
- key: features.i18n_features
t: Recursos de internacionalização
- key: features.i18n_features.question
t: Quais dos seguintes recursos de internacionalização você já usou?
- key: options.i18n_features.na
t: <span aria-hidden="true">🚫</span> Nenhuma das opções acima
# - 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: Dificuldades de Conteúdo
- key: features.content_pain_points.question
t: Quais são seus pontos fracos no gerenciamento de conteúdo em HTML?
- key: features.content_pain_points.description
t: |
Pense em incorporação (multimídia, iframes, SVG, etc), dados legíveis por máquina, internacionalização e localização, segurança e privacidade, desempenho, etc.
Recursos ausentes, incompatibilidades de navegador e outros problemas que você enfrenta são um jogo justo.
- key: features.content_pain_points.placeholder
t: |
Dificuldade #{index}…
# Content
- key: features.external_content_elements
t: External Content Elements
- key: features.external_content_elements.question
t: Which of the following elements have you used?
- key: options.external_content_elements.na
t: <span aria-hidden="true">🚫</span> None of the above
- key: features.privacy_security_features
t: |
Security & Privacy Features
- key: features.privacy_security_features.question
t: |
Which of the following security & privacy features have you used?
- key: options.privacy_security_features.na
t: <span aria-hidden="true">🚫</span> None of the above
- key: features.rel_attribute
t: Resource Hints
- key: features.rel_attribute.question
t: |
Which of these values have you used for the `rel` attribute of `<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 Libraries
- key: features.web_components_libraries.question
t: Have you used any Web Components libraries?
- key: features.web_components_features
t: Other Web Component Features
- key: features.web_components_features.question
t: Which of the following web component features have you used?
- 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> None of the above
- key: features.using_web_components_pain_points
t: Using Web Components Pain Points
- key: features.using_web_components_pain_points.question
t: What are your biggest pain points around *consuming* web components?
- key: features.using_web_components_pain_points.description
t: Using Web Components that you or others have made. Missing features, browser incompatibilities, etc.
- key: features.using_web_components_pain_points.placeholder
t: |
Pain point #{index}…
- key: features.making_web_components_pain_points
t: Making Web Components Pain Points
- key: features.making_web_components_pain_points.question
t: What are your biggest pain points around *making* web components?
- key: features.making_web_components_pain_points.description
t: |
What prevents you from creating the amazing components you envision? Missing features, browser incompatibilities, etc.
- 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: Accessibility Tools
- key: features.accessibility_tools.question
t: What tools do you use for accessibility testing?
- key: features.accessibility_pain_points
t: Accessibility Pain Points
- key: features.accessibility_pain_points.question
t: What are your biggest pain points around web accessibility?
- key: features.accessibility_pain_points.placeholder
t: |
Pain point #{index}…
- key: features.accessibility_disabilities
t: User Disabilities
- key: features.accessibility_disabilities.question
t: What kind of user disabilities do you account for when making websites?
- key: options.accessibility_disabilities.hearing_impairments
t: Hearing impairments
- key: options.accessibility_disabilities.hearing_impairments.description
t: Deafness, tinnitus, etc.
- key: options.accessibility_disabilities.mobility_impairments
t: Mobility impairments
- key: options.accessibility_disabilities.mobility_impairments.description
t: Arthritis, carpal tunnel, etc.
- key: options.accessibility_disabilities.learning_disabilities
t: Learning disabilities
- key: options.accessibility_disabilities.learning_disabilities.description
t: Dyslexia, dyscalculia, etc.
- key: options.accessibility_disabilities.cognitive_impairments
t: |
Other cognitive impairments
- key: options.accessibility_disabilities.cognitive_impairments.description
t: |
Anxiety, Autism, OCD, ADHD, etc.
- key: options.accessibility_disabilities.vestibular_disorders
t: Vestibular disorders
- key: options.accessibility_disabilities.vestibular_disorders.description
t: Epilepsy, vertigo, etc.
- key: options.accessibility_disabilities.low_vision
t: Low vision
- key: options.accessibility_disabilities.low_vision.description
t: Blindness, high myopia, etc.
- key: options.accessibility_disabilities.atypical_vision
t: Atypical color vision
- key: options.accessibility_disabilities.atypical_vision.description
t: Color blindness
- key: features.accessibility_screenreaders
t: Screen Readers
- key: features.accessibility_screenreaders.question
t: Which screen readers do you use for accessibility testing?
- key: features.accessibility_techniques
t: Other Accessibility Techniques
- key: features.accessibility_techniques.question
t: What other techniques are part of your regular accessibility strategy?
- key: options.accessibility_techniques.tabindex
t: |
Improving focus order with `tabindex`
- key: options.accessibility_techniques.tabindex.description
t: |
Roving `tabindex`, `tabindex="0"` to enable focus, etc.
- key: options.accessibility_techniques.keyboard_navigation
t: Intuitive keyboard navigation
- key: options.accessibility_techniques.keyboard_navigation.description
t: Other than tab order.
- key: options.accessibility_techniques.aria_attributes
t: ARIA attributes
- key: options.accessibility_techniques.aria_attributes.description
t: |
`role` and `aria-*` attributes
- key: options.accessibility_techniques.descriptive_alt_text
t: |
Descriptive `alt` text
- key: options.accessibility_techniques.descriptive_alt_text.description
t: Providing alt text that describes the purpose or content of an image.
- key: options.accessibility_techniques.skip_to_content
t: Skip-to-content link
- key: options.accessibility_techniques.skip_to_content.description
t: Letting users skip straight to the main content of a page.
- key: options.accessibility_techniques.fieldset_and_legend
t: |
`<fieldset>` and `<legend>`
- key: options.accessibility_techniques.fieldset_and_legend.description
t: |
Using `<fieldset>` and `<legend>` to group related form elements.
- key: options.accessibility_techniques.headings_hierarchy
t: Information Hierarchy
- key: options.accessibility_techniques.headings_hierarchy.description
t: |
Using headings (`<h1>` - `<h6>`) that correctly represent a page's information hierarchy.
- key: options.accessibility_techniques.meaningful_link_text
t: Meaningful Link Text
- key: options.accessibility_techniques.meaningful_link_text.description
t: Ensuring that link text makes sense out of context
- key: options.accessibility_techniques.form_control_label
t: Form Control Labels
- key: options.accessibility_techniques.form_control_label.description
t: |
Ensuring every form control has a `<label>` (or `aria-label`, etc.).
- key: options.accessibility_techniques.visible_focus
t: Visible Focus Ring
- key: options.accessibility_techniques.visible_focus.description
t: Ensuring focus ring outline is clearly visible when needed.
- key: options.accessibility_techniques.pointer_alternative
t: Not Relying on Pointer Only
- key: options.accessibility_techniques.pointer_alternative.description
t: Ensuring pointer interactions (e.g. hover) have a keyboard alternative.
- key: options.accessibility_techniques.good_color_contrast
t: Sufficient Contrast
- key: options.accessibility_techniques.good_color_contrast.description
t: Using contrast checkers to ensure sufficient color contrast.
- key: options.accessibility_techniques.color_alternative
t: Not Relying on Color Only
- key: options.accessibility_techniques.color_alternative.description
t: Ensuring that no information is conveyed by color alone.
- key: options.accessibility_techniques.prefers_reduced_motion
t: |
`prefers-reduced-motion` media query
- key: options.accessibility_techniques.prefers_reduced_motion.description
t: Providing alternative CSS for users who prefer reduced motion.
- key: options.accessibility_techniques.prefers_contrast
t: |
`prefers-contrast` media query
- key: options.accessibility_techniques.prefers_contrast.description
t: Providing alternative CSS for users who prefer increased contrast.
# PWAs
- key: features.pwa_features
t: PWA Features
- key: features.pwa_features.question
t: Have you used any of the following PWA technologies/APIs?
- key: options.pwa_features.na
t: <span aria-hidden="true">🚫</span> None of the above
- key: features.local_storage_features
t: Local storage features
- key: features.local_storage_features.question
t: Have you used any of the following to store data client-side?
- key: options.local_storage_features.na
t: <span aria-hidden="true">🚫</span> None of the above
- key: features.pwa_app_manifest_fields
t: App Manifest Fields
- key: features.pwa_app_manifest_fields.question
t: |
Which of these app manifest fields (`<link rel="manifest">`) have you used, if any?
- key: features.native_apps_tools
t: Native Apps Tools
- key: features.native_apps_tools.question
t: Have you used any of these tools to build native apps?
- key: features.native_apps_tools.description
t: Excluding scripts, command-line apps, server-side code, etc.
- key: options.native_apps_tools.na
t: <span aria-hidden="true">🚫</span> I haven't developed native apps
- key: options.native_apps_tools.native_languages
t: Native technologies
- key: options.native_apps_tools.native_languages.description
t: Objective-C, Swift, Kotlin, .NET, etc.
- key: options.native_apps_tools.webviews
t: Web app loaded via Webviews
- key: options.native_apps_tools.js_frameworks
t: JavaScript-based frameworks
- key: options.native_apps_tools.js_frameworks.description
t: React Native, Ionic, Electron, etc.
- key: options.native_apps_tools.other_frameworks
t: Non-JavaScript frameworks
- key: options.native_apps_tools.other_frameworks.description
t: Tauri, Flutter, etc.
- key: features.mobile_web_apps_pain_points
t: Native-like Web Apps Pain Points
- key: features.mobile_web_apps_pain_points.question
t: What are your biggest pain points around making web apps that feel native?
- key: features.mobile_web_apps_pain_points.description
t: Capabilities the Web Platform doesn't yet have, browser differences in related APIs, etc.
- key: features.mobile_web_apps_pain_points.placeholder
t: |
Pain point #{index}
# Other Tools
- key: other_tools.site_generators
t: Site Generators
- key: other_tools.site_generators.question
t: Which of these static or dynamic site generators do you regularly use?
- key: other_tools.ai_tools
t: AI Tools
- key: other_tools.ai_tools.question
t: Which of these AI tools do you regularly use to help you write code?
- 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> None of the above
- key: other_tools.blast_from_the_past
t: Blast from the Past!
- key: other_tools.blast_from_the_past.question
t: Have you ever used any of the following old-school elements?
- key: other_tools.blast_from_the_past.description
t: Blast from the past!
- key: options.blast_from_the_past.na
t: <span aria-hidden="true">🚫</span> None of the above
# 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: Browser Interoperability
- key: usage.html_interoperability_features.question
t: Which existing HTML features or browser APIs are you unable to use because of browser differences or lack of support?
# - 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: |
Feature #{index}
- key: usage.html_functionality_features
t: Limited Functionality
- key: usage.html_functionality_features.question
t: Which existing HTML features or browser APIs are you unable to use for other reasons (and why)?
- key: usage.html_functionality_features.description
t: |
Good candidates might be 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: |
Feature #1 (hard to style)
- key: usage.html_functionality_features.placeholder.2
t: |
Feature #2 (limited functionality, poor accessibility)
- key: usage.what_do_you_use_html_for
t: HTML Usage
- key: usage.what_do_you_use_html_for.question
t: What do you use HTML for?
- 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: Ecosystem Impact
- key: usage.tools_for_other_developers.question
t: Other than yourself, how many developers use the libraries, packages, components, APIs etc. that you create or maintain?
- key: usage.tools_for_other_developers.description
t: |
Total, if you work on multiple projects that are used by other developers.
If you’re not sure, pick the closest to your best estimate.
For open source code, npm downloads might offer a useful data point.
- key: options.tools_for_other_developers.na
t: 🚫 None (Just me)
- key: options.tools_for_other_developers.a_few
t: A few other developers (e.g. developers within a small team)
- key: options.tools_for_other_developers.less_than_100
t: Less than a hundred developers
- key: options.tools_for_other_developers.less_than_1000
t: Less than a thousand developers
- key: options.tools_for_other_developers.more_than_100
t: Hundreds of developers
- key: options.tools_for_other_developers.more_than_1000
t: Thousands of developers
- key: options.tools_for_other_developers.more_than_1000000
t: Millions of developers
- key: usage.html_missing_elements
t: Missing Elements
- key: usage.html_missing_elements.question
t: If you could add 3 elements to HTML, what would they be?
# - 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 (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: Other Pain Points
- key: usage.html_pain_points_freeform.question
t: Any other pain points around using HTML and related technologies?
- key: usage.html_css_js_balance
t: HTML/CSS vs JavaScript/TypeScript Balance
- key: usage.html_css_js_balance.question
t: How do you divide your time between writing HTML/CSS and JavaScript (or TypeScript) code?
- 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
# other features
- key: features.foo_attribute
t: "`{id}` attribute"
- key: features.slot_assignment
t: Explicit slot assignment (`slot="foo"`)
- key: features.tabindex
t: "`tabindex` attribute"
- key: features.respimg
t: "`srcset` and `sizes` attributes"
- key: features.model_element
t: "`<model>` for AR/VR/3D content"
- key: features.slot_def
t: Defining slots (`<slot>` and `::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 for iframes"
- key: features.details_element
t: "`<details>` and `<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 (all)
- 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: Exposing component parts (`part` attribute)
- key: features.part_selector
t: Styling component parts (`::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: Defining Custom Elements
- key: features.decoding
t: "`decoding` attribute"
- key: features.custom_elements_using
t: Using 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` value for `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
###########################################################################
# Survey Help
###########################################################################
- key: features.features_intro_html
t: |
Bem-vindo à pesquisa! Estas primeiras seções são para descobrir quais **recursos** do HTML (e APIs relacionadas) você conhece.
A propósito, se você quiser saber mais sobre qualquer item da pesquisa, você pode adicioná-lo à sua lista de leitura clicando no pequeno ícone "+"!