π± Responsiveness
2.1 Mobile 320px (iPhone SE)
- Open DevTools β Device Toolbar (Ctrl+Shift+M)
- Set dimensions: 320px width
- Scroll through entire page
β
Expected: No horizontal scroll, all text readable, buttons accessible
2.2 Mobile 375px (iPhone 12/13)
- Set dimensions: 375px width
- Test navigation menu toggle
- Check all sections
β
Expected: Mobile menu works, grid becomes single column
2.3 Tablet 768px (iPad)
- Set dimensions: 768px width
- Check grid layouts (should be 2 columns)
β
Expected: Two-column grid, proper spacing
2.4 Desktop 1440px
- Set dimensions: 1440px width
- Verify full layout
β
Expected: Three-column grid where applicable, centered content
βοΈ Functionality
3.1 Navigation Links
- Click each navigation link
- Verify smooth scroll to section
- Test mobile menu open/close
β
Expected: Smooth scroll works, menu closes after click on mobile
3.2 Lightbox Gallery
- Click any image in gallery section
- Test keyboard navigation: β β arrows, ESC
- Test prev/next buttons
- Test close button
- Open and close 10+ times (memory leak test)
β
Expected: Lightbox opens, navigation works, ESC closes, TAB trapped, no memory leak
3.3 Form Validation
- Try submitting empty form
- Enter invalid email
- Fill all fields correctly
β
Expected: Browser validation shows errors, accepts valid input
3.4 Cookie Banner
- Open page in incognito mode
- Click "Prihvati sve"
- Refresh page β banner should not appear
- Clear cookies, test "Samo neophodne"
β
Expected: Banner shows on first visit, remembers choice, hides after acceptance
3.5 Scroll to Top Button
- Scroll down page
- Button should appear after ~400px
- Click button
β
Expected: Button appears on scroll, smooth scroll to top on click
βΏ Accessibility
4.1 Keyboard Navigation
- Use TAB key to navigate through page
- Verify focus visible on all interactive elements
- Test ENTER/SPACE on buttons
β
Expected: All elements keyboard accessible, visible focus indicators
4.2 ARIA Labels
- Open DevTools β Elements
- Search for
aria-label and aria-labelledby
- Verify buttons and icons have proper labels
β
Expected: All icon buttons have aria-label, proper ARIA usage
4.3 Skip Link
- Refresh page
- Press TAB immediately (first focus)
- "PreskoΔi na glavni sadrΕΎaj" should appear
- Press ENTER
β
Expected: Skip link visible on focus, skips to main content
β‘ Performance
5.1 Lighthouse Desktop
- Open DevTools β Lighthouse tab
- Device: Desktop
- Categories: All
- Click "Analyze page load"
β
Expected: Performance β₯85, Accessibility β₯90, Best Practices β₯95, SEO β₯95
5.2 Lighthouse Mobile
- Device: Mobile
- Run analysis
β
Expected: Performance β₯70, Accessibility β₯90, Best Practices β₯95, SEO β₯95
5.3 Console Errors
- Open DevTools β Console tab
- Refresh page (Ctrl+Shift+R)
- Navigate through all sections
- Test all interactive features
β
Expected: No console errors, warnings acceptable
π Links & Resources
7.1 Internal Links
- Click "Pogledaj cijelu galeriju" β should open gallery.html
- Click footer links (Privacy, Terms, Cookies)
- Click Portfolio link in footer
β
Expected: All links work, no 404 errors
7.2 External Links
- Click WhatsApp link
- Click email link (should open mail client)
- Click phone links (should prompt call on mobile)
β
Expected: All external links work, open in new tab where appropriate
7.3 Images Loading
- Open DevTools β Network tab β Filter: Img
- Hard refresh (Ctrl+Shift+R)
- Verify all images load (200 status)
- Check for missing images (404)
β
Expected: All images load successfully, no 404 errors