PromptsVault AI is thinking...
Searching the best prompts from our community
Searching the best prompts from our community
Prompts matching the #accessibility tag
Create accessible dropdowns with Alpine.js. Features: 1. x-data for component state. 2. x-show with transitions for visibility. 3. x-on:click.outside to close dropdown. 4. Keyboard navigation (Arrow, Enter, Esc). 5. x-bind for dynamic classes. 6. Focus trap within dropdown. 7. ARIA attributes for screen readers. 8. Multiple dropdown coordination. Use x-cloak to prevent flash and implement searchable dropdown with x-model for filter input.
Analyze the following HTML snippet for web accessibility (a11y) issues. Identify problems related to semantic HTML, ARIA attributes, color contrast, and keyboard navigation. Suggest fixes to make the component more accessible to users with disabilities.
Ensure product accessibility compliance following WCAG 2.1 standards. WCAG principles (POUR): 1. Perceivable: information must be presentable in ways users can perceive. 2. Operable: interface components must be operable by all users. 3. Understandable: information and UI operation must be understandable. 4. Robust: content must be robust enough for various assistive technologies. Key requirements: 1. Color contrast: 4.5:1 ratio for normal text, 3:1 for large text. 2. Keyboard navigation: all functionality accessible via keyboard. 3. Alt text: meaningful descriptions for images. 4. Focus indicators: visible outline when tabbing through elements. 5. Semantic HTML: proper heading hierarchy, form labels. Testing approach: 1. Automated scanning: axe-core, WAVE for initial detection. 2. Manual testing: keyboard-only navigation, screen reader testing. 3. User testing: recruit users with disabilities. Implementation: integrate accessibility into design system, developer training, legal compliance for ADA/Section 508.
Apply color psychology principles for effective visual communication. Color associations: 1. Red: energy, urgency, passion (call-to-action buttons, sale notifications). 2. Blue: trust, stability, professionalism (finance, healthcare, tech). 3. Green: growth, nature, money (environmental brands, finance). 4. Orange: creativity, enthusiasm, warmth (youth brands, food). 5. Purple: luxury, creativity, spirituality (beauty, premium products). Technical application: 1. 60-30-10 rule: dominant color (60%), secondary (30%), accent (10%). 2. Color harmony: complementary, triadic, analogous schemes using color wheel. 3. Cultural considerations: white = purity (Western) vs. mourning (Eastern). 4. Accessibility: sufficient contrast ratios, colorblind-friendly palettes. Tools: Adobe Color for palette generation, Coolors.co for exploration, WebAIM for contrast checking. Measurement: A/B testing color variations, engagement metrics, conversion rate impact.
Handle accessibility requests. Response: 1. Thank them for bringing it to attention. 2. Ask about specific needs. 3. Explain current accessibility features. 4. Provide alternative access methods. 5. Offer personalized assistance. 6. Commit to improvements where needed. 7. Provide direct contact for ongoing support. 8. Follow up on implementation. Show commitment to inclusivity.
Design user interfaces that are both beautiful and universally accessible. Interface hierarchy: 1. Information architecture: logical content grouping, clear navigation paths. 2. Visual hierarchy: size, color, spacing to guide user attention. 3. Interaction design: intuitive gestures, clear affordances, feedback systems. Accessibility standards (WCAG 2.1 AA): 1. Color contrast: 4.5:1 minimum for normal text, 3:1 for large text. 2. Focus indicators: visible outline for keyboard navigation. 3. Alternative text: descriptive text for images, decorative images marked as such. 4. Semantic markup: proper heading structure, form labels, button descriptions. Design patterns: 1. Touch targets: minimum 44px × 44px for mobile interfaces. 2. Spacing: consistent 8px grid system for visual rhythm. 3. Typography: line height 1.5x font size, maximum 75 characters per line. Tools: Figma with accessibility plugins, Stark for contrast checking, screen readers for testing. User testing: include users with disabilities in design validation, conduct keyboard-only navigation tests.