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.
- Autor
- neha ↗
- Repozytorium
- rn-developer-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 29.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 29.09.2026, bez odwołań do wycofanych modeli i API.
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
- Applicability
- When to Use
- Severity
- Guidance
- Pitfalls
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
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · neha/rn-developer-skills | 100 | MIT |
| ericrisco/rsc-harness | 100 | MIT |
| Sanit-mann/The-Insectoids | 100 | MIT |
| evanca/flutter-ai-rules | 100 | MIT |
| yonatangross/orchestkit | 100 | MIT |
| yonatangross/orchestkit | 100 | MIT |
| xobotyi/cc-foundry | 100 | MIT |
| krzysztofsurdy/code-virtuoso | 100 | MIT |
| andreibesleaga/gabbe | 100 | CC-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.