本文へ移動
cccskills
無料GitHub で公開

accessibility

Load for Blazor/MudBlazor UI changes involving forms, dialogs, focus, keyboard navigation, landmarks, ARIA, color contrast, RTL-safe styling, or WCAG 2.2 AA tests; not for backend-only changes.

インストール方法を見る

含まれるファイル(6)

  • SKILL.md4.1 KB
  • resources/blazor-mudblazor.md6.2 KB
  • resources/index.md1.0 KB
  • resources/research-sources.md3.5 KB
  • resources/verification.md3.7 KB
  • resources/web-app-checklist.md5.2 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

<!-- ABOUTME: Accessibility guardrail for project Blazor and MudBlazor UI changes. --> <!-- ABOUTME: Routes agents to local WCAG 2.2 AA rules, implementation patterns, and verification evidence. -->

Must-Read Docs

Top 5 Invariants

  1. Prefer native semantic HTML and MudBlazor's native control output; add ARIA only when semantics are missing, and keep each control's accessible name, role, state, value, and visible-label text accurate.
  2. Every routable page has a descriptive PageTitle, exactly one project-required h1, sequential headings, and logical DOM order while relying on MainLayout for skip navigation, landmarks, live regions, direction, and navigation focus.
  3. Every action is keyboard operable with its native or WAI-ARIA pattern, uses no positive tabindex, keeps focus visible and unobscured, and restores focus after dialogs or drawers through IAccessibilityFocusService.
  4. Every form control has a programmatic label and connected help/error text, while dynamic status is announced once with polite or assertive urgency only when focus does not already convey the change.
  5. Images, color, contrast, motion, pointer targets, dragging alternatives, reflow, zoom, forced colors, and RTL logical properties satisfy docs/internal/ACCESSIBILITY.md and receive risk-proportionate rendered and manual verification.

Top 5 Anti-Patterns

  1. Simulated native control: A clickable div, span, or card recreates button or link semantics and leaves keyboard behavior incomplete.
  2. ARIA guesswork: Redundant, unsupported, or stale roles and aria-* values misrepresent the rendered interface to assistive technology.
  3. Component-name trust: Assuming MudBlazor is accessible without inspecting its rendered DOM misses missing names, descriptions, states, or version-specific behavior.
  4. Focus and announcement noise: Moving focus and announcing the same update, or using assertive live regions for routine status, creates duplicate or disruptive output.
  5. Automation-as-certification: Treating architecture tests, bUnit assertions, or an automated scanner as WCAG proof leaves keyboard, zoom, visual, and assistive-technology failures undiscovered.

Minimal Examples

<PageTitle>Event details</PageTitle>
<MudText Typo="Typo.h4" HtmlTag="h1">Event details</MudText>

<MudIconButton Icon="@Icons.Material.Filled.Delete"
               aria-label="Delete event"
               OnClick="DeleteAsync" />
await Focus.SaveFocusAsync();
try
{
    var options = new DialogOptions { CloseOnEscapeKey = true };
    var dialog = await Dialogs.ShowAsync<DeleteDialog>("Delete event", options);
    await dialog.Result;
}
finally
{
    await Focus.RestoreFocusAsync("#delete-event-trigger");
}

Verification Hooks

  • dotnet test --project tests/Event.Architecture.Tests/Event.Architecture.Tests.csproj --configuration Release --verbosity quiet -- --treenode-filter "/*/*/AccessibilityConventionTests/*" --minimum-expected-tests 1 --no-progress --maximum-parallel-tests 1
  • dotnet test --project tests/Explore.Blazor.Client.Tests/Explore.Blazor.Client.Tests.csproj --configuration Release --verbosity quiet
  • dotnet build --configuration Release --verbosity quiet
  • git diff --check -- .agents/skills/accessibility
  • Manual: complete the risk-based keyboard, zoom/reflow, theme, RTL, motion, browser accessibility-tree, and screen-reader checks in verification.md.

Related Skills

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Load when a task asks to research, verify, compare, or look up framework/package behavior, release notes, standards, RFCs, CVEs, or unfamiliar APIs; use repository evidence first, then official docs, and not for codebase navigation alone.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

aspire

無料

Load for Aspire AppHost work: start/stop/wait resources, inspect dashboard/logs/traces, add integrations/resources, rebuild a service, run isolated worktrees, or diagnose Aspire orchestration; not for plain dotnet apps, container-only deployments, or cloud deployment.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

Load for authentication or authorization changes involving BFF cookies/tokens, JWT validation, claims/user ID extraction, policies, handler access checks, impersonation, or 401/403 bugs; not for UI affordance gating alone.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

Load for Blazor BFF server work involving YARP proxy routes, cookie sessions, access-token forwarding/refresh, downstream API calls, BFF handlers, or browser-to-API auth failures; not for client component rendering or API JWT validation alone.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

Load when editing Blazor `.razor.css`, scoped selectors, `::deep`, BEM class names, RTL/logical CSS properties, or styling nested MudBlazor components; not for global design tokens or non-Blazor CSS.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

Load for Blazor/MudBlazor component or page changes involving render modes, dialogs, parameters/events, HAL-gated actions, generated API clients or generated record consumption, theming, or component tests; add accessibility or CSS-isolation only when touched.

日本語の概要は準備中です。原文の説明を表示しています。

islamu-ngo/Event82026年10月8日 更新

islamu-ngo のスキルをすべて見る

このスキルの問題を報告する