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 1 year ago • 2 comments
trafficstars

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

You looks like made the changes first, go ahead.

Rekl0w avatar Jun 16 '24 12:06 Rekl0w

thanks @Rekl0w

baskargopinath avatar Jun 16 '24 12:06 baskargopinath