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
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, JavaScript, and CSS.

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
Provide Liquid, JSON-T schema, JavaScript, and CSS.

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
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, and CSS.

Accessible Pagination Controls

Generate pagination for collections/blogs that:

  • Uses ARIA labels and roles
  • Has clear focus and active states
  • Is fully keyboard navigable
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, JavaScript, and CSS.

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
Provide Liquid, JSON-T schema, JavaScript, and CSS.

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
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, and JavaScript.

Accessible Countdown Timer

Build a countdown timer section that:

  • Announces time changes to screen readers
  • Uses ARIA labels for timer elements
  • Is keyboard accessible
Provide Liquid, JSON-T schema, JavaScript, and CSS.

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
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Accessible Breadcrumb Navigation

Create a breadcrumb section that:

  • Uses semantic markup and ARIA labels
  • Is easily navigable by keyboard and screen readers
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, and CSS.

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
Provide Liquid, JSON-T schema, JavaScript, and CSS.

Accessible Multi-Language Support

Create a language selector that:

  • Uses ARIA roles and labels
  • Announces language changes to screen readers
  • Is keyboard accessible
Provide Liquid, JSON-T schema, and CSS.

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
Prompt copied to clipboard!