Connect with us

Oklahoma

Suspect in multiple Oklahoma, Alabama killings arrested in Arkansas

Published

on

Suspect in multiple Oklahoma, Alabama killings arrested in Arkansas


OKLAHOMA CITY — A man who was linked to multiple homicides in Oklahoma and Alabama was arrested Thursday after a nearly two-day manhunt, authorities said.

Stacy Lee Drake, 50, was taken into custody without incident at about 10 a.m. in a wooded area south of an intersection in Morrilton, Arkansas, according to the Arkansas Department of Public Safety. He was wanted in connection with the slayings of three people in Oklahoma and a fourth in Alabama, authorities said.

“Drake is wanted in connection with homicides and carjackings in Oklahoma and is wanted on other felony warrants from multiple jurisdictions, with charges including aggravated robbery, carjacking, and murder,” the Arkansas Department of Public Safety said in a news release.

Advertisement

The Arkansas Department of Public Safety had warned residents in the area of Morrilton, about 50 miles northwest of Little Rock, to be on alert after he was spotted outside a motel in the city. Prior to his arrest, authorities said Wednesday that Drake was known to have purchased camping gear that indicated that he was still in the area.

Drake, who has an extensive criminal history, was described by law enforcement as armed and dangerous.

“If you look at his criminal history, he was continuously escalating his violent behavior,” Tuscaloosa County Sheriff’s Capt. Jack Kennedy said at a news conference Thursday. “He is now at least responsible for three, possibly four homicides that we know about in the last two months. So, I would not be surprised if there’s other homicides out there that are unsolved in other jurisdictions.”

‘Take full responsibility’: Pamela Smart accepts responsibility in plotting 1990 murder of husband with teen lover

Advertisement

Suspect tied to at least 3 killings in Oklahoma, 1 in Alabama

On Tuesday, the Oklahoma State Bureau of Investigation was asked for assistance in a homicide investigation in Gans, a town in Sequoyah County near the Oklahoma-Arkansas state line. The agency said Sequoyah County Sheriff’s Office deputies had responded to a report regarding two deceased individuals around 6:30 p.m. Tuesday.

When deputies arrived at the scene, they found an adult male and female dead inside a propane business, according to the Oklahoma State Bureau of Investigation.

The man and woman, identified as Taylor Sharp and Tara Underwood, had been shot to death, the agency said in a court affidavit. Sharp and Underwood were employees of LaFerry’s Propane.

Authorities identified Drake as a person of interest after reviewing the surveillance video. The video showed him driving away in Underwood’s 2016 GMC Acadia after exiting the business, according to the affidavit. The vehicle was later located in Morrilton late Tuesday night.

Drake is also suspected of killing a man in El Reno, a city just west of Oklahoma City. Shortly after his arrest on Thursday, the El Reno Police Department confirmed to local television station KOCO 5 that Drake was identified as a suspect in a June 14 murder.

Advertisement

The man, identified as 56-year-old Phillip Emerson, was found dead in a home and his vehicle was presumed stolen by the suspect, according to KOCO 5.

In Alabama, Kennedy said Drake is suspected of killing Alcoholics Anonymous counselor Russell Andrews, 62, on or about May 14. Police had responded to the Alcoholics Anonymous Club in downtown Tuscaloosa after Andrews was discovered dead inside the building.

Surveillance video showed Andrew’s vehicle missing from the scene and presumed stolen by the suspect, according to Kennedy. The vehicle was then located several hours later near the Oklahoma-Arkansas state line.

Who is Stacy Lee Drake?

Authorities previously said Drake was from Birmingham, Alabama, but Kennedy noted Thursday that the suspect was not from the state.

“(Drake), at one time, was arrested in Alabama 15 years ago… for multiple, numerous violent felony crimes,” Kennedy said, adding that Drake was linked to a Birmingham address that “may have been involved with him being in a homeless shelter there.”

Advertisement

Drake had only been in Tuscaloosa for about a week or two, Kennedy said. He described Drake as a “transient” who had no fixed address and an extensive criminal history in multiple states.

Based on background investigations, Kennedy said investigators believe Drake spent a lot of time in Oklahoma and Arizona. Drake was also a federal inmate at “different points in his career” and there were outstanding pending federal charges on him for violating his parole, according to Kennedy.

“He was utilizing a false name, and possibly dressing himself differently, including hats and glasses, at the time that he was in Tuscaloosa,” Kennedy said. “It appears that he was traveling the country in this lifestyle, utilizing false names, in an attempt to keep from being incarcerated.”



