Input type="range" polyfill (slider control)

Looking for WET v3.1?

WET v4.0 is now the current version. There is a new location for the current page in WET v3.1.

Questions or comments?

Purpose

The <input type="range" /> allows to display a slider control bar. Because some browsers do not support this functionality natively, this polyfill emulates the same functionality using generic HTML and WAI-ARIA.

Working example

How to implement

To use the polyfill, a standard input type="range" element must be used. In cases where a browser doesn't support the input type="range" element, the polyfill is automatically loaded.

Configuration options

Configuration options available for the input type="range" element (HTML5 specification)

Source code

Input type="range" polyfill source code on GitHub

Date modified: