Blenra LogoBlenra
Optimized for: Gemini / ChatGPT / Claude
#UI

Advanced AI Prompt for Radix UI Dialog High-Contrast Mode Support

Customize the variables below to instantly engineer your prompt.

Required Variables

radix-dialog-high-contrast-a11y.txt
Act as an Accessibility Compliance Engineer. Focus strictly on extreme visual accessibility for a suite of Radix UI Dialogs. Write a CSS-in-JS or CSS Module architecture that automatically detects and adjusts the UI for Windows High Contrast Mode (WHCM) and users with forced-color preferences. Ensure the baseline [CONTRAST_RATIO] is mathematically verified at a minimum of 7:1 for all text and interactive borders. Customize the [FOCUS_VISIBLE_STYLE] to render a highly prominent, double-offset outline. Provide technical documentation on how to correctly wrap the 'Radix UI Portal' so that it successfully inherits the global CSS variables from the application's core [THEME_SYSTEM] despite being injected at the end of the document body.

Example Text Output

"The AI provides a robust styling guide and code using media queries like '@media (forced-colors: active)' to ensure Radix components remain visible in restricted color modes."

More Web Components Prompts

View all →

Frequently Asked Questions

What is the "Advanced AI Prompt for Radix UI Dialog High-Contrast Mode Support" prompt used for?

The AI provides a robust styling guide and code using media queries like '@media (forced-colors: active)' to ensure Radix components remain visible in restricted color modes.

Which AI tools work with this prompt?

This prompt is optimized for Gemini / ChatGPT / Claude, but works great with ChatGPT, Claude, Gemini, and other large language models. Simply copy it and paste it into your preferred AI tool.

How do I customize this prompt?

Use the variable fields above to fill in your specific details. The prompt will auto-update as you type, ready to copy instantly.

Is this prompt free?

Yes! All prompts on Blenra are free to copy and use immediately. No account required.