Improve accessibility in testimonials section; rendered <li> elements are now in <ul> element.

This commit is contained in:
Dorian Niemiec 2024-07-29 21:04:44 +02:00
parent a354ae5de0
commit bf731b363d

View file

@ -86,7 +86,7 @@ const Testimonials = () => {
</span> </span>
</h1> </h1>
<div className="wrapper columns-1 gap-5 md:columns-2 lg:columns-3 py-6 mt-6"> <ul className="wrapper columns-1 gap-5 md:columns-2 lg:columns-3 py-6 mt-6">
{testimonials.map((testimonial, idx) => ( {testimonials.map((testimonial, idx) => (
<TestimonialCard <TestimonialCard
avatar={testimonial.avatar} avatar={testimonial.avatar}
@ -97,7 +97,7 @@ const Testimonials = () => {
key={idx} key={idx}
/> />
))} ))}
</div> </ul>
</section> </section>
); );
}; };