@@ -37,12 +37,10 @@ class="opacity-0"
37
37
<a
38
38
href =" /"
39
39
class =" transition duration-200 will-change-transform hover:scale-[1.02]"
40
- aria-label =" NativePHP homepage"
41
40
>
42
41
<x-logo
43
42
class =" h-6"
44
43
aria-hidden =" true"
45
- alt =" NativePHP Logo"
46
44
/>
47
45
<span class =" sr-only" >NativePHP homepage</span >
48
46
</a >
@@ -107,14 +105,17 @@ class="absolute top-1/2 left-3 -z-10 size-16 -translate-y-1/2 rounded-full bg-cy
107
105
<div class =" flex items-center gap-5 text-sm" >
108
106
<div class =" flex flex-col items-center gap-2" >
109
107
{{-- Icon --}}
110
- <x-icons .email-document class =" size-7 shrink-0" />
108
+ <x-icons .email-document
109
+ aria-hidden =" true"
110
+ class =" size-7 shrink-0"
111
+ />
111
112
112
113
{{-- Title --}}
113
- <h2
114
+ <span
114
115
class =" transition duration-300 will-change-transform group-hover:scale-105"
115
116
>
116
117
Newsletter
117
- </h2 >
118
+ </span >
118
119
</div >
119
120
120
121
{{-- Message --}}
@@ -145,6 +146,7 @@ class="leading-relaxed opacity-70 transition duration-300 will-change-transform
145
146
)
146
147
}
147
148
"
149
+ aria-hidden =" true"
148
150
class =" size-4 shrink-0"
149
151
/>
150
152
</a >
@@ -175,15 +177,22 @@ class="flex w-full flex-wrap justify-center gap-x-5 gap-y-3 sm:w-auto lg:justify
175
177
"
176
178
>
177
179
{{-- Column --}}
178
- <div class =" flex grow flex-col items-start gap-1 sm:grow-0" >
179
- <h2 class =" font-medium" >Explore</h2 >
180
+ <section
181
+ class =" flex grow flex-col items-start gap-1 sm:grow-0"
182
+ aria-labelledby =" footer-explore-heading"
183
+ >
184
+ <h3
185
+ id =" footer-explore-heading"
186
+ class =" font-medium"
187
+ >
188
+ Explore
189
+ </h3 >
180
190
<ul
181
191
class =" flex flex-col items-start text-sm text-gray-500 dark:text-gray-400"
182
192
>
183
193
<li >
184
194
<a
185
195
href =" {{ route (' welcome' ) } }"
186
- aria-label =" Home"
187
196
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
188
197
>
189
198
Home
@@ -192,7 +201,6 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
192
201
<li >
193
202
<a
194
203
href =" {{ route (' blog' ) } }"
195
- aria-label =" Blog"
196
204
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
197
205
>
198
206
Blog
@@ -201,7 +209,6 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
201
209
<li >
202
210
<a
203
211
href =" https://shop.nativephp.com/"
204
- aria-label =" NativePHP Shop"
205
212
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
206
213
>
207
214
Shop
@@ -210,7 +217,6 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
210
217
<li >
211
218
<a
212
219
href =" https://bifrost.nativephp.com/"
213
- aria-label =" Bifrost"
214
220
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
215
221
>
216
222
Bifrost
@@ -219,7 +225,6 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
219
225
<li >
220
226
<a
221
227
href =" {{ route (' privacy-policy' ) } }"
222
- aria-label =" Privacy Policy"
223
228
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
224
229
>
225
230
Privacy Policy
@@ -228,25 +233,31 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
228
233
<li >
229
234
<a
230
235
href =" {{ route (' terms-of-service' ) } }"
231
- aria-label =" Terms of Service"
232
236
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
233
237
>
234
238
Terms of Service
235
239
</a >
236
240
</li >
237
241
</ul >
238
- </div >
242
+ </section >
239
243
240
244
{{-- Column --}}
241
- <div class =" flex grow flex-col items-start gap-1 sm:grow-0" >
242
- <h2 class =" font-medium" >Mobile</h2 >
245
+ <section
246
+ class =" flex grow flex-col items-start gap-1 sm:grow-0"
247
+ aria-labelledby =" footer-mobile-heading"
248
+ >
249
+ <h3
250
+ id =" footer-mobile-heading"
251
+ class =" font-medium"
252
+ >
253
+ Mobile
254
+ </h3 >
243
255
<ul
244
256
class =" flex flex-col items-start text-sm text-gray-500 dark:text-gray-400"
245
257
>
246
258
<li >
247
259
<a
248
260
href =" /docs/mobile/1/getting-started/introduction"
249
- aria-label =" Mobile Documentation"
250
261
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
251
262
>
252
263
Documentation
@@ -255,7 +266,6 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
255
266
<li >
256
267
<a
257
268
href =" {{ route (' pricing' ) } }"
258
- aria-label =" Pricing"
259
269
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
260
270
>
261
271
Pricing
@@ -264,25 +274,31 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
264
274
<li >
265
275
<a
266
276
href =" https://github.com/nativephp"
267
- aria-label =" GitHub"
268
277
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
269
278
>
270
279
GitHub
271
280
</a >
272
281
</li >
273
282
</ul >
274
- </div >
283
+ </section >
275
284
276
285
{{-- Column --}}
277
- <div class =" flex grow flex-col items-start gap-1 sm:grow-0" >
278
- <h2 class =" font-medium" >Desktop</h2 >
286
+ <section
287
+ class =" flex grow flex-col items-start gap-1 sm:grow-0"
288
+ aria-labelledby =" footer-desktop-heading"
289
+ >
290
+ <h3
291
+ id =" footer-desktop-heading"
292
+ class =" font-medium"
293
+ >
294
+ Desktop
295
+ </h3 >
279
296
<ul
280
297
class =" flex flex-col items-start text-sm text-gray-500 dark:text-gray-400"
281
298
>
282
299
<li >
283
300
<a
284
301
href =" /docs/desktop/1/getting-started/introduction"
285
- aria-label =" Desktop Documentation"
286
302
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
287
303
>
288
304
Documentation
@@ -291,7 +307,6 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
291
307
<li >
292
308
<a
293
309
href =" {{ route (' sponsoring' ) } }"
294
- aria-label =" Sponsoring"
295
310
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
296
311
>
297
312
Sponsoring
@@ -300,14 +315,13 @@ class="inline-block px-px py-1.5 transition duration-300 will-change-transform h
300
315
<li >
301
316
<a
302
317
href =" https://github.com/nativephp"
303
- aria-label =" GitHub"
304
318
class =" inline-block px-px py-1.5 transition duration-300 will-change-transform hover:translate-x-1 hover:text-gray-700 dark:hover:text-gray-300"
305
319
>
306
320
GitHub
307
321
</a >
308
322
</li >
309
323
</ul >
310
- </div >
324
+ </section >
311
325
</nav >
312
326
</div >
313
327
@@ -351,8 +365,8 @@ class="flex flex-col flex-wrap items-center gap-2 opacity-0 md:flex-row"
351
365
<a
352
366
href =" https://zahirnia.com"
353
367
target =" _blank"
368
+ rel =" noopener noreferrer"
354
369
class =" group relative font-medium text-black/80 transition duration-200 hover:text-black dark:text-white/80 dark:hover:text-white"
355
- aria-label =" Hassan's website"
356
370
>
357
371
Hassan Zahirnia
358
372
<div
@@ -369,7 +383,6 @@ class="hidden h-3 w-0.5 bg-gray-300 md:block dark:bg-[#242734]"
369
383
href =" https://x.com/caneco"
370
384
target =" _blank"
371
385
class =" group relative font-medium text-black/80 transition duration-200 hover:text-black dark:text-white/80 dark:hover:text-white"
372
- aria-label =" Caneco's Twitter profile"
373
386
rel =" noopener noreferrer"
374
387
>
375
388
Caneco
0 commit comments