79249478

Date: 2024-12-03 23:41:15
Score: 1
Natty:
Report link

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>);
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Kevin L.