fix(a11y): label catalog sort control
Deploy Canina / deploy (push) Successful in 2m15s

This commit is contained in:
devops committed 2026-10-16 20:47:00 +00:00
1 parent 1aad481930
commit 6dbee69601
2 files changed
+7

No files matched your search

@@ -158,6 +158,12 @@ describe("ArchivePage Component", () => {
expect(screen.getAllByLabelText("جستجوی علائم").length).toBeGreaterThan(0);
});
it("gives the catalog sort control an accessible name", () => {
render(<ArchivePage initialProducts={mockProducts as any} />);
expect(screen.getByLabelText("مرتب‌سازی محصولات")).toBeTruthy();
});
beforeEach(() => {
vi.clearAllMocks();