While most browsers work all right with the new semantic elements of HTML5, they don’t add the ARIA accessibility attributes that the specification demands. This small JavaScript adds those attributes to enhance accessibility of web sites.
341
stars
30
forks
source link
Code: add unit tests to aid innovation without regressions #13
To implement issue #12 I'll need to re-arrange the vanillajs code somewhat. So I thought this would be a good time to include some unit tests.
I propose using a lightweight framework initially - BusterJS, hosted via CDN.
However, I suggest we make it fully automated in time, perhaps using Grunt, PhantomJS etc. Note, I don't want to make the project top-heavy. The currently Javascripts are lightweight, and good at doing one job. It would be a pity to add lots of supporting files...
To implement issue #12 I'll need to re-arrange the vanillajs code somewhat. So I thought this would be a good time to include some unit tests.
I propose using a lightweight framework initially - BusterJS, hosted via CDN.
However, I suggest we make it fully automated in time, perhaps using Grunt, PhantomJS etc. Note, I don't want to make the project top-heavy. The currently Javascripts are lightweight, and good at doing one job. It would be a pity to add lots of supporting files...
Thoughts welcome!