]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-16906 [893104] Form elements must have labels
authorRevanshu Paliwal <revanshu.paliwal@sonarsource.com>
Thu, 22 Sep 2022 12:39:39 +0000 (14:39 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 22 Sep 2022 20:03:34 +0000 (20:03 +0000)
server/sonar-web/src/main/js/components/issue/popups/CommentForm.tsx
sonar-core/src/main/resources/org/sonar/l10n/core.properties

index 1eae2eb98545993975d4200285a1ddec807f2887..e6edbaac20055cc07c32ff9e80c482cf3c95496d 100644 (file)
@@ -44,6 +44,7 @@ export default function CommentForm(props: CommentFormProps) {
           autoFocus={true}
           style={{ resize: 'vertical' }}
           placeholder={placeholder}
+          aria-label={translate('issue.comment.enter_comment')}
           onChange={(event: React.ChangeEvent<HTMLTextAreaElement>) =>
             setEditComment(event.target.value)
           }
index 1ef5a3392acd36d4fec2ef912b20b44401d31977..b0ebf52877e11168bdf082ac4b8ca28ca363ca11 100644 (file)
@@ -827,6 +827,7 @@ issue.assign.to_me=to me
 issue.quick_fix_available_with_sonarlint=Quick fix available in {link}
 issue.comment.add_comment=Add Comment
 issue.comment.add_comment.cancel=Cancel adding comment 
+issue.comment.enter_comment=Enter Comment
 issue.comment.formlink=Comment
 issue.comment.formlink.plural=comments
 issue.comment.submit=Comment