import { createSignal } from 'solid-js'
export default function App() {
const [showModal, setShowModal] = createSignal(false)
return (
A11y Devtools Demo
This page contains intentional accessibility issues to demonstrate the
A11y devtools plugin. Open the devtools panel and click "Run Audit" to
see the issues.
Accessibility Issues Demo
{/* Issue: Image without alt text */}
1. Image without alt text
{/* Issue: Button without accessible name */}
2. Button without accessible name
{/* Issue: Form input without label */}
3. Form input without label
{/* Issue: Low color contrast */}
4. Low color contrast
This text has poor color contrast and may be hard to read.
{/* Issue: Link without discernible text */}
5. Link without discernible text
{/* Issue: Missing main landmark */}
6. Click handler on non-interactive element
setShowModal(true)}
style="padding: 12px 24px; background-color: #0ea5e9; color: white; border-radius: 4px; display: inline-block; cursor: pointer;"
>
Click me (not a button!)
{/* Issue: Empty heading */}
7. Empty heading
{/* Issue: Missing form labels */}
8. Select without label
Accessible Content (for comparison)
Proper image with alt text
Proper button with label
Proper input with label
{showModal() && (
Modal Dialog
This is a modal that was triggered by a non-button element.