1. Building Accessible Web Forms
Online exam candidates frequently navigate using keyboard only (Tab key, Spacebar, Enter key) or screen readers. Ensuring accessible forms is critical for legal compliance (WCAG 2.1 AA) and equal access.
2. Grouping Related Inputs with &
When multiple radio buttons or checkboxes form a single question, wrap them in a with a . Screen readers announce the legend question before each individual option:
3. Accessible Error Messaging with aria-describedby
Roll number must contain 10 digits.