From d707458f5da6d859cbcabb835db226ed924ebeef Mon Sep 17 00:00:00 2001 From: Ryan Christian Date: Fri, 13 Dec 2024 07:06:30 -0600 Subject: [PATCH] test: Add simple test for button roles --- test/ts/dom-attributes-test.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/ts/dom-attributes-test.tsx b/test/ts/dom-attributes-test.tsx index 57fda6949d..bde40726be 100644 --- a/test/ts/dom-attributes-test.tsx +++ b/test/ts/dom-attributes-test.tsx @@ -12,6 +12,10 @@ function createSignal(value: T): JSX.SignalLike { }; } +// @ts-expect-error A button should not have a role of presentation +const badAriaRole =