开放式UI:维护开放的UI标准,并促进其遵守和采用。
Open-UI: Maintain an open standard for UI and promote its adherence and adoption

原始链接: https://github.com/openui/open-ui

网页浏览器最初提供基本的表单和UI控件,促进了网页互动。随着“Web 2.0”的兴起,开发者依赖插件和框架来创建更丰富的界面。HTML5通过标准化常见模式来解决这个问题,但当前复杂的项目需要更多功能。 开发者常常求助于JavaScript框架来定制界面,这可能会牺牲可访问性、性能和安全性。设计师也希望对UI美学有更大的控制权,以符合品牌形象。 为了应对这些挑战,开放UI社区小组的目标是使HTML、CSS和JavaScript现代化。他们计划创建一个强大的架构来赋能开发者构建自定义UI,而不是仅仅标准化特定的界面。这包括研究UI模式,识别现有技术中的差距,并向标准机构提出改进建议。其重点在于增强定制能力和改进可访问性,而不是规定默认外观或创建平台特定功能。

W3C 社区小组 Open UI 旨在标准化 Web UI 组件,例如下拉菜单、复选框和日期选择器,允许开发者对其进行样式设置和扩展。这解决了开发者常常依赖重量级的 JavaScript 框架来创建自定义、且往往难以访问且性能较低的 UI 元素的问题。 一些已毕业的提案,例如独占式手风琴、调用者命令和弹出框,已经在浏览器中得到实现,可自定义的选择器提供了新的元素,而不仅仅是属性行为。其目标是将目前需要繁琐的自定义 JS 代码才能实现的常见 Web UI 模式直接整合到浏览器中。 虽然有些人担心企业会通过 UI 来区分其品牌,但标准化实际上可以改善可访问性和用户体验,特别是对于简单的网站而言。标准化还可以通过 CSS 实现更好的自定义。
相关文章
  • (评论) 2025-03-13
  • (评论) 2024-05-25
  • (评论) 2024-03-17
  • (评论) 2024-02-08
  • (评论) 2024-03-23

  • 原文

    Since the beginning, web browsers have provided form controls and other website-level UI controls for web designers and developers to leverage in creating interfaces for their users. The web became what it is today precisely because websites are interactive. People search, select, log in, upload content, purchase, ask for what they need — all through the power of controls.

    Having the building blocks of user interfaces supplied by HTML makes it far easier for web developers to create interfaces for their users. Browser-supplied form and UI controls robustly respond to user needs. The same control can behave differently on different types of devices. They provide deep, accessible integration with all hardware and software. They adjust to unexpected conditions precisely because they are handled by the browser. 

    The first set of form controls were specified in the early days of HTML, in 1993. They allow for entering text, pressing buttons, uploading files, checking checkboxes, and selecting radio buttons. From the beginning, the visual design of these form controls has been dictated by the browser, often designed to blend in with the underlying operating system.

    Over a decade later, by 2004-2008, it was clear more form and website-level UI controls were needed. "Web 2.0" had energized interactivity on the web, and designers were asking for user interfaces that HTML did not support. To implement these designs, web developers turned to third-party plugins like Flash, non-standard technology like ActiveX, or emerging frameworks like jQuery. As the culture of using the web ignited around the world, incredibly-common interaction design patterns became the new normal.

    HTML5 was born of the idea of "paving the cowpaths". The WHAT Working Group (WHATWG) embarked on an effort to take the most popular patterns, seen on millions of websites, and codify those patterns in HTML itself. Web developers would not need plug-ins or scripts, they could simply use HTML to create rich forms for entering a number, a URL, a password, or an email address; choosing a date and time; filling out a search field; picking a color; choosing a range from a slider; or choosing an item from a predefined list. For the first time, web developers could use HTML for creating placeholder text, specifying which field should capture focus, or making a form field required. The new HTML elements made it incredibly easy to build forms that are faster, more secure, and completely accessible.

    But another 15 years have gone by since the last major revision to form and UI interfaces. Most complex web projects today need far more than what HTML5 form and UI controls provide. And so, all-too-often today's web developers turn to heavy JavaScript frameworks to build the user interfaces their designers are asking for. These custom interfaces are rarely fully accessible. They slow down the page, consume power, open security vulnerabilities and exclude people. 

    Additionally, today's projects often reject existing built-in form and UI controls because they require more agency over the look and feel of the interface. Web designers demand the ability to express their project's branding across every element on the page, including all user interfaces. Current form and website-level UI controls do not allow for this.

    It's time to modernize HTML once again, and standardize the underlying technology needed by web developers to create the most common patterns of form and website-level UI controls. HTML alone won't be enough, however. New CSS and JavaScript are needed as well. And rather than simply standardize specific interfaces, it's time to create a more powerful underlying architecture so the creators of web sites and apps can design and build their own ideas for interfaces.

    The Open UI Community Group is tasked with facilitating a larger architectural plan for how HTML, CSS, JS, and Web APIs can be combined to provide needed technology so web developers can create modern custom user interfaces. 

    Once foundational planning is done, each needed web standard will be defined in the appropriate working group. Open UI is tasked with creating recommendations for those working groups, not defining the standards themselves. 

    The Open UI community group is focused on improving form controls and other website-level UI controls on the web by pursuing the following:

    • Research
      • Document universal component patterns seen in popular 3rd-party web development frameworks.
      • Capture commonly-used language for component names and parts, states, behaviors, and transition triggers.
      • Conduct informal developer-facing user research.
      • Discover gaps or bugs in what's possible with current web technology.
    • Plan
    • Recommend
      • Write draft proposals for targeted improvements to form controls and other website-level UI controls, their styling, and behavior to HTML, CSS, JavaScript, Accessibility or Web APIs.
      • Deliver the draft proposals as suggestions to the WHATWG, CSSWG, W3C, TC39 and other relevant standards bodies for further debate, adoption, and for implementation in browsers after becoming official HTML, CSS, JS, ARIA or Web API specifications. 
      • Open issues for any bugs discovered with relevant browsers or working groups.
    • Any design, innovation, invention or specification of novel or unique UI patterns or controls, or features that are iconic to a specific platform.
    • Any attempt to determine or specify the default look or behavior of these controls in the context of a particular operating system or hardware device.

    We welcome everyone to get involved in Open UI, check out our Get Involved page on our site on the ways in which you can engage with the community.

    This repository is being used for work in the W3C Open UI Community Group, governed by the W3C Community License Agreement (CLA). To make substantive contributions, you must join the Open UI CG prior to making a PR.

    联系我们 contact @ memedata.com