@@ -184,33 +184,34 @@ export default function Page({ params }: PageProps) {
184184
185185 return (
186186 < >
187- < div className = "mt-8 pt-2 dark:bg-gray-100 dark:text-gray-800" >
188- < div className = "container p-2 px-8 md:px-16 mx-auto pt-16 space-y-1" >
187+ < article className = "mt-8 pt-2 dark:bg-gray-100 dark:text-gray-800" aria-label = "Guide content ">
188+ < header className = "container p-2 px-8 md:px-16 mx-auto pt-16 space-y-1" >
189189 < h3 className = "pb-1 text-1xl font-bold md:text-1xl text-center" >
190190 { course . idioma === 'en' ? 'Course: ' : 'Curso: ' } { course . titulo }
191191 </ h3 >
192- </ div >
192+ </ header >
193193 < h1 className = "py-3 px-16 text-[2rem] font-bold text-left" >
194194 { course . idioma === 'en' ? 'Guide' : 'Guía' }
195195
196196 < span > { guideNumber } </ span > : { myGuide . titulo }
197197 { myGuide . completed ? ' ✅' : '' }
198198 { myGuide . receivedScholarship ? ' 💰' : '' }
199199 </ h1 >
200- < div
200+ < section
201201 className = "py-3 px-16 text-1xl md:text-1xl text-justify **:list-inside"
202202 dangerouslySetInnerHTML = { { __html : guideHtml } }
203+ aria-label = "Guide text"
203204 />
204- < div className = "flex space-x-4 items-center justify-center" >
205+ < aside className = "flex space-x-4 items-center justify-center" aria-label = "Interactive buttons ">
205206 { isClient && showGoodDollarButton && (
206207 < GoodDollarClaimButton
207208 lang = { course . idioma }
208209 />
209210 ) }
210211 { isClient && showCeloUbiButton && < CeloUbiButton /> }
211- </ div >
212+ </ aside >
212213
213- < table className = "mx-auto text-center mt-12" >
214+ < nav aria-label = "Guide navigation" > < table className = "mx-auto text-center mt-12" >
214215 < tbody >
215216 < tr >
216217 < td >
@@ -250,9 +251,9 @@ export default function Page({ params }: PageProps) {
250251 </ td >
251252 </ tr >
252253 </ tbody >
253- </ table >
254+ </ table > </ nav >
254255 { creditsHtml && (
255- < div className = "text-sm mt-2" >
256+ < footer className = "text-sm mt-2" aria-label = "Course credits and license ">
256257 < h2 className = "px-16 text-1xl font-bold md:text-1xl" >
257258 { course . idioma === 'en'
258259 ? 'Credits and License of this course'
@@ -262,9 +263,9 @@ export default function Page({ params }: PageProps) {
262263 className = "py-3 px-16 text-1xl md:text-1xl text-justify"
263264 dangerouslySetInnerHTML = { { __html : creditsHtml } }
264265 />
265- </ div >
266+ </ footer >
266267 ) }
267- </ div >
268+ </ article >
268269
269270 < div > </ div >
270271 </ >
0 commit comments