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.