Skip to content

Commit d460ff2

Browse files
committed
Update blueimp Gallery template.
1 parent 1c84ab1 commit d460ff2

File tree

1 file changed

+30
-5
lines changed

1 file changed

+30
-5
lines changed

index.html

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,39 @@ <h3 class="panel-title">Demo Notes</h3>
200200
<div
201201
id="blueimp-gallery"
202202
class="blueimp-gallery blueimp-gallery-controls"
203+
aria-label="image gallery"
204+
aria-modal="true"
205+
role="dialog"
203206
data-filter=":even"
204207
>
205-
<div class="slides"></div>
208+
<div class="slides" aria-live="polite"></div>
206209
<h3 class="title"></h3>
207-
<a class="prev"></a>
208-
<a class="next"></a>
209-
<a class="close">×</a>
210-
<a class="play-pause"></a>
210+
<a
211+
class="prev"
212+
aria-controls="blueimp-gallery"
213+
aria-label="previous slide"
214+
aria-keyshortcuts="ArrowLeft"
215+
></a>
216+
<a
217+
class="next"
218+
aria-controls="blueimp-gallery"
219+
aria-label="next slide"
220+
aria-keyshortcuts="ArrowRight"
221+
></a>
222+
<a
223+
class="close"
224+
aria-controls="blueimp-gallery"
225+
aria-label="close"
226+
aria-keyshortcuts="Escape"
227+
></a>
228+
<a
229+
class="play-pause"
230+
aria-controls="blueimp-gallery"
231+
aria-label="play slideshow"
232+
aria-keyshortcuts="Space"
233+
aria-pressed="false"
234+
role="button"
235+
></a>
211236
<ol class="indicator"></ol>
212237
</div>
213238
<!-- The template to display files available for upload -->

0 commit comments

Comments
 (0)