Connect with us

Wisconsin

Federal funding cuts cause some Wisconsin nonprofits to deny aid seekers, defund programs

Published

on

Federal funding cuts cause some Wisconsin nonprofits to deny aid seekers, defund programs


State nonprofits built to support victims of domestic violence are facing serious capacity issues as a result of federal funding cuts. Several are overflowing with client requests, leaving nonprofits no choice but to put them on growing waitlists or deny them altogether. 

Sharyl Kato, executive director of The Rainbow Project, told WPR’s “Wisconsin Today” the timing of service is critical when helping people in crisis, but funding cuts are causing significant delays. 

“40 to 70 percent of (families we serve) are involved in intimate partner violence, and we have programs for the children who are exposed to this domestic violence,” Kato said. “Untreated trauma is really what leads to more severe problems … I’m concerned about not being able to see the long term benefits of these services.” 

Stay informed on the latest news

Sign up for WPR’s email newsletter.

Advertisement

The federal funds in question come from the Victims of Crime Act, or VOCA. According to the federal Office for Victims of Crime, the money in the VOCA fund comes from “federal criminal fines, forfeited bail bonds (and) penalties.”

The U.S. Department of Justice allocates that money, but there are caps on deposits and payouts from the fund. Congress establishes the caps every year “as a part of the appropriations for DOJ.”

Kato said VOCA funding is critical to meeting a growing demand for their services. “Crisis centers and shelters are having long waiting lists. We’ve had a waiting list of up to six months.”

Advertisement

Megan Lee, attorney and Communications and Development Director for Judicare Legal Aid in Marathon County also spoke with “Wisconsin Today.” Lee said the funding cuts have meant Judicare Legal Aid has had to turn away cases that otherwise would have been accepted. 

In partnership with nonprofit Legal Action Wisconsin, Judicare Legal Aid developed “The Elder Rights Project” and its award winning program, “The Crime Victims’ Rights Project.” According to Lee, both programs have been defunded due to the VOCA funding cuts. 

Attorney Lauren Hamvas is the Manager of Victim Service Programs from Legal Aid Wisconsin. Hamvas told WPR Legal Aid Wisconsin lost 70 percent of their VOCA funds this year.

“As a result, we have had to reduce and shift staff and reduce the types of cases we are able to accept,” Hamvas said. “For many of our potential clients, we were their only option for this kind of legal help, and we have nowhere to refer them to. Since the funding cuts started to hit in 2024, we have had to reject over 1,000 people who came to us for help in these programs.”

According to the Department of Justice, The Rainbow Fund Inc., Judicare Legal Aid and Legal Action Wisconsin are three of over 100 Wisconsin-based programs that received VOCA fund grants last year. 

Advertisement

Hamvas said she expects more funding cuts down the road. To prepare for potential losses, Judicare Legal Aid and Legal Action Wisconsin are collaborating on public online guides for those seeking legal help. 



Source link

Wisconsin

DPI report highlights difficulties retaining teachers in Wisconsin

Published

on

DPI report highlights difficulties retaining teachers in Wisconsin


Nearly one-third of people who complete teacher training never enter the classroom in Wisconsin, and nearly half of the people who do become teachers leave the profession within eight years.

That’s according to a new report from the state Department of Public Instruction that uses data from the 2023-24 school year. It highlighted ongoing challenges with retention even as overall staffing levels at schools remain relatively stable.

The report showed the number of teachers in Wisconsin has remained steady at 64,354 in the 2022-23 school year and 63,956 in the 2023-24 school year. But it also highlighted challenges retaining mid-career teachers due to compensation declines over the last decade and a half.

Understanding Wisconsin, Together.

WPR’s “Wisconsin Today” newsletter keeps you connected to the state you love without feeling overwhelmed. No paywall. No agenda. No corporate filter.

Advertisement

State Superintendent Jill Underly attended a roundtable in Green Bay Monday with K-12 leaders and educators from northeast Wisconsin to talk about ways to boost teacher recruitment and retention in Wisconsin. 

When districts lose educators, Underly said it results in larger class sizes, fewer courses being offered, less individual support for students and a loss of experience in the teaching labor market. 

“We have to focus on keeping great educators in our classrooms,” she said. “They need to feel supported, they need to feel connected and they have to have opportunities to grow.”

Advertisement

