A11Y: add aria-labels for flagging textareas (#19938)
This commit is contained in:
parent
7683b4bbfa
commit
a57d6a0f75
|
@ -16,6 +16,7 @@
|
|||
name="message"
|
||||
class="flag-message"
|
||||
placeholder={{this.customPlaceholder}}
|
||||
aria-label={{i18n "flagging.notify_user_textarea_label"}}
|
||||
@value={{this.message}}
|
||||
/>
|
||||
<div
|
||||
|
@ -48,6 +49,7 @@
|
|||
name="message"
|
||||
class="flag-message"
|
||||
placeholder={{this.customPlaceholder}}
|
||||
aria-label={{i18n "flagging.notify_moderators_textarea_label"}}
|
||||
@value={{this.message}}
|
||||
/>
|
||||
<div
|
||||
|
|
|
@ -3809,7 +3809,9 @@ en:
|
|||
inappropriate: "It's Inappropriate"
|
||||
spam: "It's Spam"
|
||||
custom_placeholder_notify_user: "Be specific, be constructive, and always be kind."
|
||||
notify_user_textarea_label: "Message for the user"
|
||||
custom_placeholder_notify_moderators: "Let us know specifically what you are concerned about, and provide relevant links and examples where possible."
|
||||
notify_moderators_textarea_label: "Message for the moderators"
|
||||
custom_message:
|
||||
at_least:
|
||||
one: "enter at least %{count} character"
|
||||
|
|
Loading…
Reference in New Issue