Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

accessibility

/accessibility

Przegląda kod React Native pod kątem wsparcia czytników ekranu, etykiet, ról, celów dotyku, kolejności fokusu, kontrastu i dynamicznego rozmiaru tekstu.

Licencja
MIT
Ostatnia zmiana repozytorium
29.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 29.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Przegląda kod React Native pod kątem wsparcia czytników ekranu, etykiet, ról, celów dotyku, kolejności fokusu, kontrastu i dynamicznego rozmiaru tekstu.

Oryginalny opis (EN)

Review React Native code for screen-reader support, labels and roles, touch targets, focus order, colour contrast, and dynamic type. Use when building UI, reviewing components, or auditing a screen for accessibility.

Jak działa

  1. Applicability
  2. When to Use
  3. Severity
  4. Guidance
  5. Pitfalls
Sekcje z nagłówków SKILL.md, w oryginale · 70 linii, 356 słów
Podgląd SKILL.md
---
name: accessibility
description: Review React Native code for screen-reader support, labels and roles, touch targets, focus order, colour contrast, and dynamic type. Use when building UI, reviewing components, or auditing a screen for accessibility.
version: 1.1.0
platforms: [ios, android]
react-native-version: 0.76+
tags: [react-native, accessibility, a11y, screen-reader]
---

# Accessibility Skill

## Applicability

- **Platforms:** iOS and Android
- **React Native:** 0.76+ (New Architecture interop assumed unless a checklist item says otherwise)

## When to Use

- Building or reviewing any interactive UI
- Auditing a screen for screen-reader and assistive-technology support
- Verifying an app meets accessibility expectations before release

## Severity

- **Merge-blocking:** an interactive control this diff adds has no accessible name.
- **Should-fix:** target size, contrast, dynamic type, and focus order.

## Guidance

### Labels & Roles

- [ ] An interactive control has an accessible name: its visible text, or an `accessibilityLabel` when the visible content is only an icon
- [ ] Do not repeat the visible text in `accessibilityLabel`
- [ ] Every interactive element has an `accessibilityRole` (button, link, header, etc.)
- [ ] State changes use `accessibilityState` (disabled, selected, expanded)
- [ ] Images have an `accessibilityLabel`, or are marked `accessibilityElementsHidden` if decorative
- [ ] Dynamic content changes are announced (`AccessibilityInfo.announceForAccessibility`)

**Incorrect:**
```tsx
<TouchableOpacity onPress={onDelete}>
  <Icon name="trash" />
</TouchableOpacity>
```

**Correct:**
```tsx
<TouchableOpacity
  onPress={onDelete}
  accessibilityLabel="Delete item"
  accessibilityRole="button"
  hitSlop={{ top: 10, bottom: 10, left: 10, right: 10 }}
>
  <Icon name="trash" />
</TouchableOpacity>
```

### Touch & Focus

- [ ] Touch targets are at least 44×44pt on iOS and 48×48dp on Android
- [ ] Focus order follows reading order. In an RTL layout that order starts at the trailing edge (see [i18n-and-localization](../i18n-and-localization/SKILL.md))

### Visual

- [ ] Colour is not the only indicator of state (add icon, text, or pattern)
- [ ] Text scales with the system font-size preference

### Verification

- [ ] Tested with VoiceOver (iOS) and TalkBack (Android)

## Pitfalls

- Labels that describe the element type ("button") instead of its purpose ("Delete item") give screen-reader users no useful information.
- Forgetting `accessibilityState={{ disabled: true }}` on a disabled control means the screen reader still announces it as an active button.
- Relying on colour alone (e.g. red for error) excludes colour-blind users; pair it with an icon or text.
- Fixed font sizes break layouts when users increase system text size — test at large dynamic type settings.

Wersje

RepozytoriumWynikLicencja
Ta strona · neha/rn-developer-skills100MIT
ericrisco/rsc-harness100MIT
Sanit-mann/The-Insectoids100MIT
evanca/flutter-ai-rules100MIT
yonatangross/orchestkit100MIT
yonatangross/orchestkit100MIT
xobotyi/cc-foundry100MIT
krzysztofsurdy/code-virtuoso100MIT
andreibesleaga/gabbe100CC-BY-4.0

Migawka bazy z 13.11.2026 · wersja paczki 828ecc6a015e (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100wp-accessibility-review
    Przegląda motywy, bloki i wtyczki WordPressa pod kątem klawiatury, fokusu, ARIA, etykiet formularzy i czytników ekranu.
  • 90mobile-accessibility
    Audytuje i naprawia dostępność aplikacji mobilnych we Flutter, Androidzie, iOS, React Native i KMP, z etykietami dla czytników ekranu.
  • 100accessibility-a11y
    Zawiera wzorce semantycznego HTML, nawigacji klawiaturą, stanów fokusu, etykiet ARIA i wymogów kontrastu WCAG.
  • 100flutter-accessibility
    Wdraża lub audytuje dostępność ekranu we Flutter: widżet Semantics, etykiety czytników ekranu, kontrast, rozmiar celów dotykowych i skalowanie czcionek.
  • 100game-ui-accessibility-qa
    Sprawdza interfejs gry pod kątem kontrastu, rozmiaru przycisków, stref bezpiecznych, przycięcia tekstu i fokusu.
  • 100accessible-tables
    Sprawdza semantyczne znaczniki tabel pod kątem czytników ekranu, kolejności fokusu i nazw dostępnych w wyrenderowanym HTML i komponentach interaktywnych.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.