Lists with invalid structure on Next.js
What this is
3 lists contain elements other than list items, so screen readers announce the wrong number of items.
Who it affects
- Screen reader users
Standards
How to fix it
- Make the direct children of `<ul>`/`<ol>` only `<li>` elements (wrap anything else inside an `<li>`).
On Next.js
Find the component that renders this markup (search for the class names) and fix it at the source so every use is corrected.
Other platforms
Prompt for an AI coding tool
Scan your site with AccessibilityBrief and you get a ready-to-use prompt for this problem, with the exact elements on your pages filled in.
Check your own website
Paste a web address. The free scan checks one page and shows what it finds.
More fixes
Automated testing detects only a portion of WCAG issues. Manual testing is required to assess full conformance.