Of the more than 5,256 people who completed a teaching training program in the state in 2023-24, around 30 percent, or 1,688, did not become teachers in Wisconsin. 

For those who entered the teaching profession, only 52.6 percent were still working in Wisconsin classrooms by their eighth year on the job, the report says. For special education teachers, the retention rate was only 43.2 percent. 

Underly and others who spoke during the roundtable said compensation is a major reason teachers are either leaving the profession or leaving the state.

According to the report, the total compensation for people entering their 15th year of teaching in 2024 was 22 percent less than it was in 2010 when adjusting for inflation. For teachers entering their 30th year, it was 13 percent less.

In inflation-adjusted dollars, the median teacher compensation in the state in 2010, including salary and benefits, was $110,722. By 2024, that number fell to $88,106.

Advertisement

Underly said low pay means some teachers have to work second jobs to stay in the profession.

“We’re asking a lot of these individuals to work multiple jobs when a job like teaching is so important and so highly valued in our communities,” Underly said. “We’re burning these individuals out, so they do make these choices five (to) eight years in. That’s when we’re losing them.”

Kewaunee School District Superintendent Scott Fritz and Green Bay Area Public School District Superintendent Vicki Bayer participate in an educator workforce roundtable on Monday, April 6, 2026. Joe Schulz/WPR

Andrea Huggett, a middle school math teacher in the Green Bay Area Public School District, said compensation is a major factor. She said she’s “absolutely” been tempted to leave teaching because she could make more money in another profession.

“I’m not in it for the compensation. I’m in it to make a difference,” she said. “But that is a huge factor in my day-to-day life. I have a family, I have a home, I have a mortgage, I have insurance that’s costing more each year, and it’s a big factor in a lot of people’s decisions.”

Mai Vang, director of recruitment and talent development for the Green Bay Area Public School District, said compensation is one of the harder problems for districts to address and is not something that “one person or one school district” would be able to solve. 

Advertisement

Underly said Wisconsin’s “public schools are severely underfunded,” limiting the ability of districts to address the compensation issue. She said the most recent state budget did not include any new general aid to school districts, which requires schools to do more with less. 

“That really puts the burden on the school district, which then puts the burden on local taxpayers to have to pass a referendum,” she said.

Kewaunee School District Superintendent Scott Fritz said his district has not passed an operational referendum but has had to make budget cuts in recent years to try to ensure teachers receive fair compensation.

“We made that choice because we want to continue to have funding so that we can pay our teachers a competitive rate,” he said. “I can’t compete with where Green Bay is at, but I want to be able to compete with school districts our size.”



Source link

Advertisement
Continue Reading

Wisconsin

Wisconsin center Nolan Winter putting up historic efficiency numbers

Published

on

Wisconsin center Nolan Winter putting up historic efficiency numbers


Wisconsin Badgers center Nolan Winter is known as an efficient scorer, but few Badgers fans likely realize just how efficient he has been.

According to Sports Reference, Winter owns the best 2-point field goal percentage in the Big Ten since the 1992-93 season, shooting 69% across his three years in Madison. He sits ahead of stars such as Chris Webber, Owen Freeman and Moritz Wagner on the list of all-time leaders. Winter also made 33% of his 3-pointers this season. His efficiency stands out even more as he shifted to center last year, taking over for Steven Crowl after he graduated. The move required Winter to adapt to a more physical role, with the team needing him in the post.In 31 games this season, Winter averaged 13.1 points and 8.5 rebounds per game. If he returns to Wisconsin next season, he could finish his career as one of the most efficient scorers in program history.

If the Badgers retain Winter, expect Greg Gard and his staff to make him a bigger focal point of the offense next season. Given Winter’s scoring ability, it would be hard to justify anything else. The recent addition of Owen Foxwell, a facilitating point guard, could also create more opportunities for Wisconsin’s frontcourt.

Winter’s rise is another point in Gard’s favor. In recent years, he has helped develop players such as Steven Crowl, John Tonje, John Blackwell, AJ Storr and Nick Boyd.

Advertisement

Contact/Follow @TheBadgersWire on X (formerly Twitter) and like our page on Facebook to follow ongoing coverage of Wisconsin Badgers news, notes and opinion





Source link

Continue Reading

Wisconsin

All clear given by Marquette police following investigation outside Church of the Gesu

