Back to home

Attribute: min and max

Test

Example

Code sample

<input min="1" max="5" type="number">
<input aria-valuemax="10" aria-valuemin="1" type="number">
<input min="1" max="5" aria-valuemax="10" aria-valuemin="1" type="number">
Support chart
OS Browser NVDA 2014.4 JAWS 16 VoiceOver
Windows 7 IE 11 Example 1:
Phone. Edit. Blank

Example 2:
Credit card. Edit. Blank

Example 3:
Mobile. Edit. Blank
Example 1:
Phone. Edit. Type in text

Example 2:
Credit card. Edit. Type in text

Example 3:
Mobile. Edit. Type in text
Windows 7 IE 8 x x
Windows 7 Chrome 39 Example 1:
Phone. Edit. Blank

Example 2:
Credit card. Edit. Blank

Example 3:
Mobile. Edit. Blank
Example 1:
Phone. Edit. Type in text

Example 2:
Credit card. Edit. Type in text

Example 3:
Mobile. Edit. Type in text
Windows 7 Firefox 34 Example 1:
Phone. Spin button. Edit. Blank

Example 2:
Credit card. Spin button. Edit. Blank

Example 3:
Mobile. Spin button. Edit. Blank
Example 1:
Phone. Edit. Spin box. Phone. Edit. Type in text

Example 2:
Credit card. Edit. Spin box. Credit card. Edit. Type in text

Example 3:
Mobile. Edit. Spin box. Mobile. Edit. Type in text
OSX 10.9 Chrome 39 Example 1:
Phone. Edit. text

Example 2:
Credit card. Edit. text

Example 3:
Mobile. Edit. text
OSX 10.9 Firefox 34 Example 1:
Text. Blank

Example 2:
Text. Blank

Example 3:
Text. Blank
OSX 10.9 Safari 7 Example 1:
Phone. Incremental. Edit. text

Example 2:
Credit card. Incremental. Edit. text

Example 3:
Mobile. Incremental. Edit. text

Bottom of page - Back to home