From ec2ff5927083dcb9819f111e874bed29c8a5606a Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 16 Nov 2021 19:34:48 +0800 Subject: [PATCH] feat(Rate): improve a11y when disabled or readonly (#9881) --- .../test/__snapshots__/demo.spec.ts.snap | 4 ++++ .../form/test/__snapshots__/demo.spec.ts.snap | 2 ++ packages/vant/src/rate/Rate.tsx | 2 ++ .../rate/test/__snapshots__/demo.spec.ts.snap | 18 ++++++++++++++++++ .../rate/test/__snapshots__/index.spec.ts.snap | 2 ++ 5 files changed, 28 insertions(+) diff --git a/packages/vant/src/config-provider/test/__snapshots__/demo.spec.ts.snap b/packages/vant/src/config-provider/test/__snapshots__/demo.spec.ts.snap index 7bf82ac63..3981beb3e 100644 --- a/packages/vant/src/config-provider/test/__snapshots__/demo.spec.ts.snap +++ b/packages/vant/src/config-provider/test/__snapshots__/demo.spec.ts.snap @@ -15,6 +15,8 @@ exports[`should render demo and match snapshot 1`] = `