Skip to content

fix: ARIA role structure in footer.ejs - #5

Merged
JinxiangChen22 merged 1 commit into
JinxiangChen22:mainfrom
IanRAISA:feature/ARIA
May 9, 2026
Merged

fix: ARIA role structure in footer.ejs#5
JinxiangChen22 merged 1 commit into
JinxiangChen22:mainfrom
IanRAISA:feature/ARIA

Conversation

@IanRAISA

@IanRAISA IanRAISA commented May 9, 2026

Copy link
Copy Markdown
Collaborator

Linked Issue

Closes: #issue number that will be closed through this PR

Describe the changes you've made

Fixed ARIA role structure violations reported by axe DevTools in footer.ejs :

  1. Removed redundant role="list" from line 21 and line 33

    • Native
        elements already have implicit list role per HTML5 spec
      • Explicit role="list" requires all children to have role="listitem" , which
      • does not inherit in this context
      • This violates WCAG 2.1 SC 4.1.2 (Name, Role, Value)
    • Added missing closing tag on line 23

      • Original HTML:
      • <a ...><img ...>
      • (broken structure)
      • Fixed:
      • <a ...><img ...>
      • (valid structure)
      • This ensures proper ARIA parent-child relationships for screen readers
        After these changes, axe DevTools no longer reports "Certain ARIA roles must contain particular children" errors on the homepage.

@vercel

vercel Bot commented May 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
taskify Ready Ready Preview, Comment May 9, 2026 8:07am

@codecov

codecov Bot commented May 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@JinxiangChen22
JinxiangChen22 merged commit 1dda971 into JinxiangChen22:main May 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants