qa-detect-ux-required-state

Detect ambiguous required-field and error-state patterns in web forms.

Updated May 22, 2026
One-click install
npx skills add https://github.com/Luqman-Ud-Din/blackbox-qa-agent --skill qa-detect-ux-required-state
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qa-detect-ux-required-state
Source: https://github.com/Luqman-Ud-Din/blackbox-qa-agent/tree/main/skills/qa-detect-ux-required-state
Command: npx skills add https://github.com/Luqman-Ud-Din/blackbox-qa-agent --skill qa-detect-ux-required-state

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill finds confusing required-field and error-state patterns that make forms look broken, hide mandatory fields from assistive technology, or rely on color alone to communicate meaning.

Core Features & Use Cases

  • Required-state clarity checks: Detects fields that look like validation errors on load, required fields marked only by color, and labels that use asterisks without programmatic required semantics.
  • Accessibility and messaging checks: Flags error styling without a visible message and red error borders that are missing aria-invalid cues.
  • Use case: Run it on a form-heavy app to catch ambiguous validation UI before users submit, especially in Angular Material, Bootstrap, or custom form systems.

Quick Start

Use this skill to inspect the current page for ambiguous required-field and error-state patterns, then report each affected control with its accessibility and visual mismatch.

Frequently Asked Questions about qa-detect-ux-required-state

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect ambiguous required-field states in web forms?

Required-field error states fail WCAG standards when they rely on color alone or lack aria-invalid attributes. This Skill flags red error borders missing programmatic cues and error styling without visible text, ensuring validation signaling is accessible to all users.

Can I audit form validation styling in Angular Material and Bootstrap?

Yes, you can audit form validation styling in Angular Material, Bootstrap, or custom frontend systems. The inspection targets DOM elements to catch ambiguous validation UI and required-field mismatches before users submit data in these frameworks.

How do I check if asterisks in form labels have programmatic required semantics?

Checking asterisk programmatic semantics involves inspecting the DOM for matching aria-required attributes on the input. This audit identifies labels using visual asterisks without underlying required semantics, ensuring mandatory fields are properly signaled to assistive technology.

Why does my form error state look broken on load?

Form accessibility audits are limited by requiring visible DOM inspection, meaning they cannot evaluate dynamically injected content or shadow DOM elements not rendered in the main document tree. It focuses strictly on borders, labels, and ARIA attributes present during page load.