acl-services / acl-services/paprika

Support changing role for Modal

未关闭
#355 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。