From e18d913eb39c4889002a9776a89086eccc5fce2f Mon Sep 17 00:00:00 2001 From: Elizabeth Mitchell Date: Mon, 29 Jan 2024 15:09:43 -0800 Subject: [PATCH] chore(button): add unique aria labels to buttons with icons PiperOrigin-RevId: 602512735 --- button/demo/stories.ts | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/button/demo/stories.ts b/button/demo/stories.ts index 46d6c850b..81474df32 100644 --- a/button/demo/stories.ts +++ b/button/demo/stories.ts @@ -63,27 +63,37 @@ const buttons: MaterialStoryInit = {
- + upload ${label || 'Filled'} - + upload ${label || 'Outlined'} - + upload ${label || 'Elevated'} - + upload ${label || 'Tonal'} - + upload ${label || 'Text'} @@ -137,6 +147,7 @@ const links: MaterialStoryInit = {
@@ -145,6 +156,7 @@ const links: MaterialStoryInit = { @@ -153,6 +165,7 @@ const links: MaterialStoryInit = { @@ -161,6 +174,7 @@ const links: MaterialStoryInit = { @@ -169,6 +183,7 @@ const links: MaterialStoryInit = {