babelacc

compare different implementations of the text alternative computation  https://p.ce9e.org/babelacc/
git clone https://git.ce9e.org/babelacc.git

commit
5fa947e932b9f1fa96afee59b5649b935ada4f43
parent
25f0c44e6d49908a234460ca3c262e8217232230
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-02-23 11:56
include version number in key

Diffstat

M src/babel.js 8 ++++----

1 files changed, 4 insertions, 4 deletions


diff --git a/src/babel.js b/src/babel.js

@@ -16,15 +16,15 @@ var ex = function(fn, args, _this) {
   16    16 };
   17    17 
   18    18 var implementations = {
   19    -1 	'aria-api': function(el) {
   -1    19 	'aria-api (0.2.6)': function(el) {
   20    20 		return {
   21    21 			name: ex(ariaApi.getName, [el]),
   22    22 			desc: ex(ariaApi.getDescription, [el]),
   23    23 			role: ex(ariaApi.getRole, [el]),
   24    24 		};
   25    25 	},
   26    -1 	'accdc': accdc.calcNames,
   27    -1 	'axe': function(el) {
   -1    26 	'accdc (2.20)': accdc.calcNames,
   -1    27 	'axe (3.1.2)': function(el) {
   28    28 		return {
   29    29 			name: ex(function(el) {
   30    30 				axe._tree = axe.utils.getFlattenedTree(document.body);
@@ -34,7 +34,7 @@ var implementations = {
   34    34 			role: el.getAttribute('role') || ex(axe.commons.aria.implicitRole, [el]),
   35    35 		};
   36    36 	},
   37    -1 	'axs': function(el) {
   -1    37 	'axs (2.12.0)': function(el) {
   38    38 		return {
   39    39 			name: ex(axs.properties.findTextAlternatives, [el, {}]),
   40    40 			desc: '-',