Respect user preferences for spacing
Users with cognitive disabilities or specific visual needs may rely on custom spacing preferences.
Ensure margins do not override user-defined styles.
Do not rely on margin for meaning
Screen reader users and keyboard-only users do not perceive visual spacing.
If margin is used to indicate separation of sections, ensure there are other meaningful cues, such as headings, landmarks, or aria-labelledby attributes.
Ensure consistent responsive behavior
Margins should adjust appropriately across different screen sizes to prevent layout issues, especially in mobile or zoomed-in views.
Test how margins behave when users increase text size (e.g., via browser settings).
|
Accessibility checklist |
|
|---|---|
|
Respect user preferences for spacing |
✅ |
|
Do not rely on margin for meaning |
✅ |
|
Ensure consistent responsive behavior |
✅ |