From the course: Accessibility for Web Design

Unlock the full course today

Join today to access over 23,200 courses taught by industry experts.

HTML5 form inputs

HTML5 form inputs

- One of the best features for accessibility has been the ease of use that is provided when we use the new HTML5 form inputs. I say new, like they're fresh, but they were first formally proposed as early as 2005. Of course, it took time for them to be codified and implemented in browsers, but we're in a place now where support for HTML5 form types is quite good. These include specialized versions of text boxes, like tel, URL, email, number, date, search, and a host of others. The biggest reason these are an accessibility benefit is that they're recognized on mobile devices as being different by the operating system. Forms are designed for input. So when we use these form types on most modern mobile devices, we end up with a keyboard that is customized to that particular type of field. Here's some examples from our Green Care Lawn quote form. When we use the phone number field, which has a type equal to tel, we get a…

Contents