Source link

Advertisement

Oklahoma

Oklahoma’s Transfer Players Reviews Are In — ‘This is a Real Team, Real Brotherhood’

Published

on

Oklahoma’s Transfer Players Reviews Are In — ‘This is a Real Team, Real Brotherhood’


NORMAN — The transfer portal has given players a clearer view of what truly separates programs.

Even better, it lets outsiders like us — beyond the fortified walls of the sport’s football factories — gain real insight when players leave one school for another.

When players transfer away, you hope they have nothing but nice things to say following their exits. The last thing you want to hear is that the grass was in fact greener on the other side.

Advertisement

With Oklahoma’s new faces, the reviews thus far have been golden.

“This is the first time I’ve been in a tight end room where it’s straight family,” Hayden Hansen said on Thursday. “It’s a straight brotherhood in there. We all care about each other.”

It would be naive to hear Hansen say that and assume his three seasons at Florida were miserable. Yes, he chose to enter the transfer portal and leave the Gators — and yes, he’s thriving as a Sooner so far. Sometimes, things don’t work out.

Advertisement


Sign up to our free newsletter and follow us on Facebook and X for the latest news.

Advertisement

That doesn’t mean Florida was inherently worse, just that Hansen’s found a better fit for what makes him thrive in Norman.

Advertisement

But it does stoke the fire of Brent Venables’ program. A head coach whose passion burns bright is building an organization that self-sustains, and gives a true sense of belonging to a generation of players more geared to the lifestyle of the wanderer.

For Hansen, he became enticed with Oklahoma while the Sooners played their way into the College Football Playoff last season.

As he sat on the couch following the end of Florida’s season, he looked at OU and thought something most players would think — why are they there and we aren’t? He found his answer quickly upon arriving in Norman.

Advertisement

Oklahoma tight end Hayden Hansen catches a pass during a spring practice. | Ryan Chapman / Sooners on SI

“And in probably about one week (after arriving) it was clear to me why they were there and we weren’t,” Hansen said. “This is a real team, a real brotherhood in the locker room. These guys go out there, and they die for each other.

All these guys, they hang out outside the game, they learn together, they suffer together—it’s a true brotherhood,” Hansen added.

Cole Sullivan can attest to the locker room vibe under Venables.

Advertisement

Coming from a blue-blood power himself, Sullivan already knew the aura of Owen Field from the opposite side. During Michigan’s 24-13 loss last season, Sullivan understood the Big House wasn’t the only football cathedral in college football.

“It’s a great atmosphere to be here, I love it here, but when you’re playing, for me at least, it’s just put the ball down and play,” Sullivan said on Thursday. “It could be in the parking lot, it could be here in one of the greatest stadiums in the country, but for me it’s just all about zoning in and locking into ball.”

It doesn’t hurt to have great first impressions. Nor is it a negative to be proud of building something that people feel connected to. So far, even with two bad seasons under his belt, Venables has slowly built Oklahoma as a place that attracts players from across the country.

Advertisement

Both from the high school ranks and from the blue bloods.



Source link

Advertisement
Continue Reading

Oklahoma

182 inmates relocated after issue at Oklahoma prison

Published

on

182 inmates relocated after issue at Oklahoma prison


TAFT, Okla. –

A total of 182 inmates were relocated early Saturday morning after a structural issue was identified inside a housing unit at the Jess Dunn Correctional Center in Taft.

The Oklahoma Department of Corrections said inmates housed in the D East unit were moved to other facilities as a precaution after a compromised area was discovered on the second floor. Officials said at no point were the inmates in danger.

Officials said the issue was discovered early April 11, prompting an immediate decision to relocate inmates.

Advertisement

The affected unit, originally built in 1935, is among the older structures on the facility’s campus.

The Oklahoma Department of Corrections said a structural engineer will inspect the building to determine whether repairs are possible and to guide next steps.

Inmates who were moved will be placed in more permanent housing as space becomes available across the prison system.

The agency said safety and security remain its top priority and that updates will be provided as more information becomes available.

Advertisement

Officials also noted they appreciated the cooperation of the inmates during the relocation process.





Source link

Continue Reading

Oklahoma

TIMELINE: Rounds of storms in Oklahoma continue throughout weekend

Published

on

TIMELINE: Rounds of storms in Oklahoma continue throughout weekend


