Releases: Link2Twenty/l2t-paper-slider
Releases · Link2Twenty/l2t-paper-slider
Inert import
Changes:
- Inert.min.js has been depreciated
- Import inert.html (this then adds the inert.js script)
Patch
Fixed issue with slotted styles leading to text size being 0.
Polymer2 Ready
The element will now work with Polymer2 (as well as Polymer1)
Known issues:
- There doesn't seem to be Gesture support with polymer2 (at least not yet)
Minor bug fixes
- fixed slider indicator's animation so it no longer stretches
More A11y
The aim of this update was to make life a bit easier for people with screen readers
- added menubar role to slider dots container
- added menuitemradio role to slider dot elements
- slider dot elements have aria-checked property
- slider dot elements have aria-label "slide [slide number + 1] selector"
- aria-labels are set by the _moveManual function
- added _ariaChecked function to handle aria-checked on position change
Scroll hack fix
The scroll hack has been removed. Thanks to wq9 (Wei Quan).
README
- Small README Change.
onChange Event
- When the slide changes an onChange event is fired
- There was a bug with inert when using dom-repeat this should have been resolved.
Inert
Now using WICG/inert for inert as it offers better support cross browser
and just seems to work better
Inert
Sets hidden tabs to inert.
Also, includes inert-polyfill