Former US president Barack Obama criticised the response to the Covid-19 pandemic ravaging America, in what was widely regarded as a rare public rebuke of his successor, Donald Trump. His remarks on Saturday came as he spoke at two virtual commencements for high-school and university students locked down instead of celebrating their graduations, a rite of passage every spring in the US. "More than anything, this pandemic has fully, finally torn back the curtain on the idea that so many of the folks in charge know what they're doing," Mr Obama told graduates from several dozen historically black colleges and universities at the first ceremony. "A lot of them aren't even pretending to be in charge," he said as he discussed the implications of the pandemic during the online event, without naming any specific leaders. That celebration was followed by a second, star-studded prime-time ceremony for high-school pupils in which Mr Obama continued along the same lines, telling them to step up where leaders had failed. "If the world is going to get better, it's going to be up to you," he said. "Doing what feels good, what's convenient, what's easy, that's how little kids think. Unfortunately, a lot of so-called grown-ups, including some with fancy titles and important jobs, still think that way, which is why things are so screwed up. "I hope that instead, you decide to ground yourself in values that last, like honesty, hard work, responsibility, fairness, generosity, respect for others." The ceremony, carried by all the major American television networks, flashed between stirring speeches and performances by students and celebrities alike, including basketball superstar LeBron James and singers the Jonas Brothers. James echoed Mr Obama's call for the students to step up, urging them to "stay close to home" and help rebuild communities devastated by the virus and shutdowns. The US leads the world with coronavirus cases and deaths, at 1.5 million and more than 90,000, respectively. This year's graduates face a grim reality: the US unemployment rate has shot up to nearly 15 per cent and more than 36 million people have filed for unemployment benefits as America grapples with the fallout from months of lockdown and business closures. The gravity of Mr Obama's message was underscored by the fact it was the second time in a week he had hit out at the response to the pandemic, having pointedly refused to criticise Mr Trump in public in the three years since leaving office. He kept his profile low despite being frequently attacked by the president. But on May 9, in remarks leaked from a web call with people who worked in his administration, he called Mr Trump's handling of the pandemic a catastrophe. "It would have been bad even with the best of governments. It has been an absolute chaotic disaster when that mindset – of 'what's in it for me' and 'to heck with everybody else' – when that mindset is operationalised in our government," he said in that call. In his comments on Saturday, Mr Obama also highlighted how the health crisis had underscored racial inequality in America, and expressed outrage at the shooting death of 25-year-old Ahmaud Arbery, killed on February 23 while out for a jog in Georgia. "A disease like this just spotlights the underlying inequalities and extra burdens that black communities have historically had to deal with in this country," he said at the first ceremony. "We see it in the disproportionate impact of Covid-19 on our communities. Just as we see it when a black man goes for a jog and some folks feel like they can stop and question, and shoot him, if he doesn't submit to their question." He did not name Arbery.