Building an accessible weather forecast with HTML and CSS

This summer I spent some time visiting weather forecast websites. Many of them had a multi-day weather forecast, usually for the next seven days. Many of the seven-day weather forecasts were displayed with an accordion where each day had its own accordion tab you could open and close. A lot of them also had in common that the accordion was built with a lot of unnecessary HTML and JavaScript. But…