acl-services / acl-services/paprika
Support changing role for Modal
Open
Feature Request
Low Priority ↓
- Dominant language
- JavaScript
- Stars
- 54
- Forks
- 10
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 6
Description
# 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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.