Skip to content

Files

Latest commit

4784284 · Mar 19, 2021

History

History

number-input

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 19, 2021
Jun 25, 2020
Apr 8, 2020

@dojo/widgets/number-input

Dojo's NumberInput widget provides a basic number input widget with an optional label.

Features

  • Correctly handles a11y attributes
  • Allows leading / trailing icons / text to be added

Accessibility Features

  • Ensures that the proper attributes (ARIA or otherwise) are set along with classes when properties such as disabled, readOnly, etc. are used
  • Additional custom ARIA labels may be added with the aria property
  • Sets aria-invalid when validation fails