McDonald's apologises for E. coli as sales slide
Boss Chris Kempczinski says sorry for the outbreak as the burger giant faces flagging sales.
Boss Chris Kempczinski says sorry for the outbreak as the burger giant faces flagging sales.
The new electricity plant plans to use the gas rather than releasing it into the atmosphere.
Registered childcare providers in Wales won't have to pay business rates, says the Welsh government.
Daniel Niedzkowski, head of the German football federation's coach training programme, will join Brighton in January.
The big button-eyed, fluffy baby is one of 128 pups to have been born at Donna Nook this year.
Two incidents involving Ryan Nicholls are alleged to have taken place in Cleethorpes last month.
Community groups say they are being asked to put plans in place for terrorism, bombs and drones.
The charity says it is "confident" there will be no gap in the service before its new building is ready.
Hartlepool United appoint caretaker boss Lennie Lawrence, 76, as manager until the end of the season.
The black Labrador goes out on street sweeps to help a charity speak with vulnerable people.
Adam Randell is a 'future captain' at Plymouth Argyle according to head coach Wayne Rooney.
Councillors water down and approve plans to expand operating times of a bus lane in the Devon city.
The 87-year-old woman died hours after being knocked over by the downwash of the landing helicopter.
The Environment Agency 's contractors prepare to clear 35,000 tonnes of illegally dumped rubbish.
Southern Water replaces its previous online tool with its new Rivers and Seas Watch platform.
BBC Radio Stoke’s Matt Weigold went to try his hand at apple wanging for Alton Apple Day.
BBC Radio Stoke’s Matt Weigold visited Men Who Make Things at Hartshill's B Arts Centre.
John, whose wife Wendy is being cared for at the hospice, said it deserved more government funding.
Former Wycombe and QPR boss Gareth Ainsworth is appointed as the new head coach of League One bottom club Shrewsbury Town.
Police want to hear from anyone who witnessed the sex assault, which happened last month.
Women's safety and religious groups speak out against the club, which is popular during race meets.
Officers say they believe someone accessed the rear of the property through a side alleyway.
Most asked questions are answered on the East West Rail project, linking Cambridge and Oxford.
Burnley appoint Salford City director of football Chris Casper as their academy manager.
The trains are converted from old Underground trains and will be rolled out in the Thames Valley.
Derbyshire Police appeal for witnesses and dashcam footage after the death of a man in his 50s.
Drivers can currently park for free for an hour, but might need to register on an app in the future.
Club members are not exactly bowled over when a Smart car driver blocks them in their car park.
Disgraced surgeon Paterson gives evidence in Birmingham on the death of Gladys Currall, aged 82.
Barrow head coach Stephen Clemence says his players have to stop the habit of squandering late leads in matches after their 1-1 draw with Colchester.
Teams in Barrow make a kart relying on only their strength and gravity to get to the finish line.
Bank of England interest rates affect the mortgage, loan and savings rates for millions of people.
Wimborne Town centre-back Scott Arnold amassed the last of his 618 appearances against Weymouth.
The group also rammed a farmer's vehicle in a "terrifying" incident in Wiltshire, police said.
A teenager explains how therapeutic groups for children, helped by Children in Need, supported her.
The iPhone could finally show you how long it’ll take to finish charging. Code spotted in the second iOS 18.2 beta by 9to5Mac shows a new “BatteryIntelligence” feature that will let you […]
The post Apple to roll out ‘Battery Intelligence’ for iPhone, Amazon slashes price of 43inch Hisense smart TV to £228 appeared first on Tech Digest.
‘Don’t play Wordle’ is the plea from striking New York Times workers who are complaining about what they say are unfair labour practices. The New York Times Tech Guild, which […]
The post Boycott Wordle – New York Times workers plead, DNA firm disappears without trace appeared first on Tech Digest.
Social media platform Bluesky says it has gained 700,000 new users in the week following the US election. Bluesky, which was originally conceived as part of Twitter by its former […]
The post Blue Sky gets post-election boost, Apple Vision Pro headset production scaled back appeared first on Tech Digest.
Windmill – Digital Art Electron-based displacement map generator. (tags: 3d javascript displacement textures )
Since Microsoft first introduced Office for the iPad last March, it’s been downloaded some 40 million times, even with the restrictions of needing an Office 365 subscription to use it. Today, Microsoft announced that Office will soon be coming to …
When this whole horrible COVID19 experience started—back when we thought maybe we’d be in lockdown for a few weeks, not a few months to a year—I thought to myself that at least it might be something worthy of documenting with my camera. I considered the world so changed and strange in this moment in time […]
Just recently, some front-end code Clearleft delivered to a client was making its way through acceptance testing. We were slightly surprised to discover that their standards required our code to be supported by the two latest versions of web browsers. And then we realised we didn’t have a browser support policy of our own – something we set about rectifying.
When considering browser versions, we were fairly sure our client didn’t mean, for example, versions 124 and 125 of Chrome (released on 16 April and 14 May 2024 respectively). Instead their support standard would most likely be harking back to the days when Internet Explorer was a thing, and major browsers were updated once a year at best. To put this in context, the final version of Internet Explorer shipped in 2013.
It’s at this point we noted that Clearleft didn’t have a written browser support policy to counter or complement that of our clients. We probably did in the dim and distant past, but in recent years we’ve just built accessible, progressively enhanced websites without feeling the need to codify what that means. For the sake of professionalism and good client relationships, we decided to rectify that.
But where to start? Using browser versions clearly doesn’t make any sense, so what do we turn to instead? As it turned out, Jeremy had already nailed it in a recent blog post. We wanted a browser support policy that would focus on outcomes for the user. Rather than being fixated on specific browsers, we needed to consider capabilities, using the mindset that sees modern coding use feature detection in preference to browser detection. It turns out there’s an initiative for that.
The Baseline initiative is a joint effort by Google, Microsoft, Apple, and Mozilla to categorise browser support for web standards. Baseline provides clear information about which web standards features are ready to use in websites. It designates new features into two categories:
We use the Baseline project to determine which browser features to use in production. If a feature is widely available according to Baseline, we can use it.
Quoting directly from our browser support policy:
If a feature is newly available, we might still use it, but we’ll ask a follow-up question:
“Can this feature be used as a progressive enhancement?”
In other words, will using this feature harm browsers that don’t support it? If a newly-available feature can be used as a progressive enhancement, we might well use it. If not, we’ll wait until the feature becomes widely available and choose a different method in the meantime.
This approach restricts usage of new features to nice-to-have additions rather than mission-critical requirements. But it also means we don’t necessarily have to wait for every browser to support a feature before using it.
Underlying our browser support policy are two foundational principles:
If content is unreadable in some browsers, that’s a bug that we will fix. If content is displayed slightly differently in some browsers, we consider that to be a facet of the web, not a bug. This means that there will sometimes be subtle visual and functional differences from browser to browser. We deem this acceptable provided that content and core functionality are unaffected.
We think this the right approach to browser support, and it’s something we believe the whole industry should follow in principle. To that end we’ve made our browser support policy available under a Creative Commons license, meaning you can use it for your own purposes if you find it helpful.
Originally published on the Clearleft blog.