<p></p>
<p dir="auto">I think we could remove the <code>html5shiv</code> javascript library. My motivation is because it keeps randomly failing the CI builds because of some issue that I haven't tried to debug. Although removing it might just uncover the same issue with a different file, so it's not guaranteed to be the solution.</p>
<p dir="auto">I'd also like to remove it because I don't think it's necessary any more. <a href="https://github.com/openstreetmap/openstreetmap-website/commit/b92cb5b7729287d0256bbe915bfb99ef27d7b940">It was added in 2013</a> to support <a href="https://en.wikipedia.org/wiki/Internet_Explorer_8" rel="nofollow">IE8</a>, which was originally released in 2009 and superseded by IE9 in 2011. Widespread IE8 support was ended in January 2016 and completely ended in 2019 for POS systems (tills, self-service checkouts etc). So ignoring those, it's been almost 6 years since it was supported and over 11 years since IE9 was released.</p>
<p dir="auto">CanIUse shows that html5 semantic elements (which is what we use it for, I believe) is <a href="https://caniuse.com/html5semantic" rel="nofollow">universally supported nowadays</a>.</p>
<p dir="auto">I'd like to hear if anyone thinks that it's still worth supporting IE8, and also to see if the sysadmins have any usage stats for this era of browsers. If not, I can make a PR to remove <code>html5shiv</code>, along with the <code>es5</code> shim that has the <a href="https://github.com/openstreetmap/openstreetmap-website/blob/ad0cfee788a18704d7924d6b4ea7d2f27ad1934c/config/initializers/browser.rb#L4-L10">same range of detected browsers</a> (and support via <a href="https://caniuse.com/es5" rel="nofollow">caniuse</a>) and therefore the same reasoning as above.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/3367">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJMRN4QABES66VYLMLUMOGY5ANCNFSM5IGWASQQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAK2OLJFEK6VEGXVOWONPOLUMOGY5A5CNFSM5IGWASQ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4PXRSAPA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/3367",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/3367",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>