Menu

49 Pressables, 36 accessibility roles, and the two controls in our app a screen reader does not mention at all
📰

49 Pressables, 36 accessibility roles, and the two controls in our app a screen reader does not mention at all

DEV Community: reactnative·Daniel Pertu·18 days ago
#v6Fu80z6
#devtoreactnative#devto#dev#screen#verdict
Reading 0:00
15s threshold

Munchable is a gut-health scanner: point it at a barcode and it tells you whether that product fits the conditions you manage, with the reasons under the verdict. The conditions are described at munchable.app/conditions and the same reasoning is published as pages at munchable.app/answers . The app itself is React Native through Expo.

I have audited the website's accessibility twice and never audited the app, so I ran the greps. Here is the whole picture, in numbers, including the bits that are wrong.

The counts

Across app/ and src/ :

< Pressable 49 accessibilityRole 36 accessibilityLabel 44 accessibilityState 18 accessibilityHint 3 hitSlop 15 accessibilityElementsHidden 6 importantForAccessibility 6 accessibilityLiveRegion 0 announceForAccessibility 0

Enter fullscreen mode

Exit fullscreen mode

Thirty-one of the 36 roles are button , three are image , one is computed.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.