UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Platform One
Apps
AFEIT
Commits
cfa515ee
Commit
cfa515ee
authored
Apr 13, 2021
by
Anne Demey
Browse files
Adjusting aria live tags for contact forms
parent
3efdc8be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
+6
-9
src/components/ContactForm.js
src/components/ContactForm.js
+3
-7
src/components/FeedbackForm.js
src/components/FeedbackForm.js
+3
-2
No files found.
src/components/ContactForm.js
View file @
cfa515ee
...
@@ -83,7 +83,7 @@ const ContactForm = ({ onClose, ...rest }) => {
...
@@ -83,7 +83,7 @@ const ContactForm = ({ onClose, ...rest }) => {
<
/Text>{' '
}
<
/Text>{' '
}
data
only
.
data
only
.
<
/Text
>
<
/Text
>
<
Form
onSubmit
=
{
handleSubmit
}
>
<
Form
onSubmit
=
{
handleSubmit
}
aria
-
live
=
"
assertive
"
>
<
FormField
<
FormField
name
=
"
entry.1114584563
"
name
=
"
entry.1114584563
"
htmlFor
=
"
text-input-name
"
htmlFor
=
"
text-input-name
"
...
@@ -186,18 +186,14 @@ const ContactForm = ({ onClose, ...rest }) => {
...
@@ -186,18 +186,14 @@ const ContactForm = ({ onClose, ...rest }) => {
style
=
{{
style
=
{{
fontFamily
:
korolevFont
,
fontFamily
:
korolevFont
,
}}
}}
aria
-
live
=
"
polite
"
>
>
REQUESTING
CONSULTATION
REQUESTING
CONSULTATION
<
/Text
>
<
/Text
>
<
/Box
>
<
/Box
>
)}
)}
{
success
&&
(
{
success
&&
(
<
Box
<
Box
pad
=
"
large
"
align
=
"
center
"
justify
=
"
center
"
aria
-
live
=
"
polite
"
>
pad
=
"
large
"
align
=
"
center
"
justify
=
"
center
"
aria
-
live
=
"
assertive
"
>
<
Heading
<
Heading
level
=
{
3
}
level
=
{
3
}
style
=
{{
fontFamily
:
korolevFont
}}
style
=
{{
fontFamily
:
korolevFont
}}
...
...
src/components/FeedbackForm.js
View file @
cfa515ee
...
@@ -64,7 +64,7 @@ const FeedbackForm = ({ onClose }) => {
...
@@ -64,7 +64,7 @@ const FeedbackForm = ({ onClose }) => {
<
Box
pad
=
"
medium
"
style
=
{{
position
:
'
relative
'
}}
>
<
Box
pad
=
"
medium
"
style
=
{{
position
:
'
relative
'
}}
>
{
!
success
&&
(
{
!
success
&&
(
<
Box
>
<
Box
>
<
Form
onSubmit
=
{
handleSubmit
}
>
<
Form
onSubmit
=
{
handleSubmit
}
aria
-
live
=
"
assertive
"
>
<
FormField
<
FormField
name
=
"
entry.675672969
"
name
=
"
entry.675672969
"
htmlFor
=
"
text-input-comments
"
htmlFor
=
"
text-input-comments
"
...
@@ -176,6 +176,7 @@ const FeedbackForm = ({ onClose }) => {
...
@@ -176,6 +176,7 @@ const FeedbackForm = ({ onClose }) => {
style
=
{{
style
=
{{
fontFamily
:
korolevFont
,
fontFamily
:
korolevFont
,
}}
}}
aria
-
live
=
"
polite
"
>
>
SENDING
FEEDBACK
SENDING
FEEDBACK
<
/Text
>
<
/Text
>
...
@@ -187,7 +188,7 @@ const FeedbackForm = ({ onClose }) => {
...
@@ -187,7 +188,7 @@ const FeedbackForm = ({ onClose }) => {
align
=
"
center
"
align
=
"
center
"
justify
=
"
center
"
justify
=
"
center
"
gap
=
"
small
"
gap
=
"
small
"
aria
-
live
=
"
assertiv
e
"
aria
-
live
=
"
polit
e
"
>
>
<
Heading
<
Heading
level
=
{
3
}
level
=
{
3
}
...
...
Ben Wynn
@bwynn
mentioned in commit
c6f704e5
·
Apr 15, 2021
mentioned in commit
c6f704e5
mentioned in commit c6f704e5aaafa6ab8f8ae64db0a4954d26f66d6f
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment