@@ -63,27 +63,37 @@ const buttons: MaterialStoryInit<StoryKnobs> = {
63
63
</ md-text-button >
64
64
</ div >
65
65
< div class ="row ">
66
- < md-filled-button ?disabled =${ disabled } >
66
+ < md-filled-button
67
+ ?disabled =${ disabled }
68
+ aria-label ="${ label || 'Filled' } button with icon">
67
69
< md-icon slot ="icon "> upload</ md-icon >
68
70
${ label || 'Filled' }
69
71
</ md-filled-button >
70
72
71
- < md-outlined-button ?disabled =${ disabled } >
73
+ < md-outlined-button
74
+ ?disabled =${ disabled }
75
+ aria-label ="${ label || 'Outlined' } button with icon">
72
76
< md-icon slot ="icon "> upload</ md-icon >
73
77
${ label || 'Outlined' }
74
78
</ md-outlined-button >
75
79
76
- < md-elevated-button ?disabled =${ disabled } >
80
+ < md-elevated-button
81
+ ?disabled =${ disabled }
82
+ aria-label ="${ label || 'Elevated' } button with icon">
77
83
< md-icon slot ="icon "> upload</ md-icon >
78
84
${ label || 'Elevated' }
79
85
</ md-elevated-button >
80
86
81
- < md-filled-tonal-button ?disabled =${ disabled } >
87
+ < md-filled-tonal-button
88
+ ?disabled =${ disabled }
89
+ aria-label ="${ label || 'Tonal' } button with icon">
82
90
< md-icon slot ="icon "> upload</ md-icon >
83
91
${ label || 'Tonal' }
84
92
</ md-filled-tonal-button >
85
93
86
- < md-text-button ?disabled =${ disabled } >
94
+ < md-text-button
95
+ ?disabled =${ disabled }
96
+ aria-label ="${ label || 'Text' } button with icon">
87
97
< md-icon slot ="icon "> upload</ md-icon >
88
98
${ label || 'Text' }
89
99
</ md-text-button >
@@ -137,6 +147,7 @@ const links: MaterialStoryInit<StoryKnobs> = {
137
147
</ div >
138
148
< div class ="row ">
139
149
< md-filled-button
150
+ aria-label ="${ label || 'Filled' } link with trailing icon "
140
151
href ="https://google.com "
141
152
target ="_blank "
142
153
trailing-icon >
@@ -145,6 +156,7 @@ const links: MaterialStoryInit<StoryKnobs> = {
145
156
</ md-filled-button >
146
157
147
158
< md-outlined-button
159
+ aria-label ="${ label || 'Outlined' } link with trailing icon "
148
160
href ="https://google.com "
149
161
target ="_blank "
150
162
trailing-icon >
@@ -153,6 +165,7 @@ const links: MaterialStoryInit<StoryKnobs> = {
153
165
</ md-outlined-button >
154
166
155
167
< md-elevated-button
168
+ aria-label ="${ label || 'Elevated' } link with trailing icon "
156
169
href ="https://google.com "
157
170
target ="_blank "
158
171
trailing-icon >
@@ -161,6 +174,7 @@ const links: MaterialStoryInit<StoryKnobs> = {
161
174
</ md-elevated-button >
162
175
163
176
< md-filled-tonal-button
177
+ aria-label ="${ label || 'Tonal' } link with trailing icon "
164
178
href ="https://google.com "
165
179
target ="_blank "
166
180
trailing-icon >
@@ -169,6 +183,7 @@ const links: MaterialStoryInit<StoryKnobs> = {
169
183
</ md-filled-tonal-button >
170
184
171
185
< md-text-button
186
+ aria-label ="${ label || 'Text' } link with trailing icon "
172
187
href ="https://google.com "
173
188
target ="_blank "
174
189
trailing-icon >
0 commit comments