The library can be used to correctly load and implement HTML5, JS and DOM APIs.
Here are some key features of "Webshims Lib":
- HTML5 shiv and innerShiv solution including basic CSS-support
- Canvas
- HTML5 form features including: constraint validation and form widgets
- HTML5 audio/video implementation
- Interactive elements: summary/details
- JSON (stringify and parse)
- localStorage/sessionStorage
- Geolocation
- ECMAScript 5 / JavaScript 1.8.5 features
- Capability based loading
- Cross-browser support
Requirements:
- JavaScript enabled on client side
- Implemented inputmode="numeric" for Smartphones
- Re-implemented FileReader
- Implemented XHR2 and FormData (i.e. Sending FileData and Cross-Domain-Requests)
- Fixed data-groupriequired
- Improved a11y for popovers in conjunction with openOnFocus
- Added minlength attribute to custom validators (only if minlength isn't implemented already)
- Added new alias $.webshim (Only for completeness and compatibility. Use the webshim namespace!