Merge pull request #3020 from matrix-org/travis/sr/edit

Label message edit field as such for screen readers
This commit is contained in:
Travis Ralston 2019-05-22 16:30:45 -06:00 committed by GitHub
commit 62dc83310a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -188,6 +188,7 @@ export default class MessageEditor extends React.Component {
onInput={this._onInput}
onKeyDown={this._onKeyDown}
ref={ref => this._editorRef = ref}
aria-label={_t("Edit message")}
></div>
<div className="mx_MessageEditor_buttons">
<AccessibleButton kind="secondary" onClick={this._cancelEdit}>{_t("Cancel")}</AccessibleButton>

View file

@ -1052,6 +1052,7 @@
"%(oneUser)schanged their avatar %(count)s times|one": "%(oneUser)schanged their avatar",
"collapse": "collapse",
"expand": "expand",
"Edit message": "Edit message",
"Power level": "Power level",
"Custom level": "Custom level",
"Unable to load event that was replied to, it either does not exist or you do not have permission to view it.": "Unable to load event that was replied to, it either does not exist or you do not have permission to view it.",