diff --git a/src/components/views/rooms/BasicMessageComposer.js b/src/components/views/rooms/BasicMessageComposer.js index a5283cc15d..e498ff88ad 100644 --- a/src/components/views/rooms/BasicMessageComposer.js +++ b/src/components/views/rooms/BasicMessageComposer.js @@ -225,7 +225,7 @@ export default class BasicMessageEditor extends React.Component { tabIndex="1" onKeyDown={this._onKeyDown} ref={ref => this._editorRef = ref} - aria-label={_t("Edit message")} + aria-label={this.props.label} > ); } diff --git a/src/components/views/rooms/EditMessageComposer.js b/src/components/views/rooms/EditMessageComposer.js index 87e4a4a665..7330405b81 100644 --- a/src/components/views/rooms/EditMessageComposer.js +++ b/src/components/views/rooms/EditMessageComposer.js @@ -255,6 +255,7 @@ export default class EditMessageComposer extends React.Component { model={this.model} room={this._getRoom()} initialCaret={this.props.editState.getCaret()} + label={_t("Edit message")} />
{_t("Cancel")}