Published

on

All clear given by Marquette police following investigation outside Church of the Gesu


A stretch of Wisconsin Avenue that travels through Marquette University in Milwaukee is back open Sunday afternoon following a police investigation.

Advertisement

All clear given by Marquette police following investigation outside Church of the Gesu

A stretch of Wisconsin Avenue that travels through Marquette University in Milwaukee is back open Sunday afternoon following a police investigation.

Advertisement

VERY NICE. >> THANK YOU EASTER BUNNY. >> THANK YOU. >> SO ALL RIGHT. THANK YOU STEPHANIE. AND BEFORE WE GO, WE WANT TO BRING YOU AN UPDATE TO THAT BREAKING NEWS. WE’VE BEEN FOLLOWING ALL SHOW MARQUETTE. POLICE SAY THE INVESTIGATION OUTSIDE THE CHURCH OF THE GESU HAS RESOLVED. GIVING THE ALL CLEAR

Advertisement

All clear given by Marquette police following investigation outside Church of the Gesu

A stretch of Wisconsin Avenue that travels through Marquette University in Milwaukee is back open Sunday afternoon following a police investigation.

Updated: 6:09 PM CDT Apr 5, 2026

Editorial Standards

Advertisement

An all clear has been given following a police investigation along a stretch of Wisconsin Avenue that travels through the campus of Marquette University in Milwaukee. Late Sunday afternoon, police could be seen focusing on a red Chevy Cruze parked outside the Church of the Gesu, and Wisconsin Avenue was closed between 11th and 13th streets. This was after Marquette University Police issued a safety alert asking people to avoid the area of 12th Street and Wisconsin Avenue.Shortly before 5 p.m., a WISN photojournalist was told by a Milwaukee Police Department officer to move back at the scene due to the bomb squad being called in. A K-9 was spotted smelling the car, as well as both around and inside the church. The K9 didn’t appear to find anything.Milwaukee police left around 5:30 p.m., after Wisconsin Avenue reopened. However, Marquette University police remained outside the church and around the Chevy Cruze. University police said shortly before 6 p.m. the issue had been resolved.12 News has reached out to Milwaukee and Marquette University police for details and will update this article as information becomes available.

An all clear has been given following a police investigation along a stretch of Wisconsin Avenue that travels through the campus of Marquette University in Milwaukee.

Advertisement

Late Sunday afternoon, police could be seen focusing on a red Chevy Cruze parked outside the Church of the Gesu, and Wisconsin Avenue was closed between 11th and 13th streets. This was after Marquette University Police issued a safety alert asking people to avoid the area of 12th Street and Wisconsin Avenue.

Shortly before 5 p.m., a WISN photojournalist was told by a Milwaukee Police Department officer to move back at the scene due to the bomb squad being called in. A K-9 was spotted smelling the car, as well as both around and inside the church. The K9 didn’t appear to find anything.

Milwaukee police left around 5:30 p.m., after Wisconsin Avenue reopened. However, Marquette University police remained outside the church and around the Chevy Cruze. University police said shortly before 6 p.m. the issue had been resolved.

Advertisement

12 News has reached out to Milwaukee and Marquette University police for details and will update this article as information becomes available.

Advertisement

