From b8fa155936bc1cd7d0aed128a7a244f534cbdaa2 Mon Sep 17 00:00:00 2001 From: bee Date: Wed, 14 Dec 2022 15:06:04 +0800 Subject: [PATCH] feat(count-down): support aria (#1207) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: CountDown组件读屏焦点优化 * feat: 修改count-down的aria-role * feat: update count-dow snapshots Co-authored-by: beedeng --- src/count-down/__test__/__snapshots__/index.test.js.snap | 4 ++++ src/count-down/count-down.wxml | 1 + 2 files changed, 5 insertions(+) diff --git a/src/count-down/__test__/__snapshots__/index.test.js.snap b/src/count-down/__test__/__snapshots__/index.test.js.snap index c293b8874..4aee66664 100644 --- a/src/count-down/__test__/__snapshots__/index.test.js.snap +++ b/src/count-down/__test__/__snapshots__/index.test.js.snap @@ -4,6 +4,7 @@ exports[`countdown :autoStart 1`] = `
@@ -17,6 +18,7 @@ exports[`countdown :base 1`] = `
@@ -30,6 +32,7 @@ exports[`countdown :base 2`] = `
@@ -45,6 +48,7 @@ exports[`countdown :millisecond 1`] = ` id="cd" > diff --git a/src/count-down/count-down.wxml b/src/count-down/count-down.wxml index a75070ed2..ff515493d 100644 --- a/src/count-down/count-down.wxml +++ b/src/count-down/count-down.wxml @@ -3,6 +3,7 @@ {{formattedTime}}