PageSourceSearch

https://www.nite.org.il/wp-content/themes/malo/js/accessibility-adjustments.js?ver=7.1.2

js nite.org.il collected 2026-10-02 06:46:00 UTC 17,867 bytes, 209 lines download raw bytes

1
2function addAdjustments(){
3	jQuery('body').prepend('<div id="skipLinksNavigation" class="VAaccessibility" role="navigation" aria-label="תפריט קיצורי דרך"><ul></ul></div>');
4	function CreateSkipLinks(accesskey,href,content){
5			if(href.search('#')==-1 ){
6				jQuery('#skipLinksNavigation ul').append('<li style="display:inline-block; padding:25px;"><a class="VAaccess loginim" accesskey='+accesskey+'  href='+href+'>'+content+'</a></li>')
7			 } 
8			 else if(jQuery(href).length>0){
9				 jQuery('#skipLinksNavigation ul').append('<li style="display:inline-block; padding:25px;"><a class="VAaccess loginim" accesskey='+accesskey+'  href='+href+'>'+content+'</a></li>')
10			}
11		}
12	jQuery('.pagetitle h1').eq(0).attr({'id':'skipMainContent','tabindex':'0'});
13	jQuery('body.home .hmupdate h3 a').attr('id','skipMainContent');
14	jQuery('#menu-header a:first').attr('id','skipMainMenu');
15	jQuery('#menu-item-1928 a').attr('id','skipFooter');
16	CreateSkipLinks("1","#skipMainContent","דלג לתוכן מרכזי");
17	CreateSkipLinks("2","#skipMainMenu","דלג לתפריט הרָאשִׁי");
18	CreateSkipLinks("3","#skipFooter","דלג לקישורים מומלצים");
19	CreateSkipLinks("4","#s","דלג לחיפושׂ");
20	CreateSkipLinks("5","https://www.nite.org.il/contact-us/contact-details-by-subject-matter","צור קשר");
21	if(jQuery('body').hasClass('page-id-2774')){
22	var a='<h2>ניתוח לפי שנים</h2><ul id="VAu1">';
23	jQuery('table:visible tbody tr td:nth-child(2)').each(function(){a+='<li>'+jQuery(this).html()+'</li>';});
24	a+="</ul>";
25	jQuery('table:visible').before(a);
26	var b='<h2>ניתוח רב שנתי</h2><ul id="VAu2">';
27	jQuery('table:visible tbody tr td:nth-child(4)').each(function(){if(jQuery(this).is(':contains(" ")')){b+='<li>'+jQuery(this).html()+'</li>';}});b+="</ul>"
28	jQuery('table:visible').before(b);
29	jQuery('table:visible').remove();
30	jQuery('#VAu2 a[hrefjQuery=".pdf"],#VAu1 a[hrefjQuery=".pdf"]').attr('title','קישור לקובץ PDF');
31	}
32	else if(jQuery('body').hasClass('page-id-1478')){
33	var b='<ul>';
34	jQuery('table:visible tbody td').each(function(){if(jQuery(this).find('a').length>0){b+='<li>'+jQuery(this).html()+'</li>';}});b+="</ul>"
35	jQuery('table:visible').before(b);
36	jQuery('table:visible').remove();
37	}
38	else if(jQuery('body').hasClass('page-id-15730')){
39	var imgTxt='<div style="position:absolute; width:0px; left:-9999px"><h3>תהליך האבחון במת"ל</h3><h4>מזכירות</h4><ul><li>פניה למכון אבחון</li><li>מילוי שאלון אישי והגשת מסמכים נלווים על ידי הפונה</li><li>בדיקת התאמה לאבחון במתל</li></ul><span>יתכן שהפניה תדחה בשל אי התאמה להיבחנות במתל. במידה ולא  נדחתה התהליך ממשיך כדלהלן</span><h4>בוחן</h4><ul><li>בחינה בסוללת המבחנים. שני מפגשים</li><li>הפקת דוח ממוחשב</li></ul><h4>מאבחן מומחה</h4><ul><li>עיון בתוצאות האבחון ובחומר הרקע של הפונה</li><li>מפגש עם הפונה</li><li>חיבור דוח סופי</li><li>סיום התהליך</li></ul>'
40	jQuery('img.wp-image-4688:visible').before(imgTxt);}
41	jQuery('body.page-id-20 img.wp-image-1894').attr('alt','תרשים מבנה ארגוני מאלו - פירוט הגופים: אסיפת חברים, גוף מבקר, ועד מנהל,ועדת קבע,הנהלה,נציג ור"ה יועץ משפטי מבקר פנים ורואה חשבון');
42	jQuery('*[role="list"]').attr('role','list');
43	jQuery('*[role="listitem"]').attr('role','listitem');
44	jQuery('#wrapper').removeAttr('role');
45	jQuery('main').attr('role', 'main');
46	jQuery('body.page-id-2767 .pgcontent a[href="/?page_id=2841"]').attr({'lang':'ar','title':'בחינה פסיכומטרית להתנסות בשפה הערבית'});
47	jQuery('body.page-id-2767 .pgcontent a[href="/?page_id=2849"]').attr({'lang':'ru','title':'בחינה פסיכומטרית להתנסות בשפה הרוסית'});
48	jQuery('body.page-id-2767 .pgcontent a[href="/?page_id=2854"]').attr({'lang':'fr','title':'בחינה פסיכומטרית להתנסות בשפה הצרפתית'});
49	jQuery('body.page-id-2767 .pgcontent a[href="https://nite.org.il/files/psych/psychometric_july_2018_portuguese.pdf"]').attr({'lang':'pt','title':'בחינה פסיכומטרית להתנסות בשפה הפורטוגזית'});
50	jQuery('body.page-id-1154 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/06/Mey
50da-Lanirsham-Psychometri-RUSSIAN_acc.pdf"]').attr({'lang': 'ru' , 'title': 'מידע לנרשמים בשפה הרוסית'});
51	jQuery('body.page-id-1154 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/06/Meyda-Lanirsham-Psychometri-FRENCH_acc.pdf"]').attr({'lang': 'fr' , 'title': 'מידע לנרשמים בשפה הצרפתית'});
52	jQuery('.reports .tbl').attr({'role':'grid','aria-label':'דוחות בשפה העברית'});
53	jQuery('.reports .tblrow:not(.tblhead)>div').attr('role','gridcell');
54	jQuery('.reports .tblrow.tblhead>div').attr('role','columnheader');
55	jQuery('.reports .tblrow').attr('role','row').removeAttr('aria-rowindex');
56	jQuery('main a[href$="pdf"]').append('<span class="sr-only">קישור לקובץ PDF</span>');
57	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/11/psychometric_explanations_arab_acc.pdf"]').attr({'lang': 'ar' , 'title': 'הסברים והנחיות בנוגע ליום הבחינה בערבית'});
58	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/06/psychometric_explanations_russian_acc-1.pdf"]').attr({'lang': 'ru' , 'title': 'הסברים והנחיות בנוגע ליום הבחינה ברוסית'});
59	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/06/psychometric_explanations_french_acc-1.pdf"]').attr({'lang': 'fr' , 'title': 'הסברים והנחיות בנוגע ליום הבחינה בצרפתית'});
60	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/psychometric-entrance-test/registration-procedures/?lang=ar/"]').attr({'lang': 'ar' , 'title': 'מידע לנרשמים לבחינה הפסיכומטרית בשפה הערבית'});
61	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/06/Meyda-Lanirsham-Psychometri-RUSSIAN_acc.pdf"]').attr({'lang': 'ru' , 'title': 'מידע לנרשמים לבחינה הפסיכומטרית בשפה הרוסית'});
62	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/06/Meyda-Lanirsham-Psychometri-FRENCH_acc.pdf"]').attr({'lang': 'ru' , 'title': 'מידע לנרשמים לבחינה הפסיכומטרית בשפה הצרפתית'});
63	jQuery('body.page-id-2760 .prepconleft a[href="/?page_id=2841"]').attr({'lang': 'ar' , 'title': 'בחינות פסיכומטרי להתנסות בשפה הערבית'});
64	jQuery('body.page-id-2760 .prepconleft a[href="/?page_id=2849"]').attr({'lang': 'ru' , 'title': 'בחינות פסיכומטרי להתנסות בשפה הרוסית'});
65	jQuery('body.page-id-2760 .prepconleft a[href="/?page_id=2854"]').attr({'lang': 'fr' , 'title': 'בחינות פסיכומטרי להתנסות בשפה הצרפתית'});
66	jQuery('body.page-id-2760 .prepconleft a[href="https://nite.org.il/files/psych/psychometric_july_2018_portuguese.pdf"]').attr({'lang': 'pt' , 'title': 'בחינות פסיכומטרי להתנסות בשפה הפורטוגזית'});
67
68	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/08/Verbal-Reasoning-AR_acc-1.pdf"]').attr({'lang': 'ar' , 'title': 'חשיבה מילולית בשפה הערבית'});
69	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2019/08/verbal-ru-1.pdf"]').attr({'lang': 'ru' , 'title': 'חשיבה מילולית בשפה הרוסית'});
70	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/07/verbal-fr_acc.pdf"]').attr({'lang': 'fr' , 'title': 'חשיבה מילולית בשפה הצרפתית'});
71
72	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2019/08/quantitive-ar-min-1.pdf"]').attr({'lang': 'ar' , 'title': 'חשיבה כמותית בשפה הערבית'});
73	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2019/08/quantitive-ru-min-1.pdf"]').attr({'lang': 'ru' , 'title': 'חשיבה כמותית בשפה הרוסית'});
74	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2019/08/quantitive-fr-min-1.pdf"]').attr({'lang': 'fr' , 'title': 'חשיבה כמותית בשפה הצרפתית'});
75
76	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/11/English-AR_acc.pdf"]').attr({'lang': 'ar' , 'title': 'דוגמאות והסברים על שאלות הבחינה באנגלית בשפה הערבית'});
77	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/08/English-RU_acc.pdf"]').attr({'lang': 'ru' , 'title': 'דוגמאות והסברים על שאלות הבחינה באנגלית בשפה הרוסית'});
78	jQuery('body.page-id-2760 .prepconleft a[href="https://www.nite.org.il/wp-content/uploads/2020/07/English-FR_acc.pdf"]').attr({'lang': 'fr' , 'title': 'דוגמאות והסברים על שאלות הבחינה באנגלית בשפה הצרפתית'});
79
80	jQuery('body.page-id-2760 table:eq(3) td:eq(1)').append('<span class="sr-only">דוגמאות והסברים על שאלות הבחינה בשפה הערבית</span>');
81	jQuery('body.page-id-2760 table:eq(3) td:eq(3)').append('<span class="sr-only">דוגמאות והסברים על שאלות הבחינה בשפה הרוסית</span>');
82	jQuery('body.page-id-2760 table:eq(3) td:eq(4)').append('<span class="sr-only">דוגמאות והסברים על שאלות הבחינה בשפה הצרפתית</span>');
83	jQuery('input.ssub').attr('aria-label','חיפוש');
84	jQuery('.page-id-18829 .hoverdiv h4').attr('aria-level','2');
85	jQuery('.page-id-18829 .clickhide h5').attr('role','presentation');
86	jQuery('body.page-id-1154 .sidemenu a').click(function(){var b=jQuery(this).attr('href');jQuery(b).closest('h2').next().attr('tabindex','0').focus();});
87	jQuery('body:not(.page-id-1154) .sidemenu a').click(function(){var b=jQuery(this).attr('href');jQuery(b).closest('h2').attr('tabindex','0').focus();});
88	jQuery('#contact-us').closest('h2').attr('tabindex','0');
89	jQuery('.pgcontent .prepconleft a[href="#contact-us"]').click(function(){jQuery('table h2:eq(0)').attr('tabindex' , '0').focus();});
90	jQuery('.pgcontent .prepconleft a[href="#contact-us"]').append('<span class="sr-only">קישור לטבלת דרכי התקשרות בדף זה</span>');
91	jQuery('.pgcontent .prepconleft a[href="#contact"]').click(function(){jQuery('body.page-id-1836 h2:contains("דרכי התקשרות")').attr('tabindex' , '0').focus();});
92	jQuery('.pgcontent .prepconleft a[href="#contact"]').append('<span class="sr-only">קישור לטבלת דרכי התקשרות בדף זה</span>');
93	jQuery('.prepconleft table.aligncenter').attr('role' , 'presentation');
94	jQuery('.arrm[tabindex=0]').removeAttr('tabindex');
95	jQuery('#acp-toggle-toolbar').attr('aria-expanded','false');
96	jQuery('#acp-toggle-toolbar').click(function(){jQuery(this).attr('aria-expanded','true')});
97	jQuery('#acp-close-toolbar').click(function(){jQuery('#acp-toggle-toolbar').attr('aria-expanded','false')});
98	jQuery('p.acp-label').attr({'role':'heading','aria-level':'2'});
99	jQuery('.logo a,.flogo a').attr('title','קישור לדף הבית');
100	jQuery('.clickhide[onclick]').attr({'role':'link','tabindex':'0'});
101	jQuery('.clickhide[onclick]').keydown(function(e){if(e.which==13){jQuery(this).click()}});
102	jQuery('.open_link h5').attr('role','presentation');
103	jQuery('body.page-id-2063 #p1,body.page-id-2063 #p2,body.page-id-2063 #p3').attr('aria-level','2');
104	jQuery('body.page-id-2063 h2:contains("אחידות")').attr('aria-level','3');
105	jQuery('a:contains("Combined/English")').each(function(){jQuery(this).attr({'lang':'en','title':jQuery(this).closest('table').prev('h2').text()+" באנגלית "})});
106	jQuery('body.page-id-2617 h3').attr('role','presentation');
107	jQuery('body.page-id-2617 tr td:nth-child(2),body.page-id-2617 tr td:nth-child(4)').attr('role','listitem');
108	jQuery('body.page-id-2617 table').attr('role','list');
109	jQuery('ul.acp-main-nav button[aria-labelledby]').removeAttr('aria-labelledby');
110	jQuery('body.acp-outline .pgcontent .prepconleft a[href]').click(function(){
111		var b=jQuery(this).attr('href');
112		jQuery(b).attr('tabindex','0').focus();
113		jQuery(b).blur(function(){jQuery(this).removeAttr('tabindex')});
114	});
115	jQuery('head').append('<style>body.acp-outline .clickhide:focus .hoverdiv{opacity:1 !important;} </style>');
116	// קוד 17.12.23
117	jQuery('blockquote').attr('role','presentation');
118	jQuery('.open_link:has(>a)').removeAttr('tabindex');
119	jQuery('.open_link:has(>a)').each(function(){if(jQuery(this).find('h4').text()==jQuery(this).find('h5').text()){jQuery(this).find('h4').attr('aria-hidden','true')}});
120	jQuery('h3:contains(المركز القطري للامتحانات والتقيّيم يبحث عن أشخاص لتقييم )').attr('lang','ar');
121	jQuery('.reports a[href="#"]').attr('tabindex','-1');
122	jQuery('#menu-language-dropdown').attr('aria-label','תפריט בחירת שפת אתר');
123	jQuery('#menu-language-dropdown #menu-item-wpml-ls-27-he>a').attr('aria-current','true');
124	jQuery('body.home .exam-detail h4').attr('role','presentation');
125	jQuery('.shopseltitle').attr({'tabindex':'0','role':'combobox','aria-haspopup':'listbox','aria-label':'בחר נושא לתצוגה'});
126	/* setInterval*/
127	if(jQuery('body').hasClass('page-template-page-otherexam')){
128			var myFun = setInterval(function () {
129				if (jQuery('li.show').length > 0) {
130        
131				jQuery('li.show:not(.open_link):not(.big-cloned)').attr({'tabindex':'0','role':'button','aria-expanded':'false'}).click(function(){
132				if(!jQuery(this).hasClass('active')){
133					jQuery('li.show').attr('aria-expanded','false');
134					jQuery(this).attr('aria-expanded','true');
135					jQuery('li.show.big-cloned').removeAttr('role aria-expanded aria-haspopup tabindex');
136					jQuery('.clickshow strong').attr({'role':'heading','aria-level':'3'});
137				}
138				else{
139					jQuery(this).attr('aria-expanded','false');
140					}
141			});
142			jQuery('li.show:not(.open_link):not(.big-cloned)').keydown(function(e){if(e.which==13){jQuery(this).click()}});
143			jQuery('.clickhide h5').attr('role','presentation');
144			jQuery('.clickshow').attr({'role':'region','aria-label':'מידע נוסף'});
145			jQuery('li.show:not(.open_link) .clickhide .hoverdiv h4').attr({'role':'heading','aria-level':'2'});
146			jQuery('.clickshow strong').attr({'role':'heading','aria-level':'3'});
147					clearInterval(myFun)
148				}
149			}, 1000);
150	}
151			
152
153	var vaTabpanel;
154				var vaTabi=0;
155				jQuery('body:not(.page-id-10863) .qanda.faqlist .qa h4').each(function(){
156					vaTabi++;
157					vaTabpanel=jQuery(this).next('.desc');
158					jQuery(vaTabpanel).attr('id','VAtabpanel'+vaTabi);
159					jQuery(this).attr({'role':'button','tabindex':'0','aria-controls':jQuery(vaTabpanel).attr('id'),'id':'vaTabi_'+vaTabi,'aria-expanded':'false'});
160					jQuery(vaTabpanel).attr({'role':'region','aria-labelledby':'vaTabi_'+vaTabi});
161				});
162
163	jQuery('body:not(.page-id-10863)').on('keydown','.qanda.faqlist .qa h4',function(e){
164					if(e.which==13){
165						jQuery('.qanda.faqlist .qa h4').attr({'aria-expanded':'false'});
166						if(!jQuery(this).parent('.qa').hasClass('active'))
167						{jQuery(this).attr({'aria-expanded':'true'});}
168					}
169					});
170	jQuery('body:not(.page-id-10863)').on('focus','.qanda.faqlist .qa h4',function(e){
171		jQuery('.qanda.faqlist .qa h4').attr({'aria-expanded':'false'});
172		jQuery(this).attr({'aria-expanded':'true'});
173		 
174	})
175	
176		
177	}
178jQuery(document).ready(function(){
179if( jQuery('body').hasClass('acp-outline')){
180	addAdjustments();
181}
182// קוד 17.12.23
183	jQuery('head').append('<style>div#acp-toolbar :focus {outline: 2px dashed #fff !important;}li.show:focus{outline: 1px solid #000 !important;}body.acp-outline li.show:focus .hoverdiv{opacity:1 !important;}i.material-icons {display: none !important;}span#VAreset, #VAstate {color: #fff !important;}a#acp_statement {padding: 0px !important;} </style>');
184	jQuery('div#acp-toolbar').keydown(function(e){if(e.which==27){jQuery('#acp-close-toolbar').click()}});
185	jQuery('ul.acp-main-nav button[aria-labelledby]').removeAttr('aria-labelledby');
186	jQuery('ul.acp-main-nav button').attr('aria-pressed','false');
187	jQuery('ul.acp-main-nav button.acp-active').attr('aria-pressed','true');
188	jQuery('ul.acp-main-nav button').click(function(){
189		if(jQuery(this).hasClass('acp-active')){
190			jQuery(this).attr('aria-pressed','true');
191		}
192		else{jQuery(this).attr('aria-pressed','false');}
193		});
194	jQuery('#acp-close-toolbar').attr('tabindex','-1');
195	jQuery('.acp-main-nav').attr('role','menubar').children('li').attr('role','group').each(function(){jQuery(this).attr('aria-label',jQuery(this).children('p').text())});
196	jQuery('.acp-main-nav .ul-sub').attr('role','presentation').children('li').attr('role','menuitem');
197	jQuery('#acp-toolbar').attr({'role':'region','aria-label':'סרגל נגישות'});
198	jQuery('.acp-main-nav li p.acp-label').attr({'role':'heading','aria-level':'2'});
199	jQuery('#acp_statement').append('<span id="VAstate">הצהרה</span>');
200	jQuery('#acp-reset').append('<span id="VAreset">איפוס</span>');
201});
202jQuery('button#acp_keys_navigation').click(function(){
203	if(jQuery(this).hasClass('acp-active')){
204		location.reload();
205	}
206	else{
207		addAdjustments()
208	}
209});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.