Day 5: Web Accessibility (a11y) & Week 7 Mini-Project
Daily Objective
Section titled “Daily Objective”Audit web accessibility (a11y) and convert your Week 4 page into a fully responsive site.
1. Core Accessibility Checklist
Section titled “1. Core Accessibility Checklist”- Color Contrast: Minimum 4.5:1 ratio for regular text against background.
- Keyboard Navigation: Ensure interactive elements have distinct
:focus-visiblerings. - Screen Reader Text: Provide meaningful
altattributes on images andaria-labelwhere necessary.
:focus-visible { outline: 3px solid #3b82f6; outline-offset: 2px;}Week 7 Mini-Project: Fully Responsive Web Page
Section titled “Week 7 Mini-Project: Fully Responsive Web Page”Project Requirements:
- Convert your Week 4 product card page into a fully responsive multi-device experience.
- Mobile-first design using
min-widthbreakpoints (768px, 1024px). - Use CSS custom properties (
:root) for colors and spacing. - Implement fluid typography with
clamp(). - Polish with subtle transitions and verified accessibility contrast.