Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP GEDS Audit feature #179

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

WIP GEDS Audit feature #179

wants to merge 8 commits into from

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