angular-sanctuary/angular-agent-skills

angular-aria

Headless accessible UI primitives implementing WAI-ARIA patterns for Angular

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/angular-sanctuary/angular-agent-skills --skill angular-aria

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

The skill is based on Angular Aria (from Angular repository), generated at 2026-02-02.

Angular Aria is a collection of headless, accessible directives that implement common WAI-ARIA patterns. The directives handle keyboard interactions, ARIA attributes, focus management, and screen reader support—you provide the HTML structure, CSS styling, and business logic.

Install via npm install @angular/aria.

When to Apply

Use this skill when:

  • Building custom accessible UI components that need WAI-ARIA compliance
  • Implementing keyboard navigation patterns (arrow keys, Enter, Escape, Tab)
  • Adding focus management to interactive widgets
  • Creating headless/unstyled UI primitives with custom styling
  • Building autocomplete, combobox, listbox, select, or multiselect inputs
  • Implementing menus, menubars, or toolbars with proper ARIA roles
  • Creating accordion, tabs, tree, or grid patterns
  • Needing screen reader support for custom components

Do NOT use this skill when:

  • Using Angular Material components (they have built-in accessibility)
  • Building simple forms with native HTML elements
  • The WAI-ARIA pattern you need is not covered by Angular Aria

Core

TopicDescriptionReference
OverviewIntroduction to Angular Aria, when to use, what's includedcore-overview

Search and Selection

TopicDescriptionReference
AutocompleteText input with filtered suggestions as users typeselection-autocomplete
ComboboxPrimitive directive coordinating text input with popupselection-combobox
ListboxSingle or multi-select option lists with keyboard navigationselection-listbox
SelectSingle-selection dropdown patternselection-select
MultiselectMultiple-selection dropdown with compact displayselection-multiselect

Navigation and Actions

TopicDescriptionReference
MenuDropdown menus with nested submenus and keyboard shortcutsnavigation-menu
MenubarHorizontal navigation bar for persistent application menusnavigation-menubar
ToolbarGrouped sets of controls with logical keyboard navigationnavigation-toolbar

Content Organization

TopicDescriptionReference
AccordionCollapsible content panels with expand/collapsecontent-accordion
TabsTabbed interfaces with automatic or manual activationcontent-tabs
TreeHierarchical lists with expand/collapsecontent-tree
GridTwo-dimensional data with cell-by-cell keyboard navigationcontent-grid
来自同一仓库

更多 Skills

全部 Skills