babelacc

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

commit
c4449f89abd681f7cf837eb49d54a4edfad2193c
parent
8a0340b7a3c84587b066221abeadc4decd880991
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-07-02 05:25
update accdc to 2.27

Diffstat

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

2 files changed, 5 insertions, 5 deletions


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

@@ -21043,7 +21043,7 @@ module.exports = {
21043 21043   });
21044 21044 })(typeof window === 'object' ? window : this);
21045 21045 },{}],14:[function(require,module,exports){
21046    -1 window.getAccNameVersion = "2.26";
   -1 21046 window.getAccNameVersion = "2.27";
21047 21047 
21048 21048 /*!
21049 21049 CalcNames: The AccName Computation Prototype, compute the Name and Description property values for a DOM node
@@ -21590,10 +21590,10 @@ Plus roles extended for the Role Parity project.
21590 21590                   switch (btnType) {
21591 21591                     case "submit":
21592 21592                     case "image":
21593    -1                       name = "Submit Query";
   -1 21593                       name = "submit";
21594 21594                       break;
21595 21595                     case "reset":
21596    -1                       name = "Reset";
   -1 21596                       name = "reset";
21597 21597                       break;
21598 21598                     default:
21599 21599                       name = "";
@@ -22510,7 +22510,7 @@ var implementations = {
22510 22510 			role: ex(ariaApi.getRole, [el]),
22511 22511 		};
22512 22512 	},
22513    -1 	'accdc (2.26)': accdc.calcNames,
   -1 22513 	'accdc (2.27)': accdc.calcNames,
22514 22514 	'axe (3.2.2)': function(el) {
22515 22515 		return {
22516 22516 			name: ex(function(el) {

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

@@ -23,7 +23,7 @@ var implementations = {
   23    23 			role: ex(ariaApi.getRole, [el]),
   24    24 		};
   25    25 	},
   26    -1 	'accdc (2.26)': accdc.calcNames,
   -1    26 	'accdc (2.27)': accdc.calcNames,
   27    27 	'axe (3.2.2)': function(el) {
   28    28 		return {
   29    29 			name: ex(function(el) {