acl-services / acl-services/paprika
Support changing role for Modal
未关闭
Feature Request
Low Priority ↓
- 主要语言
- JavaScript
- 星标
- 54
- 派生
- 10
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 6
描述
# 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
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。