Use <dialog>
HTML element for semantic dialogs/modals and native controls
#22275
Labels
A11y
O-Frequent
Affects or can be seen by most users regularly or impacts most users' first experience
S-Tolerable
Low/no impact on users
T-Task
Tasks for the team like planning
Your use case
What would you like to do?
Use
<dialog>
HTML element for dialogs/modalsWhy would you like to do it?
To use the most semantic HTML element and have expected dialog/modal controls for the platform.
Demo: https://googlechrome.github.io/dialog-polyfill/
Have you considered any alternatives?
No response
Additional context
Related:
The text was updated successfully, but these errors were encountered: