Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Standardizing 'select': What the future holds for HTML - Stephanie Stimac @ FrontendNE

Frontend NE
March 05, 2020

Standardizing 'select': What the future holds for HTML - Stephanie Stimac @ FrontendNE

Thought HTML was done? Think again! Those who work on the web platform are ready to extend HTML controls with not only updated native web styles, so that we're no longer stuck in the Windows 95 era of design, but we're also starting to look at new HTML controls to help solve some of the problems developers encounter when trying to extend the current controls to fit their needs.

If you build for the web, you’ve probably had that moment when you get to a point you need to build and style your controls, the most common one being the select element. You try to use the native element and style it to match the rest of your design language but the amount of CSS required is exhaustive, and you can forget about extensibility or heavy customization of the controls.

In this talk, I’ll discuss the history behind why HTML controls can be so complex to style, the current state of styling them and their extensibility, and what the future looks like for controls, starting with the select element.

I’ll also touch on how developers and designers can get involved to help drive the future of this area of the web platform forward to ensure browser makers are building the right solutions to this problem.

Full event details: https://frontendne.co.uk/events/2020-03-05

Frontend NE

March 05, 2020
Tweet

More Decks by Frontend NE

Other Decks in Design

Transcript

  1. Standardizing <select> The Past: why HTML Controls are the way

    they are The Present: where we’re at now The Future: what’s to come with HTML Controls (select!)
  2. The primary focus of the specification draft was to capture

    common HTML practice in web browsers as of June 1994. http://www.blooberry.com/indexdot/history/html20.html
  3. WorldWideWeb (Nexus) ViolaWWW Erwise MidasWWW MacWWW Mosaic Cello Lynx 2.0

    Arena AMosaic 1.0 IBM WebExplorer Netscape Navigator SlipKnot 1.0 MacWeb Ibrowse Agora (Argo) Minuet Web Browsers 1991-1994 Wikipedia
  4. Recap Pre-1995: Lots of browsers pop up 1994: HTML 1.0

    draft expires 1995: HTML 2.0 becomes standardized spec Basic HTML form controls standardized No standard for styling Operating system dependency 1997: CSS Supported by HTML 3.20 not fully embraced by browsers 1999: CSS Supported by HTML 4.01 embraced by more browsers
  5. <form> <fieldset> <label> <output> Text-field (<input>) Buttons Checkboxes Radios <legend>

    Feasibility of Styling Form Controls with CSS Can be styled with few problems Can be styled with complex CSS and hacks
  6. <form> <fieldset> <label> <output> Text-field (<input>) Buttons Checkboxes Radios <legend>

    <select> <option> <optgroup> <datalist> <progress> <meter> Color picker Date controls Dropdown widgets Range File picker Feasibility of Styling Form Controls with CSS Can be styled with few problems Can be styled with complex CSS and hacks Good night and good luck.
  7. <form> <fieldset> <label> <output> Text-field (<input>) Buttons Checkboxes Radios <legend>

    <select> <option> <optgroup> <datalist> <progress> <meter> Color picker Date controls Dropdown widgets Range File picker Feasibility of Styling Form Controls with CSS Can be styled with few problems Can be styled with complex CSS and hacks Good night and good luck.
  8. <form> <fieldset> <label> <output> Text-field (<input>) Buttons Checkboxes Radios <legend>

    <select> <option> <optgroup> <datalist> <progress> <meter> Color picker Date controls Dropdown widgets Range File picker Feasibility of Styling Form Controls with CSS Can be styled with few problems Can be styled with complex CSS and hacks Good night and good luck.
  9. …but the amount of work it takes to implement an

    accessible alternative with complete feature parity is massive. “
  10. +

  11. From proposal to standard 1. Proposal incubates in the WICG

    2. After incubation, multi-implementer interest is required before graduating to an HTML standard
  12. Tell other implementers what you want! 1. @mozhacks on Twitter

    2. Mozilla Firefox Platform Status: https://github.com/ mozilla/platform-status 3. @webkit on Twitter 4. WebKit Platform Status: https://webkit.org/status/
  13. Open UI’s Mission Maintain an open standard for UI and

    promote its adherence and adoption.
  14. Goals of Open UI • Document component names as they

    exist today • Define a common language for describing UIs and design systems • Eventual browser standards for web app components • Converging designer processes and developer workflows
  15. We need you! • Provide feedback on the current HTML

    Control prototypes that Chrome has • Contribute to the form control investigations on Open UI • Tell browser vendors what you need from your form controls
  16. Follow these folks • @stubbornella – Google Chrome PM •

    @gregwhitworth – Microsoft Edge PM • @seaotta – Microsoft Edge PM