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 metadata-specific aria labels to more/less buttons (fixes UV issue 1081) #33

Merged
merged 12 commits into from
Oct 24, 2024

Conversation

jamesmisson
Copy link
Collaborator

@jamesmisson jamesmisson commented Oct 21, 2024

This is in tandem with a PR to UV: UniversalViewer/universalviewer#1156
It fixes UV issue 1081
This will allow iiif-metadata-component to display full aria labels specific to each piece of metadata.

Copy link
Contributor

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @jamesmisson -- just one small thing!

src/index.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The logic here makes sense to me -- but the question is, does this change break the demo within this repository because @edsilv/jquery-plugins needs to be updated with the new behavior? Do we need to figure out a way to solve that before we merge this, or do we want to get this pushed through first and then double back to address that problem?

Should we perhaps consider just moving that whole function into this project instead of making it an external dependency? It would make everything less fragile and easier to manage, and I don't see a long-term future for shared jQuery plugins anyway.

Copy link
Contributor

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and seems to be working correctly!

@demiankatz demiankatz merged commit b4ea432 into IIIF-Commons:master Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants