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

Update map color coding to textures #249

Closed
lizzycederberg opened this issue Dec 2, 2020 · 13 comments
Closed

Update map color coding to textures #249

lizzycederberg opened this issue Dec 2, 2020 · 13 comments
Labels
From NARA High question Further information is requested

Comments

@lizzycederberg
Copy link

As it is right now, the map graphic is not accessible for most individuals with a color vision deficiency (about 8% of all men, for example). The drop-down helps for accessibility, but because it doesn’t provide the same information (the regions), we recommend updating the map. A pattern fill should be added to denote individual regions.

cc @SpenceJMNelson

@matbrady
Copy link
Contributor

matbrady commented Dec 2, 2020

The drop-down helps for accessibility, but because it doesn’t provide the same information (the regions),

@lizzycederberg If they are referring to the record count, that was updated in #206. It's been updated in the test env, but likely not on the live site.

@lizzycederberg
Copy link
Author

I think they are saying the contrast between the colors of adjacent regions is not high enough for someone who is color blind to be able to clearly determine where one starts and one ends, e.g. the Eastern region and the Midwest region are pretty close in color: https://bia.test.drupalme.net/research/native-americans/bia/photos/states

So really we need a new design for the map that uses textures instead of colors (or in addition to colors maybe) to help those users.

Screen Shot 2020-12-02 at 2 36 34 PM

@lfrancis
Copy link

lfrancis commented Dec 2, 2020

The existing colors are fine in the three major color-blind types until you get to grayscale, which is the rarest of all -- that 8% figure cited above covers mostly the three major types of deficiencies.

You can test this yourself on MacOS with the Accessibility Control Pane by turning on color filters:
image

@matbrady
Copy link
Contributor

matbrady commented Dec 2, 2020

I think they are saying the contrast between the colors of adjacent regions is not high enough for someone who is color blind to be able to clearly determine where one starts and one ends,

@lizzycederberg I was just mentioning that if the select is fully accessible and provides the same content, it doesn't sound like there is a need to correct the colors further.

@lizzycederberg lizzycederberg added the question Further information is requested label Dec 3, 2020
@SpenceJMNelson
Copy link

SpenceJMNelson commented Dec 7, 2020

@matbrady if possible suggest surrounding colored regions with a white border instead of trying to add different textures to the states. @lizzycederberg @lfrancis do you think this solves the problem?
100922521-ff2b1e80-34ab-11eb-8bc1-ca603b1aef61

@SpenceJMNelson
Copy link

spoke with mat on slack and the map doesn't support grouping state shapes together and drawing a line around that group, so mat is going to try using moving different regions apart so there's space around them

@lizzycederberg
Copy link
Author

lizzycederberg commented Dec 8, 2020

@matbrady @SpenceJMNelson I asked NARA if adding the regions to the drop down was an acceptable alternative and they said:

Including the regions for each state in the dropdown, along with a header for each region that lists each state included in that region, will provide comparable information.

I'm not sure I understand that. What do you think?

@matbrady
Copy link
Contributor

matbrady commented Dec 8, 2020

@lizzycederberg I don't fully understand this or why we asked to add regions to the dropdown if the original issue was for color contrast.

@lfrancis
Copy link

lfrancis commented Dec 8, 2020

@lizzycederberg I don't fully understand this or why we asked to add regions to the dropdown if the original issue was for color contrast.

I think what they we're saying was -- in the absence of additional colorblind measures -- adding the region header to the states select solves the accessibility problem.

@lizzycederberg
Copy link
Author

@matbrady I don't see anything different on the page. Did you make a change?

@lizzycederberg
Copy link
Author

We will move some colors around so the regions are not close to other regions with similar colors and update the drop down with regions

@lfrancis
Copy link

Confirmed addressed

@lizzycederberg
Copy link
Author

Looks good! Just reopening until I send the update to NARA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
From NARA High question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants