canopy-forms-select

Implement Canopy lg-select-field dropdowns with accessible labels and consistent option rendering.

23|46|Updated Sep 7, 2020
One-click install
npx skills add https://github.com/Legal-and-General/canopy --skill canopy-forms-select
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: canopy-forms-select
Source: https://github.com/Legal-and-General/canopy/tree/main/skills/best-practice/forms-select
Command: npx skills add https://github.com/Legal-and-General/canopy --skill canopy-forms-select

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Guidance and safe patterns for implementing the Canopy Select component (lg-select-field) in Angular projects to avoid inconsistent UX and accessibility issues.

Core Features & Use Cases

  • Usage guidance for rendering options, hints, and labels with lg-select-field.
  • Accessibility and consistency recommendations: keyboard navigation, proper labeling, and predictable behavior.
  • Use Case: when adding dropdown form fields or single-selection lists in an Angular app, apply these practices to ensure a consistent Canopy experience.

Quick Start

Refer to these best practices when adding Canopy lg-select-field components in your Angular forms to ensure accessibility and consistency.

Frequently Asked Questions about canopy-forms-select

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

FAQPage Schema
How do I implement accessible dropdown components in Angular forms?

Accessible Angular dropdowns require proper labeling, keyboard navigation, and predictable option rendering. Applying consistent usage patterns with the Canopy lg-select-field component ensures your single-selection lists meet accessibility requirements and maintain predictable behavior.

What is the best way to structure hints and labels for Angular select fields?

Structuring hints and labels for Angular select fields involves aligning with Canopy styling guidelines to avoid inconsistent UX. You should use established safe patterns for rendering options alongside labels to ensure a consistent and accessible form experience.

How do I add a single-selection list to an Angular application without breaking keyboard navigation?

To add a single-selection list without breaking keyboard navigation, you must follow accessibility recommendations that enforce proper labeling and predictable behavior. Using the Canopy lg-select-field component enforces these usage patterns automatically in your Angular forms.

Does the Canopy design system support accessible form components for Angular projects?

Yes, the Canopy design system supports accessible form components through the lg-select-field element. It provides consolidated best practices for Angular projects, covering option rendering, hints, and labels to align with accessibility and styling guidelines.

Why are my Angular dropdown forms showing inconsistent user experiences?

Inconsistent UX in Angular dropdown forms typically stems from misaligned option rendering and improper labeling. Applying safe implementation patterns with the Canopy lg-select-field component resolves these issues by enforcing consistent naming conventions and accessibility requirements.

When should I not use a select dropdown in an Angular form?

You should not use a select dropdown when your form scenario falls outside typical single-selection list use cases. The Canopy lg-select-field guidance focuses specifically on accessible dropdowns and predictable option rendering for standard form scenarios.