From e2a4f091ea8a35d7f997c674f51a2d8a4caba0eb Mon Sep 17 00:00:00 2001 From: neverland Date: Tue, 16 Nov 2021 17:41:29 +0800 Subject: [PATCH] feat(Stepper): add aria-disabled for a11y (#9877) --- .../src/form/test/__snapshots__/demo.spec.ts.snap | 1 + packages/vant/src/stepper/Stepper.tsx | 2 ++ .../src/stepper/test/__snapshots__/demo.spec.ts.snap | 11 +++++++++++ .../src/stepper/test/__snapshots__/index.spec.ts.snap | 3 +++ 4 files changed, 17 insertions(+) diff --git a/packages/vant/src/form/test/__snapshots__/demo.spec.ts.snap b/packages/vant/src/form/test/__snapshots__/demo.spec.ts.snap index 12d049126..5a4656b54 100644 --- a/packages/vant/src/form/test/__snapshots__/demo.spec.ts.snap +++ b/packages/vant/src/form/test/__snapshots__/demo.spec.ts.snap @@ -276,6 +276,7 @@ exports[`should render demo and match snapshot 1`] = ` > diff --git a/packages/vant/src/stepper/test/__snapshots__/demo.spec.ts.snap b/packages/vant/src/stepper/test/__snapshots__/demo.spec.ts.snap index 661af3d2a..5728c7439 100644 --- a/packages/vant/src/stepper/test/__snapshots__/demo.spec.ts.snap +++ b/packages/vant/src/stepper/test/__snapshots__/demo.spec.ts.snap @@ -14,6 +14,7 @@ exports[`should render demo and match snapshot 1`] = ` > @@ -160,6 +166,7 @@ exports[`should render demo and match snapshot 1`] = ` > @@ -31,6 +33,7 @@ exports[`should update input height and button size when using button-size prop