Skip to content

Commit 6ebcd9b

Browse files
author
Oier Izulain
committed
Changelog updated, jQuery dependencies updated in demo and invalid badges removed
1 parent 6599fc9 commit 6ebcd9b

3 files changed

Lines changed: 16 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,16 @@
88
- Prevents listener from firing when initializing drop down.
99
- Adds the close drop down listener only once.
1010
- Ability to customize animation time.
11-
- Respecting the drop down holder id.
11+
- Respecting the drop down holder id.
12+
13+
## 1.0.3
14+
15+
- jQuery dependency updated, <3.0 has XSS vulnerabilities
16+
- Demo file included for integration testing
17+
- Accessibility improvements
18+
- Use <button> instead of <a> to ensure focus from keyboard navigation.
19+
- Improve z-index to ensure focus ring is not hidden behind other elements.
20+
- Maintain focus after selecting an item from dropdown.
21+
- Use aria-haspopup='listbox' for dropdown and remove conflicting <a> tags from options.
22+
- Use aria-hidden and aria-expanded to notify browser of widget state.
23+
- Handle keyboard navigation between options when listbox is expanded.

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
> A free light weight jQuery plugin that allows you to create a custom drop down with images and description.
44
55
[![Build Status](https://semaphoreci.com/api/v1/projects/b60c2732-c9e4-4fcf-b335-2b7ad6dcb4e8/628732/badge.svg)](https://semaphoreci.com/jsmodules/ddslick)
6-
[![Bower](https://img.shields.io/bower/v/jquery-ddslick.svg?style=flat-square)](http://bower.io/search/?q=ddslick)
7-
[![Bower](https://img.shields.io/bower/l/jquery-ddslick.svg?style=flat-square)](https://www.mozilla.org/en-US/MPL/2.0/)
86
[![npm](https://img.shields.io/npm/v/ddslick.svg?style=flat-square)](https://www.npmjs.com/package/ddslick)
97
[![jsDelivr](https://data.jsdelivr.com/v1/package/npm/ddslick/badge)](https://www.jsdelivr.com/package/npm/ddslick)
108

demo/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>ddSlick demos</title>
6-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
6+
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
77
<!-- <script src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-2.0.6-development-only.js"></script> -->
88
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
99
<script src="http://cdnjs.cloudflare.com/ajax/libs/prettify/188.0.0/prettify.js"></script>
@@ -708,7 +708,7 @@ <h2>How to use with JSON data</h2>
708708
<li>
709709
Include the plugin javascript file along with jquery:
710710
<pre class="prettyprint">
711-
&lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt;
711+
&lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"&gt;&lt;/script&gt;
712712
&lt;script type="text/javascript" src="https://cdn.rawgit.com/jsmodules/ddslick/master/dist/jquery.ddslick.min.js" &gt;&lt;/script&gt;
713713
</pre>
714714
</li>
@@ -778,7 +778,7 @@ <h2>How to use with HTML &lt;select&gt; and &lt;option&gt;</h2>
778778
<li>
779779
Include the plugin javascript file along with jquery:
780780
<pre class="prettyprint">
781-
&lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"&gt;&lt;/script&gt;
781+
&lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.0.0/jquery.min.js"&gt;&lt;/script&gt;
782782
&lt;script type="text/javascript" src="https://cdn.rawgit.com/jsmodules/ddslick/master/dist/jquery.ddslick.min.js" &gt;&lt;/script&gt;
783783
</pre>
784784
</li>

0 commit comments

Comments
 (0)