mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-03-06 09:58:25 +00:00
[accessibility-3560183]:[Screen reader - Cosmos DB Query Copilot - Query Faster with Copilot>Enable Query Advisor]: Screen reader does not announce the dialog information on invoking 'Clear editor' button.
This commit is contained in:
parent
14c9874e5e
commit
7e91bf5c0a
@ -22,12 +22,17 @@ export const DeletePopup = ({
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Modal isOpen={showDeletePopup} styles={{ main: { minHeight: "122px", minWidth: "880px" } }}>
|
<Modal
|
||||||
|
isOpen={showDeletePopup}
|
||||||
|
styles={{ main: { minHeight: "122px", minWidth: "880px" } }}
|
||||||
|
titleAriaId="deleteDialogTitle"
|
||||||
|
subtitleAriaId="deleteDialogSubTitle"
|
||||||
|
>
|
||||||
<Stack style={{ padding: "16px 24px", height: "auto" }}>
|
<Stack style={{ padding: "16px 24px", height: "auto" }}>
|
||||||
<Text style={{ height: 24, fontSize: "18px" }}>
|
<Text id="deleteDialogTitle" style={{ height: 24, fontSize: "18px" }}>
|
||||||
<b>Delete code?</b>
|
<b>Delete code?</b>
|
||||||
</Text>
|
</Text>
|
||||||
<Text style={{ marginTop: 10, marginBottom: 20 }}>
|
<Text id="deleteDialogSubTitle" style={{ marginTop: 10, marginBottom: 20 }}>
|
||||||
This will clear the query from the query builder pane along with all comments and also reset the prompt pane
|
This will clear the query from the query builder pane along with all comments and also reset the prompt pane
|
||||||
</Text>
|
</Text>
|
||||||
<Stack horizontal tokens={{ childrenGap: 10 }} horizontalAlign="start">
|
<Stack horizontal tokens={{ childrenGap: 10 }} horizontalAlign="start">
|
||||||
|
@ -11,6 +11,8 @@ exports[`Delete Popup snapshot test should not render when showDeletePopup is fa
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
subtitleAriaId="deleteDialogSubTitle"
|
||||||
|
titleAriaId="deleteDialogTitle"
|
||||||
>
|
>
|
||||||
<Stack
|
<Stack
|
||||||
style={
|
style={
|
||||||
@ -21,6 +23,7 @@ exports[`Delete Popup snapshot test should not render when showDeletePopup is fa
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<Text
|
<Text
|
||||||
|
id="deleteDialogTitle"
|
||||||
style={
|
style={
|
||||||
{
|
{
|
||||||
"fontSize": "18px",
|
"fontSize": "18px",
|
||||||
@ -33,6 +36,7 @@ exports[`Delete Popup snapshot test should not render when showDeletePopup is fa
|
|||||||
</b>
|
</b>
|
||||||
</Text>
|
</Text>
|
||||||
<Text
|
<Text
|
||||||
|
id="deleteDialogSubTitle"
|
||||||
style={
|
style={
|
||||||
{
|
{
|
||||||
"marginBottom": 20,
|
"marginBottom": 20,
|
||||||
@ -89,6 +93,8 @@ exports[`Delete Popup snapshot test should render when showDeletePopup is true 1
|
|||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
subtitleAriaId="deleteDialogSubTitle"
|
||||||
|
titleAriaId="deleteDialogTitle"
|
||||||
>
|
>
|
||||||
<Stack
|
<Stack
|
||||||
style={
|
style={
|
||||||
@ -99,6 +105,7 @@ exports[`Delete Popup snapshot test should render when showDeletePopup is true 1
|
|||||||
}
|
}
|
||||||
>
|
>
|
||||||
<Text
|
<Text
|
||||||
|
id="deleteDialogTitle"
|
||||||
style={
|
style={
|
||||||
{
|
{
|
||||||
"fontSize": "18px",
|
"fontSize": "18px",
|
||||||
@ -111,6 +118,7 @@ exports[`Delete Popup snapshot test should render when showDeletePopup is true 1
|
|||||||
</b>
|
</b>
|
||||||
</Text>
|
</Text>
|
||||||
<Text
|
<Text
|
||||||
|
id="deleteDialogSubTitle"
|
||||||
style={
|
style={
|
||||||
{
|
{
|
||||||
"marginBottom": 20,
|
"marginBottom": 20,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user