patternfly-react icon indicating copy to clipboard operation
patternfly-react copied to clipboard

Modal - create variation using `dialog` element

Open srambach opened this issue 1 year ago • 2 comments

Is this a new component or an extension of an existing one? The Modal creates a ModalBox, which will have a variation in Core built using the <dialog> element.

Describe the feature <dialog> provides functionality built into browsers that handles placing the modal on the top layer, handling keyboard focus, and providing a ::backdrop pseudoelement. Users should be able to opt in to this variant, which then probably does not need the separate Backdrop component, may not need to be placed in the DOM where it is now, and focus will be handled by the browser. A11y should be reviewed given that the dialog implicitly provides appropriate aria labeling.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog

This issue is dependent on completion in core in https://github.com/patternfly/patternfly/issues/7296

srambach avatar Jan 14 '25 20:01 srambach

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Mar 25 '25 11:03 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Jun 08 '25 11:06 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

github-actions[bot] avatar Sep 25 '25 11:09 github-actions[bot]