Skip to content

Comments

WIP GEDS Audit feature#179

Open
piet0024 wants to merge 8 commits intomasterfrom
geds-audit
Open

WIP GEDS Audit feature#179
piet0024 wants to merge 8 commits intomasterfrom
geds-audit

Conversation

@piet0024
Copy link
Contributor

@piet0024 piet0024 commented Nov 3, 2020

(WIP) Adding modal that displays differences in Directory profile data and GEDS data.

Copy link

@accesslint accesslint bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are accessibility issues in these changes.

<Label htmlFor={`${inputName}-input`}>
Other Input
</Label>
<input
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's a label missing for this input. That makes it hard for people using screen readers or voice control to use the input.

@piet0024 piet0024 marked this pull request as ready for review November 5, 2020 15:42
Copy link

@accesslint accesslint bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are accessibility issues in these changes.

<Label htmlFor={`${inputName}-input`}>
{__('Other Value')}
</Label>
<input
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's a label missing for this input. That makes it hard for people using screen readers or voice control to use the input.

@ethanWallace ethanWallace self-requested a review December 1, 2020 16:49
@ethanWallace
Copy link
Contributor

ethanWallace commented Dec 1, 2020

It's looking good! I did encounter an error when trying to submit my Mobile number as an other value. Kept on receiving 400 Bad request in my console that prevented me from submitting the form.

Also I was wondering if it's possible that the other value inputs are hidden and/or disabled until the other radio button is selected? I think that might clean up the form a little bit.

Copy link

@accesslint accesslint bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are accessibility issues in these changes.

<Label htmlFor={`${inputName}-input`}>
{__('Other Value')}
</Label>
<input
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like there's a label missing for this input. That makes it hard for people using screen readers or voice control to use the input.

Copy link
Contributor

@ethanWallace ethanWallace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The mutation works great now!

I did notice when looking at the French interface some things still needed to be translated or should have a little more formatting around them.

  • "Other" and "Other value" still appear in English.
  • In the difference selections "GEDS" and "Directory" can be SAGE and Annuiare.
  • The department section needs some translation when using the word "Department" and we can also show the French name of the departments in this section.
  • The "Save" button is still in English.
  • When showing the titleEn/titleFr in the opposite language, it might be worth it to add a lang attribute on the titleEn/titleFr so it can be read in the correct language.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants