Replies: 2 comments
-
Hello, Thank you for raising this question! Although the The behaviour in the demo is a bug and I will address it. The Communicating unsaved changes pattern already features the correct behaviour and correct code example. |
Beta Was this translation helpful? Give feedback.
0 replies
-
The website behaviour has been fixed, closing the discussion now. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Heyyo,
While looking at the demos, I noticed that you can provide a
closeAriaLabel
prop to the modal component, even if there isn't aonDismiss
callback provided. This scenario, as shown in this demo, produces a modal with an accessible button that isnt actually very accessible cause you cant dismiss it.Perhaps the typing could be tightened up a little at this point. 😃
Beta Was this translation helpful? Give feedback.
All reactions