{"id":33357,"date":"2019-10-16T00:30:56","date_gmt":"2019-10-15T15:30:56","guid":{"rendered":"https:\/\/jirak.net\/wp\/improving-form-controls-in-microsoft-edge-and-chromium\/"},"modified":"2019-10-16T00:34:48","modified_gmt":"2019-10-15T15:34:48","slug":"improving-form-controls-in-microsoft-edge-and-chromium","status":"publish","type":"post","link":"https:\/\/jirak.net\/wp\/improving-form-controls-in-microsoft-edge-and-chromium\/","title":{"rendered":"Improving form controls in Microsoft Edge and Chromium"},"content":{"rendered":"<p>Improving form controls in Microsoft Edge and Chromium<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jirak.net\/wp\/wp-content\/uploads\/2019\/10\/d9ca3ff13afa4072ca2533985ed69348.png\" width=\"104\" height=\"100\"><\/p>\n<p>Since we began work on the next version of Microsoft Edge based on Chromium, we&#8217;ve been investigating ways to modernize form controls to provide a modern appearance as well as the touch friendliness and accessibility that our users expect from Microsoft Edge today.<\/p>\n<p>Over the past few months, we&#8217;ve been collaborating closely with the Google Chrome team on this project, and are excited to share the refreshed controls that will be coming to Microsoft Edge Insider builds, or other Chromium browsers near you.<\/p>\n<h1>A more modern appearance<\/h1>\n<p>This change brings an improved polish to the form controls and helps bring continuity of design and user experience with the rest of the browser. We have been collaborating closely with the Google Chrome design team to strike a balance between our design languages with a modern look and feel that feels at home in a variety of Chromium browsers. Below is a comparison of the default controls in Chromium today, compared to the updated controls we\u2019re rolling out:<\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"173\"><strong>\u00a0<\/strong><\/td>\n<td width=\"239\"><strong>Current<\/strong><\/td>\n<td width=\"211\"><strong>Upcoming<\/strong><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Radio<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-24116\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/d9ca3ff13afa4072ca2533985ed69348.png\" alt=\"Image showing the radio control in Chromium today\" width=\"52\" height=\"50\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-24117\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/da659762b111a4ed231b0d8be67eb138.png\" alt=\"Image showing the new radio control in Microsoft Edge\" width=\"55\" height=\"50\" \/><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Checkbox<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-24101\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/b6535fa6464fb3812c4a1d4c0897b169.png\" alt=\"Image of the checkbox control in Chromium today\" width=\"52\" height=\"50\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-24102\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/dd5187cc2ba746d7f88e08570ab41e91.png\" alt=\"Image of the new checkbox control in Microsoft Edge\" width=\"55\" height=\"50\" \/><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Text<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24120\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/65085ee194f1a828d2ead70336943de8.png\" alt=\"Image showing the text control in Chromium today\" width=\"319\" height=\"55\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24121\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/7355c1225704dca3871ea1d2f8b2055b.png\" alt=\"Image showing the new select control coming to Microsoft Edge\" width=\"350\" height=\"63\" \/><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Buttons<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-24099\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/9d50ef957dde61596dfc342885ee564f.png\" alt=\"Image of the button control in Chromium today\" width=\"161\" height=\"50\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-24100\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/29ca6984ddabfabac9922d2129de8c84.png\" alt=\"Image of the new button control in Microsoft Edge\" width=\"158\" height=\"50\" \/><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Select<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24118\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/d5dcbb2b617ba239243b4304b7ace00f.png\" alt=\"Image showing the select control in Chromium today\" width=\"92\" height=\"133\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24119\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/817804fabcc094e8ff6eef6db7c40fd0.png\" alt=\"Image showing the new Select control in Microsoft Edge\" width=\"104\" height=\"133\" \/><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Password<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24111\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/36de5393d7ca3fa7fe03f153291c2abc.png\" alt=\"Image showing the password field in Chromium today\" width=\"686\" height=\"101\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24112\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/f5ae2bcd4dc7421a83463cc5e91921e3.png\" alt=\"Image showing the new password field in Microsoft Edge\" width=\"687\" height=\"102\" \/><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Color<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24103\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/1bf7a0c6907a5b1e1dc0dc00b7f79903.png\" alt=\"Image of the color picker control in Chromium today\" width=\"693\" height=\"582\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24104\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/8eacb5350494113890303ecb5b4c43f8.png\" alt=\"Image of the new color picker control in Microsoft Edge\" width=\"363\" height=\"521\" \/><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Meter<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24109\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/2460526fa6209ec462c2e78faa064d43.png\" alt=\"Image showing the meter control in Chromium today\" width=\"141\" height=\"40\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24110\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/1677d1bebb3addf32f162c9dde87dbdb.png\" alt=\"Image of the new meter control in Microsoft Edge\" width=\"100\" height=\"20\" \/><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Progress<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-24114\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/05080c4f56931668f8f68911afd9a4be.png\" alt=\"Image showing the password control in Chromium today\" width=\"127\" height=\"20\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24115\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/c32c19d1606ae49e72245acdeb9ca2cd.png\" alt=\"Image showing the new progress control coming to Microsoft Edge\" width=\"185\" height=\"17\" \/><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Range<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24125\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/0868136e545814d0f4356d942bd79000.png\" alt=\"Image the the range control in Chromium today\" width=\"137\" height=\"32\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24126\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/cb780edc83debb6499121bbd40c31ff2.png\" alt=\"Image of the new range control coming to Microsoft Edge\" width=\"156\" height=\"26\" \/><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Date<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24105\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/4b3f7f2c99ddc9e7caf8836a542c502b.png\" alt=\"Image of the date picker control in Chromium today\" width=\"408\" height=\"480\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24106\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/230e13ce83bf3792acd2028b491be2f2.png\" alt=\"Image of the new date picker control coming to Microsoft Edge\" width=\"352\" height=\"480\" \/><\/td>\n<\/tr>\n<tr>\n<td width=\"173\"><strong>Time<\/strong><\/td>\n<td width=\"239\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-24123\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/25c57840f7251b359d733e025e659fab.png\" alt=\"Image showing the time control in Chromium today\" width=\"123\" height=\"40\" \/><\/td>\n<td width=\"211\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24124\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/62253943817d02051cade422b974839a.png\" alt=\"Image showing the new time control in Microsoft Edge\" width=\"267\" height=\"508\" \/><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h1>Better touch support<\/h1>\n<p>Windows devices come in a rich array of form factors and input modalities, including traditional desktop and laptop PCs, 2-in-1 devices, and other tablets and pen devices. We heard your feedback looking for a better touch input experience in our early Chromium preview builds, and set out to take an inventory of the controls to identify opportunities to improve the touch experience.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-24122 size-medium\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/5d75fbe7da95cde5f4267cdbddcf42ab-227x300.png\" alt=\"Image comparing the old and new time controls\" width=\"227\" height=\"300\" \/><\/p>\n<p>A good example of the touch improvements is the time input; currently, Chromium provides a text input, a clear button and a spinner. Our research found that with the large surface area of the fingertip, small controls that are too close together can be difficult to target precisely, recommending a control size of 23&#215;23 pixels (13&#215;13 DLUs) is a good minimum interactive control size for any input device. By contrast, the spin controls at 15&#215;11 pixels are much too small to be used effectively with touch. The new time input we\u2019re introducing includes a flyout with expected touch affordances, like inertia when scrolling and larger touch targets. Other inputs such as date, color, range received subtle size increases to \u00a0important touch targets as well.<\/p>\n<h1>More accessible controls<\/h1>\n<p>Another area we examined is the focus rectangle that wraps a control when a user focuses the control. This is an important accessibility feature, as it allows the user to track where they\u2019re actively focused, especially while navigating via keyboard.<\/p>\n<p>Our team identified three different potential focus indicators that aligned with Microsoft\u2019s design language, guaranteed high contrast on any background content, and provided a clean and aesthetically pleasing appearance.<\/p>\n<p>We then ran interactive user studies to identify the best option, compared against Chromium\u2019s current default focus rectangle as a baseline. We found that, while preferences were split for aesthetics, one option was the clear leader for accessibility. We\u2019ve chosen that option as the new focus rectangle in Microsoft Edge, which you can see below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24107\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/f1bbf5bb11c6bbee4a19b44727fa65be.png\" alt=\"Image comparing focus react options\" width=\"1104\" height=\"115\" \/><\/p>\n<p>Additionally, all these controls now support Windows High Contrast, which allows the user to define specific colors to improve the visual experience. All sites that utilize the built-in controls will benefit from these updated controls whenever the user is in High Contrast mode, without web developers doing any extra work. However, webdevelopers can adjust these styles if they want by utilizing the new CSS <a href=\"https:\/\/drafts.csswg.org\/css-color-adjust-1\/#forced-color-adjust-prop\">forced-color-adjust<\/a> property and the <a href=\"https:\/\/drafts.csswg.org\/mediaqueries-5\/#prefers-contrast\">prefers-contrast<\/a>media query that are actively being standardized.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-24108\" src=\"https:\/\/blogs.windows.com\/wp-content\/uploads\/prod\/sites\/33\/2019\/10\/c70d729b2cbbc60cbdcc547508d1649d.png\" alt=\"Image showing new date and color picker controls in High Contrast mode\" width=\"460\" height=\"349\" \/><\/p>\n<p>We\u2019ve also updated our implementation to ensure great keyboard support across each control. For example, in the new color input, you can either navigate a single value using the arrow keys with the color well selected; if you hold the Ctrl key on Windows (Cmd key on Mac), it will move by 10 values allowing for quick traversal of the color well.<\/p>\n<p>Finally, we updated the mappings for the controls to map to the <a href=\"https:\/\/www.w3.org\/TR\/html-aam-1.0\/\">HTML Accessibility API Mappings specification<\/a>, to ensure a great experience for users who use assistive technologies (such as screen readers).<\/p>\n<h1>Please share your feedback<\/h1>\n<p>These updated controls are now available in Canary and Dev channel builds of Microsoft Edge, and will be coming upstream to other Chromium browsers in the near future. We\u2019re excited as this work begins to ship out to users, and as the controls continue to evolve, we greatly appreciate any feedback that you may have in how we can improve the experience. Just click the smiley face in the top-right to Send Feedback, and let us know what you think!<\/p>\n<p>\u2014 <a href=\"https:\/\/twitter.com\/gregwhitworth\">Greg Whitworth<\/a>, Senior Program Manager, Microsoft Edge<\/p>\n<p>The post <a rel=\"nofollow\" href=\"https:\/\/blogs.windows.com\/msedgedev\/2019\/10\/15\/form-controls-microsoft-edge-chromium\/\">Improving form controls in Microsoft Edge and Chromium<\/a> appeared first on <a rel=\"nofollow\" href=\"https:\/\/blogs.windows.com\">Windows Blog<\/a>.<\/p>\n<p>Source: <a href=\"https:\/\/blogs.windows.com\/msedgedev\/2019\/10\/15\/form-controls-microsoft-edge-chromium\/\" target=\"_blank\" rel=\"noopener noreferrer\">Improving form controls in Microsoft Edge and Chromium<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Improving form controls in Microsoft Edge and Chromium Since we began work on the next version of Microsoft Edge based on Chromium, we&#8217;ve been investigating ways to modernize form controls to provide a modern appearance as well as the touch friendliness and accessibility that our users expect from Microsoft Edge today. Over the past few months, we&#8217;ve been collaborating closely with the Google Chrome team on this project, and are excited to share the refreshed controls that will be coming to Microsoft Edge Insider builds, or other Chromium browsers near you. A more modern appearance This change brings an improved polish to the form controls and helps bring continuity of design and user experience with the rest of the browser. We have been collaborating closely with the Google Chrome design team to strike a balance between our design languages with <a class=\"mh-excerpt-more\" href=\"https:\/\/jirak.net\/wp\/improving-form-controls-in-microsoft-edge-and-chromium\/\" title=\"Improving form controls in Microsoft Edge and Chromium\">[ more&#8230; ]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":33358,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[169],"tags":[201],"class_list":["post-33357","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-windows"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/jirak.net\/wp\/wp-json\/wp\/v2\/posts\/33357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jirak.net\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jirak.net\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jirak.net\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jirak.net\/wp\/wp-json\/wp\/v2\/comments?post=33357"}],"version-history":[{"count":1,"href":"https:\/\/jirak.net\/wp\/wp-json\/wp\/v2\/posts\/33357\/revisions"}],"predecessor-version":[{"id":33359,"href":"https:\/\/jirak.net\/wp\/wp-json\/wp\/v2\/posts\/33357\/revisions\/33359"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jirak.net\/wp\/wp-json\/wp\/v2\/media\/33358"}],"wp:attachment":[{"href":"https:\/\/jirak.net\/wp\/wp-json\/wp\/v2\/media?parent=33357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jirak.net\/wp\/wp-json\/wp\/v2\/categories?post=33357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jirak.net\/wp\/wp-json\/wp\/v2\/tags?post=33357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}