From b06b77e8f76c44d4f9439ca434a65d233a37bfb5 Mon Sep 17 00:00:00 2001 From: Julien Wajsberg Date: Fri, 15 Mar 2024 11:55:14 +0100 Subject: [PATCH] fix: The
element now always exposes the role "form" This has been changed in the ARIA spec in https://github.com/w3c/html-aria/pull/402. See also testing-library/dom-testing-library#1293 --- sources/getRole.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/sources/getRole.ts b/sources/getRole.ts index 14096a97..cac8c1cc 100644 --- a/sources/getRole.ts +++ b/sources/getRole.ts @@ -26,7 +26,6 @@ const localNameToRoleMappings: Record = { dt: "term", fieldset: "group", figure: "figure", - // WARNING: Only with an accessible name form: "form", footer: "contentinfo", h1: "heading",