agentsclimarketplace

Accessibility patterns

Skill UnleashedServices/vault-plugin/skills/accessibility-patterns

Accessibility patterns for Vault — Semantics, tap targets, contrast, keyboard nav, screen readers, platform-adaptive a11yFrom its SKILL.md

Install
npx -y skills add UnleashedServices/vault-plugin --skill accessibility-patterns

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.1 KB, as published. Nobody here has run it

Accessibility Patterns

Core Principles

  • Accessibility is mandatory — every UI element must be accessible (per CLAUDE.md)
  • Semantics widgets for screen readers (TalkBack, VoiceOver)
  • Minimum 48x48 logical pixel tap targets
  • WCAG AA contrast ratios (4.5:1 normal text, 3:1 large text)
  • Keyboard navigation on desktop (logical Tab order)
  • Never use color as the sole indicator of state

Semantics Pattern

// ✅ Interactive elements need labels
Semantics(
  label: 'Copy password for GitHub',
  hint: 'Copies to clipboard, auto-clears after 30 seconds',
  button: true,
  child: IconButton(
    icon: const Icon(Icons.copy),
    onPressed: () => copyPassword(),
  ),
)

// ✅ Exclude sensitive content from screen readers
Semantics(
  excludeSemantics: true, // Don't read password aloud
  child: Text(obscuredPassword),
)

// ✅ Announce dynamic changes
SemanticsService.announce('Password copied to clipboard', TextDirection.ltr);

Tap Target Size

// ✅ Minimum 48x48
SizedBox(
  width: 48,
  height: 48,
  child: IconButton(
    icon: const Icon(Icons.more_vert),
    onPressed: () {},
  ),
)

Color + Icon Pattern

// ✅ Color + icon — never color alone
Row(children: [
  Icon(isStrong ? Icons.check_circle : Icons.warning,
    color: isStrong ? Colors.green : Colors.orange),
  Text(isStrong ? 'Strong password' : 'Weak password'),
])

Desktop Keyboard Navigation

// ✅ Focus traversal
FocusTraversalGroup(
  policy: OrderedTraversalPolicy(),
  child: Column(children: [
    FocusTraversalOrder(order: NumericFocusOrder(1), child: searchField),
    FocusTraversalOrder(order: NumericFocusOrder(2), child: passwordList),
  ]),
)

// ✅ Keyboard shortcuts
Shortcuts(
  shortcuts: {
    LogicalKeySet(LogicalKeyboardKey.control, LogicalKeyboardKey.keyN):
        const AddPasswordIntent(),
  },
  child: Actions(
    actions: {AddPasswordIntent: AddPasswordAction()},
    child: child,
  ),
)

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.