@@ -17,46 +17,46 @@ <h3>Text Only</h3>
17
17
</ div >
18
18
< h3 > Icon Only</ h3 >
19
19
< div class ="container ">
20
- < gux-button onclick ="notify(event) "
21
- > < gux-icon
22
- icon-name =" fa/diamond-regular "
23
- screenreader-text =" This will be read by a screen reader"
24
- > </ gux-icon
20
+ < gux-button onclick ="notify(event) ">
21
+ < gux-screen-reader-beta >
22
+ This will be read by a screen reader
23
+ </ gux- screen- reader-beta >
24
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon
25
25
> </ gux-button >
26
26
27
27
< gux-button accent ="primary " onclick ="notify(event) ">
28
- < gux-icon
29
- icon-name =" fa/diamond-regular "
30
- screenreader-text =" This will be read by a screen reader"
31
- > </ gux-icon
28
+ < gux-screen-reader-beta >
29
+ This will be read by a screen reader
30
+ </ gux- screen- reader-beta >
31
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon
32
32
> </ gux-button >
33
33
34
34
< gux-button accent ="secondary " onclick ="notify(event) ">
35
- < gux-icon
36
- icon-name =" fa/diamond-regular "
37
- screenreader-text =" This will be read by a screen reader"
38
- > </ gux-icon
35
+ < gux-screen-reader-beta >
36
+ This will be read by a screen reader
37
+ </ gux- screen- reader-beta >
38
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon
39
39
> </ gux-button >
40
40
41
41
< gux-button accent ="tertiary " onclick ="notify(event) ">
42
- < gux-icon
43
- icon-name =" fa/diamond-regular "
44
- screenreader-text =" This will be read by a screen reader"
45
- > </ gux-icon
42
+ < gux-screen-reader-beta >
43
+ This will be read by a screen reader
44
+ </ gux- screen- reader-beta >
45
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon
46
46
> </ gux-button >
47
47
48
48
< gux-button accent ="ghost " onclick ="notify(event) ">
49
- < gux-icon
50
- icon-name =" fa/diamond-regular "
51
- screenreader-text =" This will be read by a screen reader"
52
- > </ gux-icon >
49
+ < gux-screen-reader-beta >
50
+ This will be read by a screen reader
51
+ </ gux- screen- reader-beta >
52
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon >
53
53
</ gux-button >
54
54
55
55
< gux-button accent ="danger " onclick ="notify(event) ">
56
- < gux-icon
57
- icon-name =" fa/diamond-regular "
58
- screenreader-text =" This will be read by a screen reader"
59
- > </ gux-icon
56
+ < gux-screen-reader-beta >
57
+ This will be read by a screen reader
58
+ </ gux- screen- reader-beta >
59
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon
60
60
> </ gux-button >
61
61
</ div >
62
62
@@ -103,73 +103,55 @@ <h4>Text with extra description</h4>
103
103
< h4 > Icon Only</ h4 >
104
104
< div class ="container ">
105
105
< gux-button onclick ="notify(event) ">
106
- < gux-icon
107
- icon-name ="fa/diamond-regular "
108
- screenreader-text ="This will be read by a screen reader "
109
- > </ gux-icon >
110
- < gux-tooltip-beta aria-hidden ="true "
106
+ < gux-icon icon-name ="fa/diamond-regular " decorative > </ gux-icon >
107
+ < gux-tooltip-beta
111
108
> < span slot ="content "
112
- > Visual of screen reader text</ span
109
+ > This is some screenreader text</ span
113
110
> </ gux-tooltip-beta
114
111
>
115
112
</ gux-button >
116
113
117
114
< gux-button accent ="primary " onclick ="notify(event) ">
118
- < gux-icon
119
- icon-name ="fa/diamond-regular "
120
- screenreader-text ="This will be read by a screen reader "
121
- > </ gux-icon >
122
- < gux-tooltip-beta aria-hidden ="true "
115
+ < gux-icon icon-name ="fa/diamond-regular " decorative > </ gux-icon >
116
+ < gux-tooltip-beta
123
117
> < span slot ="content "
124
- > Visual of screen reader text</ span
118
+ > This is some screenreader text</ span
125
119
> </ gux-tooltip-beta
126
120
>
127
121
</ gux-button >
128
122
129
123
< gux-button accent ="secondary " onclick ="notify(event) ">
130
- < gux-icon
131
- icon-name ="fa/diamond-regular "
132
- screenreader-text ="This will be read by a screen reader "
133
- > </ gux-icon >
134
- < gux-tooltip-beta aria-hidden ="true "
124
+ < gux-icon icon-name ="fa/diamond-regular " decorative > </ gux-icon >
125
+ < gux-tooltip-beta
135
126
> < span slot ="content "
136
- > Visual of screen reader text</ span
127
+ > This is some screenreader text</ span
137
128
> </ gux-tooltip-beta
138
129
>
139
130
</ gux-button >
140
131
141
132
< gux-button accent ="tertiary " onclick ="notify(event) ">
142
- < gux-icon
143
- icon-name ="fa/diamond-regular "
144
- screenreader-text ="This will be read by a screen reader "
145
- > </ gux-icon >
146
- < gux-tooltip-beta aria-hidden ="true "
133
+ < gux-icon icon-name ="fa/diamond-regular " decorative > </ gux-icon >
134
+ < gux-tooltip-beta
147
135
> < span slot ="content "
148
- > Visual of screen reader text</ span
136
+ > This is some screenreader text</ span
149
137
> </ gux-tooltip-beta
150
138
>
151
139
</ gux-button >
152
140
153
141
< gux-button accent ="ghost " onclick ="notify(event) ">
154
- < gux-icon
155
- icon-name ="fa/diamond-regular "
156
- screenreader-text ="This will be read by a screen reader "
157
- > </ gux-icon >
158
- < gux-tooltip-beta aria-hidden ="true "
142
+ < gux-icon icon-name ="fa/diamond-regular " decorative > </ gux-icon >
143
+ < gux-tooltip-beta
159
144
> < span slot ="content "
160
- > Visual of screen reader text</ span
145
+ > This is some screenreader text</ span
161
146
> </ gux-tooltip-beta
162
147
>
163
148
</ gux-button >
164
149
165
150
< gux-button accent ="danger " onclick ="notify(event) ">
166
- < gux-icon
167
- icon-name ="fa/diamond-regular "
168
- screenreader-text ="This will be read by a screen reader "
169
- > </ gux-icon >
170
- < gux-tooltip-beta aria-hidden ="true "
151
+ < gux-icon icon-name ="fa/diamond-regular " decorative > </ gux-icon >
152
+ < gux-tooltip-beta
171
153
> < span slot ="content "
172
- > Visual of screen reader text</ span
154
+ > This is some screenreader text</ span
173
155
> </ gux-tooltip-beta
174
156
>
175
157
</ gux-button >
@@ -248,46 +230,46 @@ <h2>Disabled</h2>
248
230
</ div >
249
231
< h3 > Icon Only</ h3 >
250
232
< div class ="container ">
251
- < gux-button disabled onclick ="notify(event) "
252
- > < gux-icon
253
- icon-name =" fa/diamond-regular "
254
- screenreader-text =" This will be read by a screen reader"
255
- > </ gux-icon >
233
+ < gux-button disabled onclick ="notify(event) ">
234
+ < gux-screen-reader-beta >
235
+ This will be read by a screen reader
236
+ </ gux- screen- reader-beta >
237
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon >
256
238
</ gux-button >
257
239
258
240
< gux-button disabled accent ="primary " onclick ="notify(event) ">
259
- < gux-icon
260
- icon-name =" fa/diamond-regular "
261
- screenreader-text =" This will be read by a screen reader"
262
- > </ gux-icon
263
- > </ gux-button >
241
+ < gux-screen-reader-beta >
242
+ This will be read by a screen reader
243
+ </ gux- screen- reader-beta >
244
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon >
245
+ </ gux-button >
264
246
265
247
< gux-button disabled accent ="secondary " onclick ="notify(event) ">
266
- < gux-icon
267
- icon-name =" fa/diamond-regular "
268
- screenreader-text =" This will be read by a screen reader"
269
- > </ gux-icon
270
- > </ gux-button >
248
+ < gux-screen-reader-beta >
249
+ This will be read by a screen reader
250
+ </ gux- screen- reader-beta >
251
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon >
252
+ </ gux-button >
271
253
272
254
< gux-button disabled accent ="tertiary " onclick ="notify(event) ">
273
- < gux-icon
274
- icon-name =" fa/diamond-regular "
275
- screenreader-text =" This will be read by a screen reader"
276
- > </ gux-icon
277
- > </ gux-button >
255
+ < gux-screen-reader-beta >
256
+ This will be read by a screen reader
257
+ </ gux- screen- reader-beta >
258
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon >
259
+ </ gux-button >
278
260
279
261
< gux-button disabled accent ="ghost " onclick ="notify(event) ">
280
- < gux-icon
281
- icon-name =" fa/diamond-regular "
282
- screenreader-text =" This will be read by a screen reader"
283
- > </ gux-icon
284
- > </ gux-button >
262
+ < gux-screen-reader-beta >
263
+ This will be read by a screen reader
264
+ </ gux- screen- reader-beta >
265
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon >
266
+ </ gux-button >
285
267
286
268
< gux-button disabled accent ="danger " onclick ="notify(event) ">
287
- < gux-icon
288
- icon-name =" fa/diamond-regular "
289
- screenreader-text =" This will be read by a screen reader"
290
- > </ gux-icon
269
+ < gux-screen-reader-beta >
270
+ This will be read by a screen reader
271
+ </ gux- screen- reader-beta >
272
+ < gux-icon icon-name =" fa/diamond-regular " decorative > </ gux-icon
291
273
> </ gux-button >
292
274
</ div >
293
275
0 commit comments