`;
}

function refreshWeatherIframe(containerId) {
var iframeId = ‘weather-iframe-‘ + containerId;
var iframe = document.getElementById(iframeId);
if (iframe && iframe.src) {
var originalSrc = iframe.src;
iframe.src = originalSrc + (originalSrc.indexOf(‘?’) > -1 ? ‘&’ : ‘?’) + ‘t=” + Date.now();
}
}

function initializeWeatherBox(container) {
var containerId = container.getAttribute(“data-container-id’);
var isWeatherBoxV2 = containerId === ‘home-weather-v2’;

function switchWeatherTab(tabName, clickedElement) {
container.querySelectorAll(‘[data-tab-id]’).forEach(function(tab) {
tab.classList.remove(‘open’);
tab.setAttribute(‘aria-selected’, ‘false’);
});

Advertisement

clickedElement.classList.add(‘open’);
clickedElement.setAttribute(‘aria-selected’, ‘true’);

container.querySelectorAll(‘[data-content-id]’).forEach(function(content) {
content.style.display = ‘none’;
content.setAttribute(‘hidden’, ‘true’);
});

var targetContent = container.querySelector(‘[data-content-id=”‘ + tabName + ‘”]’);
if (targetContent) {
targetContent.style.display = ‘block’;
targetContent.removeAttribute(‘hidden’);
}
}

function loadWeatherData() {
// If weather data is already being loaded, wait for it
if (window.weatherDataPromise) {
window.weatherDataPromise.then(function(data) {
if (data && data.data) {
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
}
});
return;
}

var location = { zip: window.DEFAULT_ZIPCODE };

Advertisement

try {
var storedLocations = localStorage.getItem(‘hrst.zip.history’);
if (storedLocations) {
var locations = JSON.parse(storedLocations);
if (locations && locations.length > 0) {
location = locations[0];
}
}
} catch (e) {}

var apiUrl = (window.DEWY_HOSTNAME || ”) + ‘/api/v1/weather/full/’ + location.zip;

if (window.fetch) {
window.weatherDataPromise = fetch(apiUrl)
.then(function(response) { return response.json(); })
.then(function(data) {
if (data && data.data) {
var article = container.closest(‘.article–wrapper’);
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
return data;
}
})
.catch(function(error) {
console.error(‘Error loading weather:’, error);
// Reset to unknown background on error
updateWeatherBackground(‘unknown’);
});
}
}

function updateWeatherAlertsBar(weatherData) {
var weatherWatchHeader = container.querySelector(‘.weather-watch-header’);
if (!weatherWatchHeader) return;

var weatherWatchText = weatherWatchHeader.querySelector(‘.weather-watch-text’);
var weatherWatchLink = weatherWatchHeader.querySelector(‘.weather-watch-link’);

Advertisement

if (weatherData.alerts_count > 0) {
weatherWatchHeader.className=”weather-watch-header has-alerts”;
if (weatherWatchText) {
weatherWatchText.textContent = `Weather Alerts (${weatherData.alerts_count})`;
}
if (weatherWatchLink) {
if (!weatherWatchLink.getAttribute(‘data-initial-href’)) {
weatherWatchLink.setAttribute(‘data-initial-href’, weatherWatchLink.getAttribute(‘href’));
weatherWatchLink.setAttribute(‘data-initial-onclick’, weatherWatchLink.getAttribute(‘onclick’) || ”);
}
weatherWatchLink.setAttribute(‘href’, “https://www.wisn.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘mobile-weather’, “https://www.wisn.com/alerts”);”);
}
} else {
weatherWatchHeader.className=”weather-watch-header”;
if (weatherWatchText) {
weatherWatchText.textContent = containerId === ‘home-weather-v2’ ? ‘Watch Latest Forecast’ : ‘Latest Forecast’;
}
if (weatherWatchLink) {
var initialHref = weatherWatchLink.getAttribute(‘data-initial-href’);
var initialOnclick = weatherWatchLink.getAttribute(‘data-initial-onclick’);
if (initialHref) {
weatherWatchLink.setAttribute(‘href’, initialHref);
}
if (initialOnclick) {
weatherWatchLink.setAttribute(‘onclick’, initialOnclick);
}
}
}
}

function updateCurrentWeather(weatherData) {
if (weatherData.current) {
var tempValue = weatherData.current.temp_f || ”;
var skyValue = weatherData.current.sky || ”;
var feelsLikeValue = weatherData.current.feels_like_f || weatherData.current.temp_f || ”;

var tempEl = container.querySelector(‘.weather-grid–current-temp-value’);
if (tempEl) {
tempEl.textContent = tempValue;
tempEl.setAttribute(‘aria-label’, tempValue + ‘ degrees Fahrenheit’);
}

var iconEl = container.querySelector(‘.weather-grid–current-icon’);
if (iconEl && weatherData.current.icon_name) {
iconEl.className=”weather-grid–current-icon weather-current-icon icon icon-weather-” + weatherData.current.icon_name;
}

var skyEl = container.querySelector(‘.weather-grid–sky’);
if (skyEl) {
skyEl.textContent = skyValue;
skyEl.setAttribute(‘aria-label’, ‘Current condition: ‘ + skyValue);
}

Advertisement

var feelsEl = container.querySelector(‘.weather-grid–feels’);
if (feelsEl) {
feelsEl.textContent = feelsLikeValue + ‘°F’;
feelsEl.setAttribute(‘aria-label’, feelsLikeValue + ‘ degrees Fahrenheit’);
}

var weatherContainer = container.querySelector(‘.weather-temp-container’);
if (weatherContainer) {
var summary = ‘Current temperature ‘ + tempValue + ‘ degrees Fahrenheit, ‘ +
skyValue + ‘, feels like ‘ + feelsLikeValue + ‘ degrees’;
weatherContainer.setAttribute(‘aria-label’, summary);
}

updateWeatherBackground(weatherData.current.icon_name);
}
}

function updateWeatherBackground(iconName) {
try {
var bgPath = weatherImages.backgrounds[iconName] || weatherImages.backgrounds.unknown;
container.style.backgroundImage=”url(” + bgPath + ‘)’;
} catch (e) {
console.log(‘Error updating weather background:’, e);
}
}

function updateForecastTabs(weatherData) {
var visibleItems = isWeatherBoxV2 ? 6 : 5;

Advertisement

if (weatherData.hourly) {
var hourlyContainer = container.querySelector(‘.weather-hourly-forecast’);
if (hourlyContainer) {
var html=””;
var maxHours = Math.min(visibleItems, weatherData.hourly.length);

for (var i = 0; i 0 ? currentIndex – 1 : tabs.length – 1;
tabs[prevIndex].focus();
break;
case ‘ArrowRight’:
e.preventDefault();
var nextIndex = currentIndex

`;
}

