Color contrast of placeholder text#3847
Conversation
|
Hi @Andrea-Guevara, just tested this and Silktide still flags the placeholder text and label text as problematic. If you use the Silktide plugin in your browser and run the accessibility checker on this page, you should see what I mean. The ratio is still well below 4.5:1. |
|
Good morning @hostle83, I hope you're well! The problem is with the border, it's too thin. If we increase the border of the input, the problem is solved. We would do this as follows: .form-control, .page-link { } If you like the idea, I can adjust the pull. |
|
Hi @Andrea-Guevara, that looks much better to me. If @tdonohue doesn't have any objections, please go ahead and adjust the PR. Thank you! |
|
Hey Andrea, I discussed this with @tdonohue and you can please go ahead and adjust the PR. Thank you! |
|
Apologies for taking a while to get back to you on this, @Andrea-Guevara |
hostle83
left a comment
There was a problem hiding this comment.
Looks good and passes all accessibility tests
tdonohue
left a comment
There was a problem hiding this comment.
@Andrea-Guevara : I gave this a look today. While it does solve the basic issues, the thicker border around input boxes looks very odd on some pages, because it's right next to other fields that still have a thin border. Here's some screenshots of what I see:
Pagination buttons have intermixed borders. Some thick, some thin

Search results has thick border for input, but thin border for "All of DSpace"

Browse by Date has thick border for input, but thin border for year/month:

I also find the thick border quite odd looking on the Submission form. It looks like all the fields are bolded or highlighted (notice how all the sections having a faint border makes all the fields look bolded)
I don't have a recommendation here yet. But, I feel the darker border is not "matching" well with the rest of the DSpace site. We may need to see if there's a way to make it look less bold or less thick. Or we need to make everything else just as thick (but I'm not sure about that approach either).
The changes to the placeholder text look fine to me though. It's just the new border to these form fields that looks odd. So, another option would be to revert the border changes (for now) until we come up with a better solution & just fix the placeholder text.


References
Description
Improving the color contrast of the placeholder text and the descriptive text “Filter results by typing the first few letters”
Instructions for Reviewers
List of changes in this PR:
Check the color contrast of the placeholders with an accessibility tool!
Checklist
mainbranch of code (unless it is a backport or is fixing an issue specific to an older branch).npm run lintnpm run check-circ-deps)package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.