Category 9: Accessibility & Compliance
22 Expert-crafted Claude.AI prompts for creating accessible and compliant Shopify elements
WCAG-Compliant Navigation Menu
Create a navigation menu section that:
- Uses ARIA roles and labels for all interactive elements
- Supports keyboard navigation and focus indicators
- Has sufficient color contrast for all text and icons
Accessible Form Section
Build a form section (e.g., contact, newsletter) that:
- Uses proper label associations for all inputs
- Supports keyboard navigation and screen reader compatibility
- Provides clear error and success messages
High-Contrast Mode Toggle
Create a toggle button for high-contrast mode that:
- Increases contrast for text, backgrounds, and buttons
- Remembers user preference with localStorage
- Is accessible and visible on all pages
Accessible Accordion/FAQ
Generate an accordion section that:
- Uses ARIA-expanded and ARIA-controls attributes
- Is fully navigable by keyboard
- Includes visually clear focus states
Screen Reader-Only Content Block
Build a content block that:
- Is hidden visually but readable by screen readers
- Lets merchants add accessibility notes or descriptions
Accessible Image Gallery
Create an image gallery section that:
- Ensures all images have descriptive alt text
- Supports keyboard navigation between images
- Uses ARIA roles for gallery and controls
Accessible Pagination Controls
Generate pagination for collections/blogs that:
- Uses ARIA labels and roles
- Has clear focus and active states
- Is fully keyboard navigable
GDPR-Compliant Cookie Banner
Build a cookie consent banner that:
- Blocks analytics and marketing scripts until accepted
- Lets users manage their preferences
- Is accessible and mobile-friendly
Accessible Modal/Popup
Create a modal or popup section that:
- Traps keyboard focus inside the modal when open
- Can be closed with ESC key or close button
- Announces itself to screen readers
Accessible Table Block
Build a table section that:
- Uses semantic table markup with <caption>, <th>, and <td>
- Supports keyboard navigation and screen reader compatibility
- Has sufficient color contrast and clear borders
Accessibility Statement Section
Generate a section for an accessibility statement that:
- Is linked from the header or footer
- Lets merchants edit the statement in the theme editor
- Is clear and easy to read
ARIA Live Region for Dynamic Updates
Create a live region for dynamic content (e.g., cart updates, notifications) that:
- Uses aria-live="polite" or aria-live="assertive"
- Announces updates to screen readers automatically
Accessible Countdown Timer
Build a countdown timer section that:
- Announces time changes to screen readers
- Uses ARIA labels for timer elements
- Is keyboard accessible
Accessible Social Media Icons
Create a social icons section that:
- Includes descriptive labels for each icon (e.g., "Follow us on Twitter")
- Supports keyboard navigation and focus states
Accessible Product Variant Selector
Build a product variant selector that:
- Uses ARIA roles for radio buttons or dropdowns
- Announces selected variant to screen readers
- Is keyboard navigable
Accessible Slider/Carousel
Generate a slider or carousel section that:
- Has pause/play controls and ARIA labels
- Is fully keyboard navigable
- Announces slide changes to screen readers
Accessible Breadcrumb Navigation
Create a breadcrumb section that:
- Uses semantic markup and ARIA labels
- Is easily navigable by keyboard and screen readers
Accessible Error/Success Messages
Build a notification section for errors and successes that:
- Uses ARIA live regions for announcements
- Is visually distinct and screen reader friendly
Accessible Skip to Content Link
Create a "Skip to Content" link at the top of every page that:
- Is visible on keyboard focus
- Jumps directly to the main content area
Accessible Policy Pages
Generate policy page sections (privacy, terms, returns) that:
- Use semantic headings and clear structure
- Are easy to read and navigate for all users
ADA-Compliant Color Palette Switcher
Build a color palette switcher that:
- Lets users choose from accessible color themes
- Ensures all combinations meet WCAG AA contrast standards
- Remembers user preference
Accessible Multi-Language Support
Create a language selector that:
- Uses ARIA roles and labels
- Announces language changes to screen readers
- Is keyboard accessible
How to Use:
- Copy any prompt into Claude.AI 3.7
- Add your branding or special requirements
- Paste the generated code into your Shopify theme editor
- Customize using the provided schema fields in Shopify's Theme Editor