From c9fd7fb8f10b7b8544d2e734f79cace17c44d0c1 Mon Sep 17 00:00:00 2001 From: Uladzimir Atroshchanka Date: Wed, 24 Aug 2022 13:07:50 +0400 Subject: [PATCH] feat: Input fields in error are missing multiple ARIA attributes (#36762) * feat: add implementation and update snapshots * test: update snapshot * test: update snapshots * test: update snapshots * test: update snapshots --- .../__snapshots__/demo-extend.test.tsx.snap | 10 ++ components/form/ErrorList.tsx | 11 +- components/form/FormItem/index.tsx | 39 ++++- components/form/FormItemInput.tsx | 15 +- .../__snapshots__/demo-extend.test.ts.snap | 60 +++++++ .../__tests__/__snapshots__/demo.test.js.snap | 60 +++++++ components/form/__tests__/index.test.js | 156 +++++++++++++++++- .../__snapshots__/demo-extend.test.ts.snap | 1 + .../__tests__/__snapshots__/demo.test.ts.snap | 1 + components/menu/index.zh-CN.md | 2 +- 10 files changed, 347 insertions(+), 8 deletions(-) diff --git a/components/drawer/__tests__/__snapshots__/demo-extend.test.tsx.snap b/components/drawer/__tests__/__snapshots__/demo-extend.test.tsx.snap index 1ef885a412..8c22d6e98b 100644 --- a/components/drawer/__tests__/__snapshots__/demo-extend.test.tsx.snap +++ b/components/drawer/__tests__/__snapshots__/demo-extend.test.tsx.snap @@ -600,6 +600,7 @@ HTMLCollection [ class="ant-form-item-control-input-content" >
@@ -2470,6 +2479,7 @@ HTMLCollection [ class="ant-form-item-control-input-content" >