This page contains intentional mobile issues for testing and educational purposes only. These examples demonstrate common mobile-specific problems like small touch targets, viewport issues, orientation problems, and mobile-specific bugs. Always test on real mobile devices and follow mobile design best practices in production.
Mobile Issues
The following examples demonstrate common mobile-specific problems:
1. Small Touch Targets Touch
Buttons and links that are too small to tap easily:
/* VIOLATION: Too small touch targets */
.button {
width: 20px;
height: 20px;
padding: 2px;
}
/* Minimum should be 44x44px for easy tapping */
<!-- VIOLATION: Missing viewport tag -->
<!-- No viewport meta tag -->
<!-- Page renders at desktop width on mobile -->
<!-- VIOLATION: Disabling zoom -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Prevents users from zooming (accessibility issue) -->
Note: This page intentionally has user-scalable=no to demonstrate the issue
3. Elements Too Close Together Spacing
Interactive elements placed too close, causing accidental taps:
/* VIOLATION: Elements too close */
.button1 { margin: 1px; }
.button2 { margin: 1px; }
.button3 { margin: 1px; }
/* Should have at least 8px spacing between touch targets */
Too close together - easy to tap wrong button
4. Fixed Width Content Width
Content that doesn't adapt to screen width:
/* VIOLATION: Fixed width */
.container {
width: 1200px;
min-width: 1200px;
}
/* Causes horizontal scrolling on mobile */
This container is 1200px wide
It will cause horizontal scrolling on mobile devices
Try viewing on a phone or resizing your browser
5. Small Text Size Text
Text that's too small to read on mobile:
/* VIOLATION: Too small text */
.text {
font-size: 10px;
line-height: 1.2;
}
/* Minimum should be 16px to prevent auto-zoom on iOS */
This text is very small and hard to read on mobile
This is also too small
Still too small for comfortable reading
6. No Orientation Support Orientation
Layout that breaks when device is rotated:
/* VIOLATION: No orientation handling */
.container {
width: 100%;
height: 500px;
}
/* Doesn't adapt to landscape/portrait changes */
This layout doesn't adapt to orientation changes
Rotate your device to see the issue
7. Desktop-Only Navigation Navigation
Navigation that requires hover or doesn't work on touch:
/* VIOLATION: Hover-only navigation */
.menu-item:hover .submenu {
display: block;
}
/* Submenu only appears on hover - doesn't work on touch */
Submenu Item 1
Submenu Item 2
Submenu only works on hover - not accessible on touch devices
8. Inappropriate Input Types Input
Using wrong input types that don't show proper mobile keyboards:
<!-- VIOLATION: Wrong input types -->
<input type="text" name="phone"> <!-- Should be type="tel" -->
<input type="text" name="email"> <!-- Should be type="email" -->
<input type="text" name="number"> <!-- Should be type="number" -->
<!-- Wrong keyboard shown on mobile -->
This content is partially hidden behind the fixed header
Users can't see the beginning of the content
12. No Swipe Gesture Alternatives Gestures
Features that only work with swipe gestures:
<!-- VIOLATION: Swipe-only interaction -->
<div class="carousel">
<!-- Only works with swipe -->
<!-- No buttons to navigate -->
<!-- No keyboard support -->
</div>
Swipe to navigate (no alternative controls)
Carousel Item 1
Only works with swipe gesture - no buttons
13. Mobile Keyboard Covers Input Fields Keyboard
Input fields that get covered by mobile keyboard:
/* VIOLATION: No scroll into view */
input {
/* When keyboard appears, input may be covered */
/* No scrollIntoView or viewport adjustment */
}
Scroll down to see input field
On mobile, keyboard may cover this input
14. No Mobile-Specific Optimizations Optimization
Missing mobile-specific features and optimizations:
<!-- VIOLATION: Missing mobile optimizations -->
<!-- No apple-touch-icon -->
<!-- No theme-color meta tag -->
<!-- No mobile-web-app-capable -->
<!-- Large images not optimized for mobile -->
<!-- No mobile-specific navigation patterns -->
15. Pinch-to-Zoom Disabled Zoom
Preventing users from zooming (accessibility issue):
Training developers on mobile design best practices
Understanding mobile-specific issues
Learning about touch interfaces and mobile UX
Remember: Always test on real mobile devices, use proper viewport settings, ensure touch targets are at least 44x44px, allow zooming for accessibility, and optimize for mobile performance. Mobile users have different needs than desktop users.