dropdown, * - 4 menu items, one per supported locale, * - the active locale is marked aria-current="true" and is a , * - inactive locales are links to /locale?set=...&return=..., * - the trigger and every menu item contain a flag SVG, * - the rendered label is in the current locale's language. */ final class LocaleSwitcherTest extends TestCase { #[Test] public function rendersSingleDropdownForAllSupportedLocales(): void { $html = (new LocaleSwitcher('en', '/'))->render(); // exactly one
(no -mobile suffix, no desktop