v1.7.19
-
Removing dependency on non-standard String.trim function (#1630)
divdavem - Mon Apr 18 2016 15:17:01 GMT+0200 (Romance Daylight Time)
String.trim is a non-standard method implemented in Firefox:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String#String_generic_methodsThis commit removes the dependency on this method and changes the regular
expression to match the one of the polyfill of String.prototype.trim from MDN:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trimThis fixes the new test.aria.utils.String.testNullTrim test method
which was introduced in #1626 (in commit afa3a47)
and was failing on Firefox. -
WAI-ARIA adds 4 new properties to manage aria label related attributes in the DOM. (#1629)
Simon Arbuckle - Fri Apr 15 2016 18:49:29 GMT+0200 (Romance Daylight Time)
-
Fixed the TabsJawsTest (by filtering) and improved the JAWS test utilities (#1628)
ymeine - Fri Apr 15 2016 16:46:15 GMT+0200 (Romance Daylight Time)
- the TabJawsTest now ignores irrelevant content, especially the links that are clicked to have focus.
- the EnhancedJawsTestCase now supports the use of a filter
- the JawsTestCase now logs more information when there is an assert error
-
aria.utils.String.trim now passes non-string arguments unmodified (#1626)
Mathieu Seiler - Thu Apr 14 2016 11:43:13 GMT+0200 (Romance Daylight Time)
-
compat Compatibility for previous parseTemplate signature in class generators (#1627)
divdavem - Wed Apr 13 2016 18:38:26 GMT+0200 (Romance Daylight Time)
-
Template parser and class generator improvements for tools (#1627)
divdavem - Wed Apr 13 2016 18:33:21 GMT+0200 (Romance Daylight Time)
This commit improves the template parser and class generator in the
following ways:- the template tree now includes the processed source (which is the
reference string for positions provided in the template tree) - during class generation, most statements now add a "properties" property
on their corresponding template tree node, to contain the parsed
version of their parameters, so that it is possible to avoid code
duplication with tools which analyse templates and need those pieces of
information too - the signature of the parseTemplate method in class generators was
simplified so that it is easier to add options. The following options
were added:- parseOnly: if true, the resulting class will not be generated, but
the template is still fully parsed, including all statement properties - dontLoadWidgetLibs: If true, widget libraries referenced in the
template will not be loaded during the class generation process,
which is convenient if they are not available at that time. However,
as a result, there will probably be missing dependencies in the
generated class (but that is especially not a problem when parseOnly
is true).
- parseOnly: if true, the resulting class will not be generated, but
- the template tree now includes the processed source (which is the
-
createATSyncContext method to use Aria Templates from node.js more easily (#1606)
divdavem - Tue Apr 12 2016 15:02:10 GMT+0200 (Romance Daylight Time)
This commit adds the
createATSyncContextmethod to the ariatemplates npm
package.Here is an example showing how it can be used (from node.js) to load the
aria.templates.TplClassGeneratorclass and compile a template
synchronously:var createATSyncContext = require("ariatemplates/src/node").createATSyncContext; var context = createATSyncContext(); context.Aria.load({ classes : ["aria.templates.TplClassGenerator"] }); context.execTimeouts(); // executes any timeout synchronously var classDef; context.aria.templates.TplClassGenerator.parseTemplate("{Template {$classpath:'a.b.C'}} {macro main()}It works!{/macro}{/Template}", true, function(response) { classDef = response.classDef; }); context.execTimeouts(); // executes any timeout synchronously console.log(classDef); // here, classDef contains the generated class definition
An previous version of the
createATSyncContextfunction is included in
atpackager,
but it is probably better to share it in the Aria Templates package itself
so that it can be used more easily by any project. -
Error list and error tooltips were not read with JAWS 16 (#1623)
fbasso - Fri Apr 08 2016 16:10:35 GMT+0200 (Romance Daylight Time)
-
Render CheckboxJawsTestCase more stable (#1625)
fbasso - Fri Apr 08 2016 14:53:17 GMT+0200 (Romance Daylight Time)
-
A global filter has been set for the JAWS tests (#1624)
fbasso - Fri Apr 08 2016 13:56:34 GMT+0200 (Romance Daylight Time)
-
New parameter added to load a test template without running (#1622)
fbasso - Tue Apr 05 2016 16:05:46 GMT+0200 (Romance Daylight Time)
the test