From ce809a89665ef911067c0e210f79ce84e888e3a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=B1=AA?= <1844749591@qq.com> Date: Mon, 27 Jan 2025 08:20:50 +0800 Subject: [PATCH] test: add a11y test --- components/segmented/__tests__/a11y.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/segmented/__tests__/a11y.test.ts b/components/segmented/__tests__/a11y.test.ts index e371d8098328..633346bd60db 100644 --- a/components/segmented/__tests__/a11y.test.ts +++ b/components/segmented/__tests__/a11y.test.ts @@ -3,4 +3,6 @@ import accessibilityDemoTest from '../../../tests/shared/accessibilityTest'; accessibilityDemoTest('segmented', { // we can add aria attributes to fix it skip: ['custom.tsx', 'size-consistent.tsx'], + // waiting for rc-segmented fix + disabledRules: ['aria-allowed-attr'], });