var breeze_prefetch = {"local_url":"https:\/\/awakenpittsburgh.org","ignore_remote_prefetch":"1","ignore_list":["http:\/\/awakenpittsburgh.org\/","http:\/\/awakenpittsburgh.org\/support\/","http:\/\/awakenpittsburgh.org\/about\/team\/","http:\/\/awakenpittsburgh.org\/why\/","http:\/\/awakenpittsburgh.org\/programs\/teams-organizations\/public-safety\/","wp-admin","wp-login.php"]};
Everyone has a comfort zone, a psychological state where things feel familiar and safe. It’s a bubble where stress and risk are at their lowest, but so are opportunities for growth and fulfillment. The nature of comfort zones deeply impacts…
Dear Friends, I hope this issue of the Ripple Effect finds you and those you love doing well. February is Black History Month – a time to honor the culture, experiences, and achievements of Black Americans. Awaken Pittsburgh encourages the…
‘Tis the season to celebrate, reflect, and give thanks. It’s also the perfect opportunity to cultivate a workplace culture centered around gratitude and appreciation. Showing gratitude to your colleagues and employees can go a long way in fostering a positive…
First, I want to say that I feel completely broken-hearted at the ongoing loss of life due to the cycles of violence we seem to be trapped in as a human race. It feels like a tide of violence and…
Seasons change, and with them, so do we. As the vibrant energy of summer slowly winds down, giving way to the serene embrace of fall, many of us find ourselves navigating a myriad of emotions. From the simple nostalgia brought…
In today’s fast-paced world, stress has become an omnipresent part of our lives, often clouding our potential and hindering our well-being. But imagine if we could transform this daily tension from an unsettling force into a source of strength. That’s…
jQuery(function(){
// Images
//begin updates to alternate text, title, and aria-label if needed only
var imgCnt = 1;
jQuery('img').each(function () {
var curAlt = jQuery(this).attr('alt');
var curTitle = jQuery(this).attr('title');
var curAriaLbl = jQuery(this).attr('aria-label');
var curImgPrnts = jQuery(this).parents().map(function () {
return this.tagName;
})
.get()
.join(', ');
//no alt text or empty alt text or undefined
if (!curAlt || curAlt === '' || curAlt === 'undefined') {
jQuery(this).attr('alt', ''); //decorative
if (curImgPrnts.includes('A,') || curImgPrnts.includes(' A ')) {
jQuery(this).attr('alt', 'Image link #' + imgCnt);
if (!curTitle || curTitle === '' || curTitle === 'undefined') {
} else {
jQuery(this).attr('title', curTitle);
}
if (!curAriaLbl || curAriaLbl === '' || curAriaLbl === 'undefined') {
if (!curTitle || curTitle === '' || curTitle === 'undefined') {
} else {
jQuery(this).attr('aria-label', curTitle);
}
} else {
/*add it back in*/
jQuery(this).attr('aria-label', curAriaLbl);
}
} else {
//if empty then should not contain title or aria-label
jQuery(this).removeAttr('aria-label');
jQuery(this).removeAttr('title');
}
} else {
//alt present so we should leave alt alone
jQuery(this).attr('alt', curAlt);
//if title present add an aria-label as well
if (!curTitle || curTitle === '' || curTitle === 'undefined') {
}
else {
/*Add title back in*/
jQuery(this).attr('title', curTitle);
//first check to make sure it doesn't already have aria-label
if (!curAriaLbl || curAriaLbl === '' || curAriaLbl === 'undefined') {
jQuery(this).attr('aria-label', curTitle);
} else {
/*add it back in*/
jQuery(this).attr('aria-label', curAriaLbl);
}
}
}
imgCnt++;
});
//end updates to alternate text, title, and aria-label if needed only
var h1Cnt = 0;
jQuery("h1").each(function () {
h1Cnt++;
});
if(h1Cnt == 0){
jQuery("#main").prepend('<div role="region" aria-label="Main Heading"><h1 class="sr-only">' + jQuery("title").html() + '</h1></div>');
}
/*shortcut not contained within previous navigation container - setup for unique landmark*/
jQuery("#wp-toolbar").removeAttr("role").removeAttr("aria-label");
jQuery("#wpadminbar").attr("role", "navigation");
jQuery("#wpadminbar").attr("aria-label", "Toolbar");
var navCnt = 1;
jQuery("nav").each( function(){
jQuery(this).attr("aria-label","Navigation Menu #"+navCnt);
navCnt++;
});
//location map
jQuery('iframe').each(function(){
var curTarget = String(jQuery(this).attr('src'));
if(curTarget.includes('google') && curTarget.includes('map')){
jQuery(this).attr('aria-label','Google Map');
}
});
//remove role from ul, li, buttons, and a = you can't change the default purpose on these without changing all the others
setTimeout(function(){
jQuery('#menu-desktop-menu').removeAttr('role');
jQuery('#menu-desktop-menu').find('a').each(function(){
var curRole = String(jQuery(this).attr('role'));
if(curRole.includes('menuitem')){
jQuery(this).removeAttr('role');
}
});
jQuery('#menu-desktop-menu').find('button').each(function(){
var curRole = String(jQuery(this).attr('role'));
if(curRole.includes('menuitem')){
jQuery(this).removeAttr('role');
}
});
jQuery('#menu-desktop-menu').find('li').each(function(){
var curRole = String(jQuery(this).attr('role'));
if(curRole.includes('none')){
jQuery(this).removeAttr('role');
}
});
},1200);
//fix discernible links
var curCnt = 1;
jQuery('body').find('a').each(function(){
var curContent = String(jQuery(this).html());
var curhref = String(jQuery(this).attr('href'));
if(curContent === ''){
if(curhref === ''){
jQuery(this).append('<span class="sr-only">Link #'+curCnt+'</span>');
}else{
jQuery(this).append('<span class="sr-only">Link: '+curhref+'</span>');
}
}
});
setTimeout(function(){
jQuery('a[data-brz-link-type="external"]').each(function(){
jQuery(this).attr('aria-label','opens in new window or tab').attr('role','button');
});
}, 1500);
});
( function ( body ) {
'use strict';
body.className = body.className.replace( /\btribe-no-js\b/, 'tribe-js' );
} )( document.body );
var tribe_l10n_datatables = {"aria":{"sort_ascending":": activate to sort column ascending","sort_descending":": activate to sort column descending"},"length_menu":"Show _MENU_ entries","empty_table":"No data available in table","info":"Showing _START_ to _END_ of _TOTAL_ entries","info_empty":"Showing 0 to 0 of 0 entries","info_filtered":"(filtered from _MAX_ total entries)","zero_records":"No matching records found","search":"Search:","all_selected_text":"All items on this page were selected. ","select_all_link":"Select all pages","clear_selection":"Clear Selection.","pagination":{"all":"All","next":"Next","previous":"Previous"},"select":{"rows":{"0":"","_":": Selected %d rows","1":": Selected 1 row"}},"datepicker":{"dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesMin":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Prev","currentText":"Today","closeText":"Done","today":"Today","clear":"Clear"}};