TIMELINE: Rounds of storms in Oklahoma continue Saturday and throughout weekend

Advertisement

NA

Advertisement

TIMELINE: Rounds of storms in Oklahoma continue Saturday and throughout weekend

Updated: 9:21 AM CDT Apr 11, 2026

Editorial Standards

Advertisement

It’s day two of a six-day stretch of storm risks in Oklahoma, as rain chances are increasing. >> Go to the KOCO weather page | Get KOCO on the Go | Subscribe to KOCO 5’s YouTube channel | Sign up for KOCO 5’s Morning NewsletterKOCO 5 Meteorologist Mikayla Smith says heavy rain is likely Saturday night and into Sunday morning, which could cause flooding. Below is what you need to know. Saturday Storm Risk A level 1 has been issued for western and north-central Oklahoma. The risk zone stretches north to Ponca City and stays west of the OKC metro. A few scattered showers are possible Saturday afternoon, but the bulk of the storms won’t come in until late Saturday heading into your Sunday. Showers start to develop around 1 p.m. and continue east by 5:30 p.m. A second round with heavier rain comes into western Oklahoma around 11 p.m. and midnight. That second wave will continue into central Oklahoma, bringing the heavy ran to the OKC metro around 4:30 a.m. Sunday. The heavy rain will linger in central Oklahoma throughout the morning before moving to the east by the late morning and early afternoon. Sunday Storm Risk The severe weather risk is a little bit higher on Sunday, with a level 2 slight risk in western and central Oklahoma. The OKC metro is included in the risk zone. There’s also a level 1 marginal risk in eastern Oklahoma and near Woodward in northwestern Oklahoma. The big thing with Sunday’s storm threat is that it’s a conditional risk. If the storms move out fast enough in the morning, then we’ll see severe weather in the afternoon. KOCO 5 First Alert Weather Team, led by Chief Meteorologist Damon Lane, has been certified by WeatheRate as providing the Most Accurate Forecast in Oklahoma City for 14 consecutive years. This outstanding achievement underscores KOCO 5’s unwavering dedication to delivering reliable weather forecasts to viewers.

It’s day two of a six-day stretch of storm risks in Oklahoma, as rain chances are increasing.

>> Go to the KOCO weather page | Get KOCO on the Go | Subscribe to KOCO 5’s YouTube channel | Sign up for KOCO 5’s Morning Newsletter

Advertisement

KOCO 5 Meteorologist Mikayla Smith says heavy rain is likely Saturday night and into Sunday morning, which could cause flooding. Below is what you need to know.

Saturday Storm Risk

A level 1 has been issued for western and north-central Oklahoma. The risk zone stretches north to Ponca City and stays west of the OKC metro.

april 11, 2026, oklahoma storm risk

Advertisement

A few scattered showers are possible Saturday afternoon, but the bulk of the storms won’t come in until late Saturday heading into your Sunday.

Sunday Storm Risk

The severe weather risk is a little bit higher on Sunday, with a level 2 slight risk in western and central Oklahoma. The OKC metro is included in the risk zone.

There’s also a level 1 marginal risk in eastern Oklahoma and near Woodward in northwestern Oklahoma.

april 11, 2026, oklahoma storm risk

Advertisement

The big thing with Sunday’s storm threat is that it’s a conditional risk. If the storms move out fast enough in the morning, then we’ll see severe weather in the afternoon.


KOCO 5 First Alert Weather Team, led by Chief Meteorologist Damon Lane, has been certified by WeatheRate as providing the Most Accurate Forecast in Oklahoma City for 14 consecutive years. This outstanding achievement underscores KOCO 5’s unwavering dedication to delivering reliable weather forecasts to viewers.

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();
}
}

Advertisement

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’);
});

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’);
}
}

Advertisement

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 };

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’);
});
}
}

Advertisement

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’);

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.koco.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘mobile-weather’, “https://www.koco.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’);
}

Advertisement

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);
}

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);
}
}

Advertisement

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;

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

`;
}

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’);
});

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’);
});

Advertisement

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 };

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;

Advertisement

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’);

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.koco.com/alerts”);
weatherWatchLink.setAttribute(‘onclick’, “return handleWeatherLinkClick(event, ‘click_alerts’, ‘click’, ‘sidelist-weather’, “https://www.koco.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 || ”;

Advertisement

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);
}

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);
}

Advertisement

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;

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

Advertisement

Loading more articles…



Source link

Continue Reading
Advertisement

Trending