Readable line lengths
If the Stack controls spacing for text-based content, ensure that line length remains readable and doesn't create unnecessary gaps that affect comprehension.
Responsive adjustments
When the Stack adjusts spacing based on viewport size, ensure that elements do not become too tightly packed or too far apart, which could impact readability and usability.
Use media queries or container queries to maintain an accessible layout across devices.
Animation
If using animations for stacked elements (e.g., fade-in effects), respect prefers-reduced-motion to avoid causing discomfort for users with vestibular disorders.
|
Accessibility checklist |
|
|---|---|
|
Maintain readable line length and whitespace |
✅ |
|
Consider responsive adjustments |
✅ |
|
Support reduced motion preferences |
✅ |