Prompt and Circumstance: Evaluating Accessibility in LLM-Generated HTML Form Components

Yumeng Ma, Jacob O. Wobbrock, Joe Devon, Aaron Gustafson, Michael Fairchild, Jennifer Mankoff and Venkatesh Potluri

Abstract

Large language models (LLMs) are used to generate user interface (UI) code, yet the accessibility of this code is difficult to evaluate in a controlled way. Existing evaluations typically examine full-generated webpages or loosely specified tasks, which makes it difficult to determine where accessibility outcomes come from. We introduce PACE for “Prompt Accessibility Controlled Evaluation,” a benchmarking testbed for controlled evaluation of accessibility in LLM-generated HTML form components. Using PACE, we evaluated the accessibility of 58 form components generated by five developer-centric LLMs with variations across three system prompts with increasing accessibility guidance, and three request variants containing increasing detail about each form components. We collected 10 trials per configuration for a total of n = 26, 100 outputs. Our findings show that accessibility in LLM-generated code moved with prompt construction and with the circumstance around it (e.g., model, form component, and measure used to assess the output). This pattern calls for evaluation designs that can better separate sources of variation in the accessibility of LLM-generated code.

Venue
ASSETS 2026
Volume
Proceedings of the 28th International ACM SIGACCESS Conference on Computers and Accessibility
DOI
10.1145/3797867.3828975
PDF
https://dl.acm.org/doi/pdf/10.1145/3797867.3828975
Anthology ID
2026.assets.5

Cite

@inproceedings{ma-etal-2026-prompt,
    title = {{Prompt and Circumstance: Evaluating Accessibility in LLM-Generated HTML Form Components}},
    author = {Yumeng Ma and Jacob O. Wobbrock and Joe Devon and Aaron Gustafson and Michael Fairchild and Jennifer Mankoff and Venkatesh Potluri},
    booktitle = {Proceedings of the 28th International ACM SIGACCESS Conference on Computers and Accessibility},
    isbn = {9798400725210},
    year = {2026},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3797867.3828975},
    url = {https://doi.org/10.1145/3797867.3828975},
    abstract = {Large language models (LLMs) are used to generate user interface (UI) code, yet the accessibility of this code is difficult to evaluate in a controlled way. Existing evaluations typically examine full-generated webpages or loosely specified tasks, which makes it difficult to determine where accessibility outcomes come from. We introduce PACE for “Prompt Accessibility Controlled Evaluation,” a benchmarking testbed for controlled evaluation of accessibility in LLM-generated HTML form components. Using PACE, we evaluated the accessibility of 58 form components generated by five developer-centric LLMs with variations across three system prompts with increasing accessibility guidance, and three request variants containing increasing detail about each form components. We collected 10 trials per configuration for a total of n = 26, 100 outputs. Our findings show that accessibility in LLM-generated code moved with prompt construction and with the circumstance around it (e.g., model, form component, and measure used to assess the output). This pattern calls for evaluation designs that can better separate sources of variation in the accessibility of LLM-generated code.}
}