← All terms

Accessibility-Oriented Prompting

Also known as: Accessible Prompting, A11y Prompting

A prompt engineering strategy for large language models (LLMs) in which explicit accessibility requirements are included in the prompt when requesting code generation or UI design. Rather than relying on the LLM to infer accessibility needs from generic instructions, accessibility-oriented prompts specify concrete criteria such as WCAG success criteria, minimum contrast ratios, touch target sizes, semantic HTML requirements, and keyboard navigation support. Research has shown that this approach significantly improves the accessibility of LLM-generated code compared to accessibility-agnostic prompts, though persistent gaps remain, particularly in semantic structure and interactive element handling.

Category: AI accessibility · web development

Related: Automated Accessibility Testing · WCAG · LLM Accessibility

Sources