function refreshWeatherIframe(containerId) {
var iframeId = ‘weather-iframe-‘ + containerId;
var iframe = document.getElementById(iframeId);
if (iframe && iframe.src) {
var originalSrc = iframe.src;
iframe.src = originalSrc + (originalSrc.indexOf(‘?’) > -1 ? ‘&’ : ‘?’) + ‘t=” + Date.now();
}
}

function initializeWeatherBox(container) {
var containerId = container.getAttribute(“data-container-id’);
var isWeatherBoxV2 = containerId === ‘home-weather-v2’;

Advertisement

function switchWeatherTab(tabName, clickedElement) {
container.querySelectorAll(‘[data-tab-id]’).forEach(function(tab) {
tab.classList.remove(‘open’);
tab.setAttribute(‘aria-selected’, ‘false’);
});

clickedElement.classList.add(‘open’);
clickedElement.setAttribute(‘aria-selected’, ‘true’);

container.querySelectorAll(‘[data-content-id]’).forEach(function(content) {
content.style.display = ‘none’;
content.setAttribute(‘hidden’, ‘true’);
});

var targetContent = container.querySelector(‘[data-content-id=”‘ + tabName + ‘”]’);
if (targetContent) {
targetContent.style.display = ‘block’;
targetContent.removeAttribute(‘hidden’);
}
}

function loadWeatherData() {
// If weather data is already being loaded, wait for it
if (window.weatherDataPromise) {
window.weatherDataPromise.then(function(data) {
if (data && data.data) {
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
}
});
return;
}

Advertisement

var location = { zip: window.DEFAULT_ZIPCODE };

try {
var storedLocations = localStorage.getItem(‘hrst.zip.history’);
if (storedLocations) {
var locations = JSON.parse(storedLocations);
if (locations && locations.length > 0) {
location = locations[0];
}
}
} catch (e) {}

var apiUrl = (window.DEWY_HOSTNAME || ”) + ‘/api/v1/weather/full/’ + location.zip;

if (window.fetch) {
window.weatherDataPromise = fetch(apiUrl)
.then(function(response) { return response.json(); })
.then(function(data) {
if (data && data.data) {
var article = container.closest(‘.article–wrapper’);
var weatherContainer = container.closest(‘.weather-box-container’);
if (weatherContainer) {
weatherContainer.style.display = ‘flex’;
updateCurrentWeather(data.data);
updateForecastTabs(data.data);
updateWeatherAlertsBar(data.data);
}
return data;
}
})
.catch(function(error) {
console.error(‘Error loading weather:’, error);
// Reset to unknown background on error
updateWeatherBackground(‘unknown’);
});
}
}

function updateWeatherAlertsBar(weatherData) {
var weatherWatchHeader = container.querySelector(‘.weather-watch-header’);
if (!weatherWatchHeader) return;

Advertisement

var weatherWatchText = weatherWatchHeader.querySelector(‘.weather-watch-text’);
var weatherWatchLink = weatherWatchHeader.querySelector(‘.weather-watch-link’);

if (weatherData.alerts_count > 0) {
weatherWatchHeader.className=”weather-watch-header has-alerts”;
if (weatherWatchText) {
weatherWatchText.textContent = `Weather Alerts (${weatherData.alerts_count})`;
}
if (weatherWatchLink) {
if (!weatherWatchLink.getAttribute(‘data-initial-href’)) {
weatherWatchLink.setAttribute(‘data-initial-href’, weatherWatchLink.getAttribute(‘href’));
weatherWatchLink.setAttribute(‘data-initial-onclick’, weatherWatchLink.getAttribute(‘onclick’) || ”);
}
weatherWatchLink.setAttribute(‘href’, “https://www.wisn.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘sidelist-weather’, “https://www.wisn.com/alerts”);”);
}
} else {
weatherWatchHeader.className=”weather-watch-header”;
if (weatherWatchText) {
weatherWatchText.textContent = containerId === ‘home-weather-v2’ ? ‘Watch Latest Forecast’ : ‘Latest Forecast’;
}
if (weatherWatchLink) {
var initialHref = weatherWatchLink.getAttribute(‘data-initial-href’);
var initialOnclick = weatherWatchLink.getAttribute(‘data-initial-onclick’);
if (initialHref) {
weatherWatchLink.setAttribute(‘href’, initialHref);
}
if (initialOnclick) {
weatherWatchLink.setAttribute(‘onclick’, initialOnclick);
}
}
}
}

function updateCurrentWeather(weatherData) {
if (weatherData.current) {
var tempValue = weatherData.current.temp_f || ”;
var skyValue = weatherData.current.sky || ”;
var feelsLikeValue = weatherData.current.feels_like_f || weatherData.current.temp_f || ”;

var tempEl = container.querySelector(‘.weather-grid–current-temp-value’);
if (tempEl) {
tempEl.textContent = tempValue;
tempEl.setAttribute(‘aria-label’, tempValue + ‘ degrees Fahrenheit’);
}

var iconEl = container.querySelector(‘.weather-grid–current-icon’);
if (iconEl && weatherData.current.icon_name) {
iconEl.className=”weather-grid–current-icon weather-current-icon icon icon-weather-” + weatherData.current.icon_name;
}

Advertisement

var skyEl = container.querySelector(‘.weather-grid–sky’);
if (skyEl) {
skyEl.textContent = skyValue;
skyEl.setAttribute(‘aria-label’, ‘Current condition: ‘ + skyValue);
}

var feelsEl = container.querySelector(‘.weather-grid–feels’);
if (feelsEl) {
feelsEl.textContent = feelsLikeValue + ‘°F’;
feelsEl.setAttribute(‘aria-label’, feelsLikeValue + ‘ degrees Fahrenheit’);
}

var weatherContainer = container.querySelector(‘.weather-temp-container’);
if (weatherContainer) {
var summary = ‘Current temperature ‘ + tempValue + ‘ degrees Fahrenheit, ‘ +
skyValue + ‘, feels like ‘ + feelsLikeValue + ‘ degrees’;
weatherContainer.setAttribute(‘aria-label’, summary);
}

updateWeatherBackground(weatherData.current.icon_name);
}
}

function updateWeatherBackground(iconName) {
try {
var bgPath = weatherImages.backgrounds[iconName] || weatherImages.backgrounds.unknown;
container.style.backgroundImage=”url(” + bgPath + ‘)’;
} catch (e) {
console.log(‘Error updating weather background:’, e);
}
}

Advertisement

function updateForecastTabs(weatherData) {
var visibleItems = isWeatherBoxV2 ? 6 : 5;

if (weatherData.hourly) {
var hourlyContainer = container.querySelector(‘.weather-hourly-forecast’);
if (hourlyContainer) {
var html=””;
var maxHours = Math.min(visibleItems, weatherData.hourly.length);

for (var i = 0; i 0 ? currentIndex – 1 : tabs.length – 1;
tabs[prevIndex].focus();
break;
case ‘ArrowRight’:
e.preventDefault();
var nextIndex = currentIndex

Loading more articles…



Source link

Advertisement
Continue Reading

Trending