callstack / callstack/react-native-paper

`overlayAccessibilityLabel` prop for Dialog component

Open
#3,911 0 comments 0 reactions 0 assignees View on GitHub
Accessibility feature request Modal
Dominant language
TypeScript
Stars
14.5k
Forks
2.2k
Avg merge
5d 23h
Merged PRs (30d)
12

Description

**Is your feature request related to a problem? Please describe.**
The accessibility label for modals is editable via `overlayAccessibilityLabel`, which is necessary given the accessibility difficulties surrounding modals; but there is no corresponding prop on dialogs, leaving us unable to edit the default "close modal" text announced to screen readers.

**Describe the solution you'd like**
I would like to see an `overlayAccessibilityLabel` prop on `Dialog` components.

**Describe alternatives you've considered**
If some of the accessibility props of RN were exposed through `Dialog` (like `accessibilityLabel`, etc.), that might be an alternative.

**Additional context**
n/a

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.