expressjs/expressjs.com
footer: kawaii button shrinking social icons below 400px
开放
#2,456 创建于 2026年7月22日
a11y / accessibilitydesigngood first issuehelp wanted
仓库指标
- 星标
- (5,330 个星标)
- PR 合并指标
- (平均合并 13天 7小时) (30 天内合并 43 个 PR)
描述
https://github.com/user-attachments/assets/bad6e6da-9a17-4bbb-a97b-56b8387dabd7
Accessibility (a11y) Guideline: Minimum Icon Size & Touch Target
- Minimum Icon Dimensions (WCAG 2.5.8 - Target Size): Ensure interactive elements and their icons do not shrink below 16px (1em) on mobile devices or smaller viewports to maintain visual legibility and prevent layout collapse.
- Touch Target Spacing: While visual icons may scale down to 16px to fit narrow screens (<400px), the interactive container/touch target must maintain an adequate hit area to assist users with motor impairments or touch interfaces.