diff --git a/client/app/bundles/comments/rescript/CommentForm/CommentForm.res b/client/app/bundles/comments/rescript/CommentForm/CommentForm.res index db964269b..c3991d724 100644 --- a/client/app/bundles/comments/rescript/CommentForm/CommentForm.res +++ b/client/app/bundles/comments/rescript/CommentForm/CommentForm.res @@ -122,7 +122,7 @@ let make = (~fetchData) => { disabled /> | Stacked => - { -
+
- +
- +
@@ -31,6 +43,7 @@ let make = (~author, ~handleAuthorChange, ~text, ~handleTextChange, ~handleSubmi type_="submit" className="self-start px-3 py-1 font-semibold border-0 rounded text-sky-50 bg-sky-600 hover:bg-sky-800" value="Post" + ariaLabel="Submit comment" />
diff --git a/client/app/bundles/comments/rescript/CommentForm/forms/InlineForm.res b/client/app/bundles/comments/rescript/CommentForm/forms/InlineForm.res index b882cea7e..0769439d5 100644 --- a/client/app/bundles/comments/rescript/CommentForm/forms/InlineForm.res +++ b/client/app/bundles/comments/rescript/CommentForm/forms/InlineForm.res @@ -3,9 +3,10 @@ let make = (~author, ~handleAuthorChange, ~text, ~handleTextChange, ~handleSubmi
+ disabled={disabled} + ariaLabel="Comment submission form">
- +
- +
diff --git a/client/app/bundles/comments/rescript/CommentForm/forms/StackedFrom.res b/client/app/bundles/comments/rescript/CommentForm/forms/StackedForm.res similarity index 68% rename from client/app/bundles/comments/rescript/CommentForm/forms/StackedFrom.res rename to client/app/bundles/comments/rescript/CommentForm/forms/StackedForm.res index 1daedcfac..360ca2e58 100644 --- a/client/app/bundles/comments/rescript/CommentForm/forms/StackedFrom.res +++ b/client/app/bundles/comments/rescript/CommentForm/forms/StackedForm.res @@ -1,8 +1,12 @@ @react.component let make = (~author, ~handleAuthorChange, ~text, ~handleTextChange, ~handleSubmit, ~disabled) => { -
+
- +
- +