Feature Request: Include `<dialog>` Element for Modals in Tag List
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 534
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 46
Description
## What is the feature request? Please describe.
Frappe Builder currently lacks to allow selecting the HTML `` element from the list of tags for a block. Users might implement modal windows and interactive dialogs through non-semantic `

## How would I like the solution to work?
1. **Native Integration**: Add `` as a selectable tag for a block in the Frappe Builder UI, allowing users to configure its owns javascript methods if they want to handle interactions.
2. **Zero-JS Templates**: Provide a prebuilt dialog template demonstrating native functionality (e.g., a modal that opens via `` and closes via ``).
## Why have I considered this request?
As an alternative, I’ve used `
## Who can contribute or support this request, and how?
- **My Contribution**: I’ve already prototyped the integration logic and template structure. I will submit a PR soon and wait for feedback.
- **Official Documentation**: MDN Web Docs ([official `` documentation](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog)) provides detailed guidance on `` usage, including keyboard navigation, focus management, and styling. This resource can inform Frappe Builder’s native dialog implementation.
## When and where would the solution be available?
There doesn't seem to found any specific constraints on the availability of this feature. Maybe it can be available in the next release of Frappe Builder. I will address these issues in the PR and collaborate with the team to refine the solution.
## Additional context
**Why `` Matters for Frappe Builder**:
- ✅ Native browser focus management improves Lighthouse accessibility scores.
- ✅ Eliminates redundant JavaScript for basic modal interactions.
- ✅ Accessible by default, supporting keyboard navigation and screen readers.
I will share progress in comments and propose template designs for review.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.