An open source, dependency free image lightbox with the goal of being accessible.
MIT License
Published by deoostfrees about 3 years ago
include()
instead of indexOf()
https://github.com/deoostfreese/Parvus/commit/8f37a40812d0e60f1369eec4426d76d448e2f994
Published by deoostfrees over 3 years ago
select
function https://github.com/deoostfreese/Parvus/pull/20/commits/b9b67246cb696b82e50f5255e514d42b13b0dc28
currentIndex
function https://github.com/deoostfreese/Parvus/pull/20/commits/aca006bfd6ea2c184ebb30dc5d9aa0a0ad9e4fc4
Published by deoostfrees over 3 years ago
srcset
attribute) https://github.com/deoostfreese/Parvus/pull/16/commits/b631721da4c2edbea81fdcc79a8b7bb0507bb557
Demo: Open in CodePen
Breaking changes: Rename CSS variables https://github.com/deoostfreese/Parvus/pull/16/commits/ff6b627f909f633d0e8060e4c6785f8d3b42f8b2
Published by deoostfrees over 3 years ago
Published by deoostfrees over 3 years ago
setFocusToFirstItem
function 470fca9b7deaef90d1e1d07a78b634d042478918getFocusableChildren
function 470fca9b7deaef90d1e1d07a78b634d042478918aria-modal
attribute 90aef93aadb16ad20a1e4f47af356d12a489f09awidth
and height
to images f3b071db28c262e7ef36a44e59c1201bdf657a9escrollClose
to false
fd3a91c34ed629d8c4708ff4b2b687e3e923d226Published by deoostfrees over 3 years ago
docClose
option a38e5399c3875a265cebd522725fea599d9fccedPublished by deoostfrees almost 4 years ago
Published by deoostfrees about 4 years ago
tabindex="-1"
for focusing with JavaScript eda6347b5a12c79fccc333d2a8e3c2ae940ecce1Published by deoostfrees about 4 years ago
Published by deoostfrees about 4 years ago
Published by deoostfrees about 4 years ago
Initial version