Skip to content

Commit

Permalink
chore(build): bumping to version 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneyrehm committed Jan 12, 2017
1 parent ce887ae commit 80a082c
Show file tree
Hide file tree
Showing 28 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion docs/api/element/blur.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var result = ally.element.blur(element);
## Changes

* Added in `v1.3.0`.
* Since `v#master` can blur SVG elements in Firefox, Internet Explorer and Edge.
* Since `v1.4.0` can blur SVG elements in Firefox, Internet Explorer and Edge.


## Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/api/element/disabled.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ <h1><code>ally.element.disabled</code> Example</h1>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
var button = document.getElementById('toggle-disabled');
Expand Down
2 changes: 1 addition & 1 deletion docs/api/element/focus.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ var result = ally.element.focus(element);
## Changes

* Added in `v1.3.0`.
* Since `v#master` can focus SVG elements in Internet Explorer and Edge.
* Since `v1.4.0` can focus SVG elements in Internet Explorer and Edge.


## Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/api/fix/pointer-focus-children.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h2>Fixed Behavior</h2>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
ally.fix.pointerFocusChildren({
Expand Down
2 changes: 1 addition & 1 deletion docs/api/fix/pointer-focus-input.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h2>Fixed Behavior</h2>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
ally.fix.pointerFocusInput({
Expand Down
2 changes: 1 addition & 1 deletion docs/api/fix/pointer-focus-parent.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h2>Fixed Behavior</h2>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
ally.fix.pointerFocusParent({
Expand Down
8 changes: 4 additions & 4 deletions docs/api/is/focus-relevant.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ Boolean, `true` if the element is focus relevant.
* Since `v1.1.0` exceptions can be passed to `ally.is.focusRelevant.rules(options)`.
* Since `v1.1.0` IE9 properly resolves SVG links (`<a xlink:href="…">`).
* In `v1.3.0` the `element.prototype.matches` was replaced by `util/element-matches`.
* Since `v#master` SVG elements with `tabindex="-1"` are handled properly in Firefox 51 ([Bug 1302340](https://bugzilla.mozilla.org/show_bug.cgi?id=1302340)) as well as MS Edge 14.
* Since `v#master` only Blink considers `<use … tabindex="-1">` focus relevant.
* Since `v#master` only Blink and WebKit consider `<foreignObject … tabindex="-1">` focus relevant.
* Since `v#master` the document element (`<svg>`) of SVG documents in browsing contexts (`<iframe>`, `<object>`) is considered focus relevant in Firefox 51.
* Since `v1.4.0` SVG elements with `tabindex="-1"` are handled properly in Firefox 51 ([Bug 1302340](https://bugzilla.mozilla.org/show_bug.cgi?id=1302340)) as well as MS Edge 14.
* Since `v1.4.0` only Blink considers `<use … tabindex="-1">` focus relevant.
* Since `v1.4.0` only Blink and WebKit consider `<foreignObject … tabindex="-1">` focus relevant.
* Since `v1.4.0` the document element (`<svg>`) of SVG documents in browsing contexts (`<iframe>`, `<object>`) is considered focus relevant in Firefox 51.

## Notes

Expand Down
2 changes: 1 addition & 1 deletion docs/api/is/only-tabbable.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Boolean, `true` if the element is only tabbable.
* Since `v1.1.0` exceptions can be passed to `ally.is.onlyTabbable.rules(options)`.
* Since `v1.1.0` the state of the `<iframe>` or `<object>` element in which the currently examined element is hosted in is considered.
* Since `v1.1.0` elements must be [visible](./visible.md) to be considered only tabbable.
* Since `v#master` SVG elements are no longer considered *only tabbable* in IE9+, Edge12+ and Firefox 51+.
* Since `v1.4.0` SVG elements are no longer considered *only tabbable* in IE9+, Edge12+ and Firefox 51+.


## Notes
Expand Down
8 changes: 4 additions & 4 deletions docs/api/is/tabbable.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ Boolean, `true` if the element is tabbable.
* Since `v1.1.0` exceptions can be passed to `ally.is.tabbable.rules(options)`.
* Since `v1.1.0` the state of the `<iframe>` or `<object>` element in which the currently examined element is hosted in is considered.
* Since `v1.3.0` the `except.scrollable` properly filters elements with CSS property `overflow` in Firefox.
* Since `v#master` SVG elements can be tabbable in Firefox and Internet Explorer.
* Since `v#master` SVG elements within `<object>` or `<iframe>` can be tabbable in Blink.
* Since `v#master` SVG elements with negative tabindex attribute within browsing contexts (`<iframe>` or `<object>`) are considered tabbable since Edge 14.
* Since `v#master` Blink and Safari 9 consider `<use … tabindex="-1">` tabbable.
* Since `v1.4.0` SVG elements can be tabbable in Firefox and Internet Explorer.
* Since `v1.4.0` SVG elements within `<object>` or `<iframe>` can be tabbable in Blink.
* Since `v1.4.0` SVG elements with negative tabindex attribute within browsing contexts (`<iframe>` or `<object>`) are considered tabbable since Edge 14.
* Since `v1.4.0` Blink and Safari 9 consider `<use … tabindex="-1">` tabbable.


## Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/api/is/valid-tabindex.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Boolean, `true` if the element is has a valid tabindex attribute specified.

## Changes

* Since `v#master` supports `tabIndex` as attribute name for SVG elements in Microsoft Edge.
* Since `v1.4.0` supports `tabIndex` as attribute name for SVG elements in Microsoft Edge.


## Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/api/maintain/disabled.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h1><code>ally.maintain.disabled</code> Example</h1>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
var handle;
Expand Down
2 changes: 1 addition & 1 deletion docs/api/maintain/hidden.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ <h1><code>ally.maintain.hidden</code> Example</h1>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
var handle;
Expand Down
2 changes: 1 addition & 1 deletion docs/api/maintain/tab-focus.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h1><code>ally.maintain.tabFocus</code> Example</h1>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
var handle;
Expand Down
2 changes: 1 addition & 1 deletion docs/api/query/first-tabbable.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1><code>ally.query.firstTabbable</code> Example</h1>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
var element = ally.query.firstTabbable({
Expand Down
2 changes: 1 addition & 1 deletion docs/api/query/focusable.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1><code>ally.query.focusable</code> Example</h1>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
ally.query.focusable().forEach(function(element) {
Expand Down
2 changes: 1 addition & 1 deletion docs/api/query/tabbable.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h1><code>ally.query.tabbable</code> Example</h1>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
ally.query.tabbable().forEach(function(element) {
Expand Down
2 changes: 1 addition & 1 deletion docs/api/query/tabsequence.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ <h1><code>ally.query.tabsequence</code> Example</h1>
<h2>Tab Sequence</h2>
<ol id="output"></ol>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
var sequence = ally.query.tabsequence({
Expand Down
2 changes: 1 addition & 1 deletion docs/api/query/tabsequence.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Array of [`HTMLElement`](https://developer.mozilla.org/en/docs/Web/API/HTMLEleme
* Since `v1.1.0` the module can move `<area>` elements to the place of the `<img>` elements they're referenced from.
* Since `v1.1.0` the module can sort elements in [ShadowDOM](http://caniuse.com/#feat=shadowdom) localized to the `ShadowRoot`.
* Since `v1.1.0` the option `includeOnlyTabbable` allows to skip the internal filter preventing this module from returning elements that cannot be focused by script.
* Since `v#master` the `tabindex` attribute is used for sorting for elements without a `tabIndex` property.
* Since `v1.4.0` the `tabindex` attribute is used for sorting for elements without a `tabIndex` property.


## Notes
Expand Down
2 changes: 1 addition & 1 deletion docs/api/style/focus-source.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ <h1><code>ally.style.focusSource</code> Example</h1>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
var buttonPass = document.getElementById('focus-pass');
Expand Down
2 changes: 1 addition & 1 deletion docs/api/style/focus-within.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h1><code>ally.style.focusWithin</code> Example</h1>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
var handle = ally.style.focusWithin();
Expand Down
8 changes: 4 additions & 4 deletions docs/api/supports.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ For the tests to run properly, the document needs to have focus during execution
## Changes

* As of `v1.3.0` *all* tests are run at once and within an iframe to limit layout thrashing.
* In `v#master` the test `focus-svg-negative-tabindex-attribute` was introduced.
* Since `v#master` the SVG tests attempt to focus elements using `HTMLElement.prototye.focus` and the "focusable foreignObject hack".
* In `v#master` the test `focus-svg-use-tabindex` was introduced.
* In `v#master` the test `focus-svg-foreignobject-tabindex` was introduced.
* In `v1.4.0` the test `focus-svg-negative-tabindex-attribute` was introduced.
* Since `v1.4.0` the SVG tests attempt to focus elements using `HTMLElement.prototye.focus` and the "focusable foreignObject hack".
* In `v1.4.0` the test `focus-svg-use-tabindex` was introduced.
* In `v1.4.0` the test `focus-svg-foreignobject-tabindex` was introduced.


## Contributing
Expand Down
2 changes: 1 addition & 1 deletion docs/api/when/focusable.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h1><code>ally.when.focusable</code> Example</h1>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
var button = document.getElementById('activate');
Expand Down
2 changes: 1 addition & 1 deletion docs/api/when/key.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h1><code>ally.when.key</code> Example</h1>

</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
ally.when.key({
Expand Down
2 changes: 1 addition & 1 deletion docs/api/when/visible-area.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ <h1><code>ally.when.visibleArea</code> Example</h1>
</main>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
var button = document.getElementById('activate');
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ npm run build:amd
npm run watch:amd
```

Since `v#master` the AMD modules are actually UMD modules, because of how babel 6 handles default exports. Since UMD can be consumed by both AMD and CommonJS system, a separate CommonJS build is not necessary anymore. However, changing the npm module's structure is a breaking change and has thus been deferred to the next major release.
Since `v1.4.0` the AMD modules are actually UMD modules, because of how babel 6 handles default exports. Since UMD can be consumed by both AMD and CommonJS system, a separate CommonJS build is not necessary anymore. However, changing the npm module's structure is a breaking change and has thus been deferred to the next major release.


---
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/dialog.example.html
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ <h1 id="dialog-title">Name Entry</h1>
</div>
</div>

<script src="https://cdn.jsdelivr.net/ally.js/1.3.0/ally.min.js"></script>
<script src="https://cdn.jsdelivr.net/ally.js/1.4.0/ally.min.js"></script>

<script id="example-js">
// Grab the elements we need to interact with
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorials/focusing-in-svg.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ It is possible to programmatically shift focus to an `<a xlink:href="…">` elem
1. remove the `<foreignObject>` element injected in step 1
1. the target element has received focus and become the active element

As of `v#master` the utility [`ally.element.focus`](../api/element/focus.md) incorporates the above workarounds to focus SVG elements in all versions of Internet Explorer and Microsoft Edge.
As of `v1.4.0` the utility [`ally.element.focus`](../api/element/focus.md) incorporates the above workarounds to focus SVG elements in all versions of Internet Explorer and Microsoft Edge.


### The blur SVG element hack
Expand All @@ -101,7 +101,7 @@ Browsers that don't provide the `.focus()` method on `SVGElement` also lack the
1. remove the `<input>` element injected in step 1
1. `document.body` is now the active element

As of `v#master` the utility [`ally.element.blur`](../api/element/blur.md) incorporates the above workaround to shift focus away from SVG elements in all versions of Internet Explorer, Microsoft Edge and Firefox below version 51.
As of `v1.4.0` the utility [`ally.element.blur`](../api/element/blur.md) incorporates the above workaround to shift focus away from SVG elements in all versions of Internet Explorer, Microsoft Edge and Firefox below version 51.


## Styling focused SVG elements
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ally.js",
"version": "1.3.2",
"version": "1.4.0",
"description": "JavaScript library to help web applications with accessibility concerns",
"main": "ally.min.js",
"npmName": "ally.js",
Expand Down

0 comments on commit 80a082c

Please sign in to comment.