status role has been added for the screen reader to announce the status message displayed (#1697)
This commit is contained in:
parent
ad1391f623
commit
a7e5ff2a9f
|
@ -15,6 +15,7 @@ export const CopyPopup = ({
|
|||
|
||||
return showCopyPopup ? (
|
||||
<Stack
|
||||
role="status"
|
||||
style={{
|
||||
position: "fixed",
|
||||
width: 345,
|
||||
|
|
|
@ -4,6 +4,7 @@ exports[`Copy Popup snapshot test should render when showCopyPopup is false 1`]
|
|||
|
||||
exports[`Copy Popup snapshot test should render when showCopyPopup is true 1`] = `
|
||||
<Stack
|
||||
role="status"
|
||||
style={
|
||||
Object {
|
||||
"background": "#FFFFFF",
|
||||
|
|
Loading…
Reference in New Issue