acl-services / acl-services/paprika

Support changing role for Modal

Offen
#355 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Feature Request Low Priority ↓
Vorherrschende Sprache
JavaScript
Sterne
54
Forks
10
Ø Merge
1 T. 12 Std.
Gemergte PRs (30 T.)
6

Beschreibung

# Feature request
## Prerequisites
We have Modal component. Currently, Modal component renders `

`.

## Is your feature request related to a problem?
`role="dialog"` is not best solution for some cases.

## Describe the solution you'd like
There is `alertdialog` role – a special-case dialog role designed specifically for dialogs that divert users' attention to a brief, important message.

## Additional context
https://github.com/acl-services/paprika/pull/320#discussion_r357880537

https://www.w3.org/TR/wai-aria-practices-1.1/examples/dialog-modal/alertdialog.html

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.