Skip to content

Commit 33a8702

Browse files
committed
fix: Heading elements acessibility
Fixed Lighthouse "Heading elements appear in a sequentially-descending order" by changing h3 tag to a similarly-sized paragraph tag. Lighthouse score 85 -> 87
1 parent b7b708d commit 33a8702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ProjectList/ProjectsCards.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const Card = ({
2727
alt="the framework or language that the project is build upon"
2828
src={logoLink}
2929
/>
30-
<h3 className="Card-Title">{name}</h3>
30+
<p style={{fontSize: 20}} className="Card-Title">{name}</p>
3131
</div>
3232
<div className="Card-Body">
3333
<div className="Card-Tag">{tags}</div>

0 commit comments

Comments
 (0)