Screen reader name for the 'enable copilot' and 'disable copilot' has been changed

This commit is contained in:
Sampath 2023-11-20 21:13:12 +05:30
parent 6af1925d15
commit 49576f1e80

View File

@ -444,7 +444,7 @@ export default class QueryTabComponent extends React.Component<IQueryTabComponen
this._toggleCopilot(!this.state.copilotActive);
},
commandButtonLabel: this.state.copilotActive ? "Disable Copilot" : "Enable Copilot",
ariaLabel: "Copilot",
ariaLabel: this.state.copilotActive ? "Disable Copilot" : "Enable Copilot",
hasPopup: false,
};
buttons.push(toggleCopilotButton);