跳到内容

特性

语法,关键字,和其他语言特性。

It's worth highlighting the datalist element, which saw a big year-over-year usage increase, going from 30% to 44%.

That being said, while it was last-year's most-loved feature, it fell 18 places this time around in terms of sentiment.

Respondent comments mention difficulties around styling, accessibility, and browser bugs, pointing to a post-release follow-through that didn't quite meet developer expectations–and showing once again that as a feature gets more usage, criticisms often also increase accordingly.

类别:

基准状态:

通过...分组:

根据此项排序:

01
无障碍
86.4%
9.3%
3.3%
02
交互性
72.5%
16.8%
9.6%
03
性能
69.8%
23.3%
6.2%
04
交互性
67.8%
26.1%
5.7%
05
性能
66.8%
23.2%
9.1%
06
Web 组件
51.3%
36%
11.2%
07
表单
48.9%
39.5%
10.7%
08
内容
47.6%
29%
22.3%
09
Web 组件
46.5%
38%
14.7%
10
表单
44.1%
32.8%
21.7%

经验

  • <span aria-hidden="true">🤓</span> 用过: 使用过此项目的受访者。
  • <span aria-hidden="true">👀</span> 有听说过: 听说过此项目,但没有使用过此项目的受访者。
  • <span aria-hidden="true">🤷</span> 没听说过: 从未听说过此项目的受访者。

情绪(态度)

  • 积极: 有兴趣了解此技术,或者愿意再次使用它的受访者
  • 中立: 未对此技术发表看法的受访者
  • 消极: 对此技术不感兴趣,或者使用此技术有糟糕体验的受访者

随时间变化的特性

Features that saw their usage increase include the afore-mentioned datalist (+14%), as well as dialog (+15%), the Popover API (+19%), and especially the very handy <dialog.closedBy="any"> (+20%).

Meanwhile, looking at awareness gives us some interesting insights into which features might explode in usage in the near future, such as File System Access (+24%).

使用度:

使用过某个项目的受访者比例

筛选:

0%
20%
40%
60%
80%
100%
2023
2024
2025
2026
0%
20%
40%
60%
80%
100%
tabindex 属性
<details> 和 <summary>
懒加载
<dialog>
srcset 和 sizes 属性
使用自定义元素
<input type="color">
<template>
定义自定义元素
<datalist>