about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeetshin <neetshin@neetsh.in>2017-12-05 16:02:00 +0530
committerEugen Rochko <eugen@zeonfederated.com>2017-12-05 11:32:00 +0100
commitb4bc594c5ac97b92f8f540eeb08be3dff2163a5a (patch)
tree533755e76eadce5a9591f782091b8cf0b55324b4
parent82884ac5c43092c0b0625f7d81c930bb023c9469 (diff)
Add aria-autocomplete='list' in Textaria (#5889)
ref: https://www.w3.org/TR/wai-aria-1.1/#aria-autocomplete
-rw-r--r--app/javascript/mastodon/components/autosuggest_textarea.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/components/autosuggest_textarea.js b/app/javascript/mastodon/components/autosuggest_textarea.js
index 14a8d4c38..6a16e2fc7 100644
--- a/app/javascript/mastodon/components/autosuggest_textarea.js
+++ b/app/javascript/mastodon/components/autosuggest_textarea.js
@@ -209,6 +209,7 @@ export default class AutosuggestTextarea extends ImmutablePureComponent {
             onBlur={this.onBlur}
             onPaste={this.onPaste}
             style={style}
+            aria-autocomplete='list'
           />
         </label>