<commit_before>
(function(){
	// $A.fn.debug = true;

	$A.bind(window, 'load', function(){

		// Set the Rotating Carousel and set the default position to group 1 slide 1
		$A.setCarousel($A.getEl('carouselId'), 'files/carousel.xml', '0,0');

		// Set the Static Slideshow and set the default slide to 1
		$A.setCarousel($A.getEl('slideshowId'), 'files/movies.xml', 0);

		// Now set up the wizard functionality
		$A(
						[

						// Wizard AccDC Object
						{
						id: 'wiz',
						role: 'Wizard',
						trigger: '#wizardId',
						bind: 'click',
						className: 'wizardCls',
						sraStart: '',
						sraEnd: '',
						cssObj:
										{
										position: 'fixed',
										zIndex: 2
										},
						autoFix: 6,
						runJSOnceAfter: ['js/answers.js'],
						runBefore: function(dc){
							var s = $A.reg.status;
							s.triggerObj = dc.triggerObj;
							s.open();
						},
						runDuring: function(dc){
							$A.setAttr(dc.containerDiv,
											{
											role: 'dialog',
											'aria-label': dc.role
											});
						},
						runAfter: function(dc){
							var form = init = null, track = {};

							$A.setCarousel(dc.containerDiv, 'files/wizard.xml', 0,
											{

											// Run after a new slide finishes loading
											complete: function(cdc){
												if (!init){
													dc.cdc = cdc.parent;
													$A.reg.status.close();
												}

												else
													init = true;
												// Get the current form object
												form = $A.query('form', cdc.containerDiv)[0];<commit_msg>Fixed the carousel wizard to work in JAWS 14<commit_after>(function(){
	// $A.fn.debug = true;

	$A.bind(window, 'load', function(){

		// Set the Rotating Carousel and set the default position to group 1 slide 1
		$A.setCarousel($A.getEl('carouselId'), 'files/carousel.xml', '0,0');

		// Set the Static Slideshow and set the default slide to 1
		$A.setCarousel($A.getEl('slideshowId'), 'files/movies.xml', 0);

		// Now set up the wizard functionality
		$A(
						[

						// Wizard AccDC Object
						{
						id: 'wiz',
						role: 'Wizard',
						trigger: '#wizardId',
						bind: 'click',
						className: 'wizardCls',
						sraStart: '',
						sraEnd: '',
						cssObj:
										{
										position: 'fixed',
										zIndex: 2
										},
						autoFix: 6,
						runJSOnceAfter: ['js/answers.js'],
						runBefore: function(dc){
							var s = $A.reg.status;
							s.triggerObj = dc.triggerObj;
							s.open();
						},
						runDuring: function(dc){
							$A.setAttr(dc.accDCObj,
											{
											role: 'dialog',
											'aria-label': dc.role
											});

							$A.setAttr(dc.containerDiv,
											{
											role: 'application'
											});
						},
						runAfter: function(dc){
							var form = init = null, track = {};

							$A.setCarousel(dc.containerDiv, 'files/wizard.xml', 0,
											{

											// Run after a new slide finishes loading
											complete: function(cdc){
												if (!init){
													dc.cdc = cdc.parent;
													$A.reg.status.close();
												}

												else
													init = true;
												// Get the current form object
												form = $A.query('form', cdc.containerDiv)[0];
{'fraction_non_alphanumeric': 0.1428129829984544, 'fraction_numerical': 0.0068006182380216385, 'mean_word_length': 1.6524590163934427, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1074802', 'n_tokens_mistral': 1751, 'n_tokens_neox': 1052, 'n_words': 247}