File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
app/src/ui/local-changes-overwritten Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -62,14 +62,18 @@ export class LocalChangesOverwrittenDialog extends React.Component<
62
62
onDismissed = { this . props . onDismissed }
63
63
onSubmit = { this . onSubmit }
64
64
type = "error"
65
+ role = "alertdialog"
66
+ ariaDescribedBy = "local-changes-error-description"
65
67
>
66
68
< DialogContent >
67
- < p >
68
- Unable to { this . getRetryActionName ( ) } when changes are present on
69
- your branch.{ overwrittenText }
70
- </ p >
71
- { this . renderFiles ( ) }
72
- { this . renderStashText ( ) }
69
+ < div id = "local-changes-error-description" >
70
+ < p >
71
+ Unable to { this . getRetryActionName ( ) } when changes are present on
72
+ your branch.{ overwrittenText }
73
+ </ p >
74
+ { this . renderFiles ( ) }
75
+ { this . renderStashText ( ) }
76
+ </ div >
73
77
</ DialogContent >
74
78
{ this . renderFooter ( ) }
75
79
</ Dialog >
You can’t perform that action at this time.
0 commit comments