@@ -7,7 +7,7 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
7
7
< div class ="small text-body-secondary "> January - December 2023</ div >
8
8
</ c-col >
9
9
< c-col class ="d-none d-md-block " sm ="7 ">
10
- < button cButton class ="float-end " color ="primary ">
10
+ < button cButton class ="float-end " color ="primary " aria-label =" Download " >
11
11
< svg cIcon name ="cilCloudDownload "> </ svg >
12
12
</ button >
13
13
< form [formGroup] ="trafficRadioGroup ">
@@ -17,13 +17,15 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
17
17
formControlName ="trafficRadio "
18
18
type ="radio "
19
19
value ="Day "
20
+ id ="dayRadio "
20
21
/>
21
22
< label
22
23
(click) ="setTrafficPeriod('Day') "
23
24
cButton
24
25
cFormCheckLabel
25
26
color ="secondary "
26
27
variant ="outline "
28
+ for ="dayRadio "
27
29
>
28
30
Day
29
31
</ label >
@@ -32,13 +34,15 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
32
34
formControlName ="trafficRadio "
33
35
type ="radio "
34
36
value ="Month "
37
+ id ="radioMonth "
35
38
/>
36
39
< label
37
40
(click) ="setTrafficPeriod('Month') "
38
41
cButton
39
42
cFormCheckLabel
40
43
color ="secondary "
41
44
variant ="outline "
45
+ for ="radioMonth "
42
46
>
43
47
Month
44
48
</ label >
@@ -47,13 +51,15 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
47
51
formControlName ="trafficRadio "
48
52
type ="radio "
49
53
value ="Year "
54
+ id ="radioYear "
50
55
/>
51
56
< label
52
57
(click) ="setTrafficPeriod('Year') "
53
58
cButton
54
59
cFormCheckLabel
55
60
color ="secondary "
56
61
variant ="outline "
62
+ for ="radioYear "
57
63
>
58
64
Year
59
65
</ label >
@@ -77,27 +83,27 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
77
83
< c-col >
78
84
< div class ="text-body-secondary "> Visits</ div >
79
85
< strong > 29.703 Users (40%)</ strong >
80
- < c-progress class ="mt-2 " thin color ="success " value ="40 " />
86
+ < c-progress class ="mt-2 " thin color ="success " value ="40 " aria-label =" User visits " />
81
87
</ c-col >
82
88
< c-col >
83
89
< div class ="text-body-secondary "> Unique</ div >
84
90
< div class ="fw-semibold text-truncate "> 24.093 Users (20%)</ div >
85
- < c-progress class ="mt-2 " thin color ="info " value ="20 " />
91
+ < c-progress class ="mt-2 " thin color ="info " value ="20 " aria-label =" Unique users " />
86
92
</ c-col >
87
93
< c-col >
88
94
< div class ="text-body-secondary "> Page views</ div >
89
95
< div class ="fw-semibold text-truncate "> 78.706 Views (60%)</ div >
90
- < c-progress class ="mt-2 " thin color ="warning " value ="60 " />
96
+ < c-progress class ="mt-2 " thin color ="warning " value ="60 " aria-label =" Page views " />
91
97
</ c-col >
92
98
< c-col >
93
99
< div class ="text-body-secondary "> New Users</ div >
94
100
< div class ="fw-semibold text-truncate "> 22.123 Users (80%)</ div >
95
- < c-progress class ="mt-2 " thin color ="danger " value ="80 " />
101
+ < c-progress class ="mt-2 " thin color ="danger " value ="80 " aria-label =" New users " />
96
102
</ c-col >
97
103
< c-col class ="d-none d-xl-block ">
98
104
< div class ="text-body-secondary "> Bounce Rate</ div >
99
105
< div class ="fw-semibold text-truncate "> Average Rate (40.15%)</ div >
100
- < c-progress class ="mt-2 " thin value ="40 " />
106
+ < c-progress class ="mt-2 " thin value ="40 " aria-label =" Bounce rate " />
101
107
</ c-col >
102
108
</ c-row >
103
109
</ c-card-footer >
@@ -134,62 +140,62 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
134
140
< span class ="text-body-secondary small "> Monday</ span >
135
141
</ div >
136
142
< div class ="progress-group-bars ">
137
- < c-progress thin color ="info " value ="34 " />
138
- < c-progress thin color ="danger " value ="78 " />
143
+ < c-progress thin color ="info " value ="34 " aria-label =" Monday new clients " />
144
+ < c-progress thin color ="danger " value ="78 " aria-label =" Monday recurring clients " />
139
145
</ div >
140
146
</ div >
141
147
< div class ="progress-group mb-4 ">
142
148
< div class ="progress-group-prepend ">
143
149
< span class ="text-body-secondary small "> Tuesday</ span >
144
150
</ div >
145
151
< div class ="progress-group-bars ">
146
- < c-progress thin color ="info " value ="56 " />
147
- < c-progress thin color ="danger " value ="94 " />
152
+ < c-progress thin color ="info " value ="56 " aria-label =" Tuesday new clients " />
153
+ < c-progress thin color ="danger " value ="94 " aria-label =" Tuesday recurring clients " />
148
154
</ div >
149
155
</ div >
150
156
< div class ="progress-group mb-4 ">
151
157
< div class ="progress-group-prepend ">
152
158
< span class ="text-body-secondary small "> Wednesday</ span >
153
159
</ div >
154
160
< div class ="progress-group-bars ">
155
- < c-progress thin color ="info " value ="12 " />
156
- < c-progress thin color ="danger " value ="67 " />
161
+ < c-progress thin color ="info " value ="12 " aria-label =" Wednesday new clients " />
162
+ < c-progress thin color ="danger " value ="67 " aria-label =" Wednesday recurring clients " />
157
163
</ div >
158
164
</ div >
159
165
< div class ="progress-group mb-4 ">
160
166
< div class ="progress-group-prepend ">
161
167
< span class ="text-body-secondary small "> Thursday</ span >
162
168
</ div >
163
169
< div class ="progress-group-bars ">
164
- < c-progress thin color ="info " value ="43 " />
165
- < c-progress thin color ="danger " value ="91 " />
170
+ < c-progress thin color ="info " value ="43 " aria-label =" Thursday new clients " />
171
+ < c-progress thin color ="danger " value ="91 " aria-label =" Thursday recurring clients " />
166
172
</ div >
167
173
</ div >
168
174
< div class ="progress-group mb-4 ">
169
175
< div class ="progress-group-prepend ">
170
176
< span class ="text-body-secondary small "> Friday</ span >
171
177
</ div >
172
178
< div class ="progress-group-bars ">
173
- < c-progress thin color ="info " value ="22 " />
174
- < c-progress thin color ="danger " value ="73 " />
179
+ < c-progress thin color ="info " value ="22 " aria-label =" Friday new clients " />
180
+ < c-progress thin color ="danger " value ="73 " aria-label =" Friday recurring clients " />
175
181
</ div >
176
182
</ div >
177
183
< div class ="progress-group mb-4 ">
178
184
< div class ="progress-group-prepend ">
179
185
< span class ="text-body-secondary small "> Saturday</ span >
180
186
</ div >
181
187
< div class ="progress-group-bars ">
182
- < c-progress thin color ="info " value ="53 " />
183
- < c-progress thin color ="danger " value ="82 " />
188
+ < c-progress thin color ="info " value ="53 " aria-label =" Saturday new clients " />
189
+ < c-progress thin color ="danger " value ="82 " aria-label =" Saturday recurring clients " />
184
190
</ div >
185
191
</ div >
186
192
< div class ="progress-group mb-4 ">
187
193
< div class ="progress-group-prepend ">
188
194
< span class ="text-body-secondary small "> Sunday</ span >
189
195
</ div >
190
196
< div class ="progress-group-bars ">
191
- < c-progress thin color ="info " value ="9 " />
192
- < c-progress thin color ="danger " value ="69 " />
197
+ < c-progress thin color ="info " value ="9 " aria-label =" Sunday new clients " />
198
+ < c-progress thin color ="danger " value ="69 " aria-label =" Sunday recurring clients " />
193
199
</ div >
194
200
</ div >
195
201
< div class ="legend text-center d-none d-md-block " ngPreserveWhitespaces >
@@ -232,7 +238,7 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
232
238
< span class ="ms-auto font-semibold "> 43%</ span >
233
239
</ div >
234
240
< div class ="progress-group-bars ">
235
- < c-progress thin color ="warning " value ="43 " />
241
+ < c-progress thin color ="warning " value ="43 " aria-label =" Male users " />
236
242
</ div >
237
243
</ div >
238
244
< div class ="progress-group mb-5 ">
@@ -242,7 +248,7 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
242
248
< span class ="ms-auto font-semibold "> 37%</ span >
243
249
</ div >
244
250
< div class ="progress-group-bars ">
245
- < c-progress thin color ="warning " value ="37 " />
251
+ < c-progress thin color ="warning " value ="37 " aria-label =" Feale users " />
246
252
</ div >
247
253
</ div >
248
254
@@ -255,7 +261,7 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
255
261
</ span >
256
262
</ div >
257
263
< div class ="progress-group-bars ">
258
- < c-progress thin color ="success " value ="56 " />
264
+ < c-progress thin color ="success " value ="56 " aria-label =" Organic search " />
259
265
</ div >
260
266
</ div >
261
267
< div class ="progress-group ">
@@ -267,7 +273,7 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
267
273
</ span >
268
274
</ div >
269
275
< div class ="progress-group-bars ">
270
- < c-progress thin color ="success " value ="15 " />
276
+ < c-progress thin color ="success " value ="15 " aria-label =" Facebook " />
271
277
</ div >
272
278
</ div >
273
279
< div class ="progress-group ">
@@ -279,7 +285,7 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
279
285
</ span >
280
286
</ div >
281
287
< div class ="progress-group-bars ">
282
- < c-progress thin color ="success " value ="11 " />
288
+ < c-progress thin color ="success " value ="11 " aria-label =" Twitter " />
283
289
</ div >
284
290
</ div >
285
291
< div class ="progress-group ">
@@ -291,7 +297,7 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
291
297
</ span >
292
298
</ div >
293
299
< div class ="progress-group-bars ">
294
- < c-progress thin color ="success " value ="8 " />
300
+ < c-progress thin color ="success " value ="8 " aria-label =" LinkedIn " />
295
301
</ div >
296
302
</ div >
297
303
< div class ="divider d-flex justify-content-center ">
@@ -301,6 +307,7 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
301
307
color ="transparent "
302
308
size ="sm "
303
309
type ="button "
310
+ aria-label ="Options "
304
311
>
305
312
< svg cIcon name ="cil-options "> </ svg >
306
313
</ button >
@@ -369,7 +376,7 @@ <h4 class="card-title mb-0" id="traffic">Traffic</h4>
369
376
</ small >
370
377
</ div >
371
378
</ div >
372
- < c-progress thin [value] ="user.usage " color ="{{ user.color }} " />
379
+ < c-progress thin [value] ="user.usage " color ="{{ user.color }} " aria-label =" Usage " />
373
380
</ td >
374
381
< td class ="text-center ">
375
382
< svg cIcon name ="cibCc{{ user.payment }} " size ="xl "> </ svg >
0 commit comments