Aria label has been updated to the button(Enable copilot/Disable copilot) (#1706)

This commit is contained in:
MokireddySampath
2024-01-04 19:38:05 +05:30
committed by GitHub
parent 9355a3ae04
commit 532a453f5a

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);