react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

[Typo]: createPortal documentation is pointing to an old page of W3C dialog modal docs.

Open PedroBarbosaSw opened this issue 8 months ago • 2 comments

Summary

createPortal documentation redirect us to the wrong W3C guideline page (old page).

Page

https://react.dev/reference/react-dom/createPortal#usage

Details

The createPortal documentation (Pitfall section) has a link that points to the W3C guidelines page on how to make modals accessible. Although, this link is an old one so this is not currently redirecting to the expected one. The new link is https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/.

PedroBarbosaSw avatar Jun 14 '24 13:06 PedroBarbosaSw