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

Accessibility: Multiple controls on a single page creates issue #114

Open
kevinkidwell opened this issue Feb 8, 2022 · 0 comments
Open

Comments

@kevinkidwell
Copy link

Description
Any element on a page must have a unique ID. This issue appears when items on a page both have the same ID, typically from embeds or other generated templates that can be repeated.

This particular issue is present on the Item Embed on the controls for an item: zoom in, zoom out, home, and fullscreen.

Solution
Remove IDs for zoom controls and replace with classes. Adjust any relevant code that referred to these IDs to refer to the classes instead. This will fix the accessibility issue when multiple Item Embeds are on the same page.

Related Issue
exhibits-library-cornell-edu#428

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

No branches or pull requests

1 participant