What resolved the issue for me is simply adding a aria-label
to the select like so:
<Select
aria-label="locale-switcher"
defaultSelectedKeys={[locale]}
onChange={handleSelectionChange}
>
{routing.locales.map((locale) => (
<SelectItem key={locale}>{t(locale)}</SelectItem>
))}
</Select>);