Skip to content

Commit ccdd3df

Browse files
committed
Add role attribute to skill level blocks
Added role="presentation" to each skill level block for improved accessibility, indicating that these elements are for visual presentation only.
1 parent 573465a commit ccdd3df

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Components/Skills/SkillContainer/SkillContainer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const Skills = ({
4545
{Array.from({ length: 10 }).map((_, index) => (
4646
<div
4747
key={index}
48+
role="presentation"
4849
className={`skill-container__level-block ${index === 4 || index === 9 ? 'lg' : 'sm'} ${currentLevel > index ? 'active' : ''}`}
4950
/>
5051
))}

0 commit comments

Comments
 (0)