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

Save button on file manager page has insufficient color contrast #6814

Open
rjkati opened this issue May 22, 2024 · 1 comment
Open

Save button on file manager page has insufficient color contrast #6814

rjkati opened this issue May 22, 2024 · 1 comment

Comments

@rjkati
Copy link

rjkati commented May 22, 2024

Descriptive summary

On dev.nurax.samvera.org (Hyrax 5.0.1), the Save button on the File Manager page does not meet minimum WCAG AA color contrast requirements

Steps to reproduce the behavior in User Interface (UI)

  1. In Chrome, download the Site Improve browser extension
  2. As an admin, go to https://dev.nurax.samvera.org/concern/images/ww72bb76t/file_manager?locale=en and run the Site Improve browser extension
    file_manager_color_contrast
@rkuehn-uofl
Copy link
Contributor

Recommend adding aria-disabled="true" to save button code - located in ~/app/views/hyrax/base/_file_manager_actions.html.erb on line 3.
Example:
<button name="button" type="submit" class="btn btn-primary disabled mr-2" data-action="save-actions" aria-disabled="true">Save</button>

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

No branches or pull requests

2 participants