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

Add widget instruction link to custom alt text guidelines in Exhibits #2583

Open
Tracked by #2581
alundgard opened this issue Sep 27, 2024 · 2 comments
Open
Tracked by #2581

Comments

@alundgard
Copy link
Member

alundgard commented Sep 27, 2024

The “Guidelines for writing alt text” link opens the guidelines in a new browser tab.
Add customizability for institution-specific instructions, specified per Spotlight instance. For Exhibits, add Stanford’s alt text instructions: https://uit.stanford.edu/accessibility/concepts/images

@marlo-longley
Copy link
Contributor

marlo-longley commented Oct 10, 2024

Blocked by #2582 -- the feature first needs to be implemented in Spotlight, then overridden in Exhibits here.

@hudajkhan
Copy link
Contributor

I have set up this PR: projectblacklight/spotlight#3188 in Spotlight to address #2582.
If the current method is approved, overriding the link would look like the following in sir_trevor_block_overrides:
SirTrevor.Locales.en.blocks.alt_text_guidelines = $.extend(SirTrevor.Locales.en.blocks.alt_text_guidelines, {
link_url: 'http://www.google.com'
});

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

4 participants