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

Improve accessibility #1977

Merged
merged 6 commits into from
Aug 14, 2023
Merged

Improve accessibility #1977

merged 6 commits into from
Aug 14, 2023

Conversation

kirkkwang
Copy link
Collaborator

refs scientist-softserv/utk-hyku#489

This PR will bring in accessibility changes from UTK which includes:

  • making the admin dashboard sidebar automatically collapse at screen widths under 768px
  • adding title attributes to all sidebar links
  • ensure that the custom alt text will be displayed for collection and work thumbnail images
  • update translations

Relevant PR's

This commit will make the sidebar collapse at smaller widths.  To
activate the sidebar, the user can hover their mouse over the collapsed
sidebar or click the already existing toggle button.
This commit will add title links to the sidebar links in the dashboard
so users can hover over the links and see what it says.
@kirkkwang kirkkwang added the minor-ver for release notes label Aug 7, 2023
This commit will ensure that the custom alt text that is set in the
Dashboard > Settings > Appearance > Default Images section will be used
in the partials that display the images.  Also a new help text was added
to the collection dashboard page to more accurately describe the action.
This commit will run the i18n translate-missing task to update from en
to all other supported languages.
This commit will update IIIF Print to use the updated
representative_media partial which has the custom thumbnail and alt
text.
@kirkkwang kirkkwang merged commit 10c56d8 into main Aug 14, 2023
2 checks passed
@kirkkwang kirkkwang deleted the improve-accessibility branch August 14, 2023 17:05
jeremyf added a commit to scientist-softserv/adventist_knapsack that referenced this pull request Oct 10, 2023
The following commit added the ability to use the alt text for a
default_collection_image_text.  This improves accessibility while also
removing an override file.

samvera/hyku@f28ede5

Bellow is the *Diff of knapsack and Hyku file*.

<details><summary>Diff of knapsack and Hyku file</summary>
```
❯ diff app/views/hyrax/collections/_media_display.html.erb hyrax-webapp/app/views/hyrax/collections/_media_display.html.erb
4c4
<                 alt: "",
---
>                 alt: block_for(name: 'default_collection_image_text'),
8c8
< <% end %>
\ No newline at end of file
---
> <% end %>
```
</details>

Related to:

- samvera/hyku#1977
jeremyf added a commit to scientist-softserv/adventist_knapsack that referenced this pull request Oct 10, 2023
The following commit added the ability to use the alt text for a
default_collection_image_text.  This improves accessibility while also
removing an override file.


samvera/hyku@f28ede5

Bellow is the *Diff of knapsack and Hyku file*.

<details><summary>Diff of knapsack and Hyku file</summary>
```
❯ diff app/views/hyrax/collections/_media_display.html.erb hyrax-webapp/app/views/hyrax/collections/_media_display.html.erb
4c4
<                 alt: "",
---
>                 alt: block_for(name: 'default_collection_image_text'),
8c8
< <% end %>
\ No newline at end of file
---
> <% end %>
```
</details>

Related to:

- samvera/hyku#1977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor-ver for release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants