-
Notifications
You must be signed in to change notification settings - Fork 12
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
Alt text missing on catalog grid images #904
Comments
Thanks for posting @bjhewitt. I agree, those images should definitely include their alt test. Until this is fixed in core Quire, there's a fix you can try on your own. In ? tableOfContentsImage({ src: firstFigure.src, alt: firstFigure.alt })
? tableOfContentsImage({ src: firstObjectFigure.src, alt: firstObjectFigure.alt }) Then, in const { alt, src } = params And finally, pass that in to the HTML markup that's being returned (line 20): <img src="${ imgPath }" alt="${alt}" /> I tested this here and it worked for me, but let us know if it doesn't for you. |
Before proceeding, make sure there isn’t an existing issue for this bug.
Expected Behavior
Figure images in the object catalog grid should include alt text.
Actual Behavior
Catalog object grid images have empty alt tag. Figures included throughout body do include alt text.
Steps to Reproduce
Alt text has been added to all figures in figures.yaml. I have also added alt text to one object in the objects.yaml object_list. When site is built (preview or build), grid image alt tags are empty
Version Numbers
1.0.0-rc.11
Web Browser
all
Relevant Terminal/Shell Output
No response
Supporting Information
Data and files available at https://github.com/bjhewitt/quire-cmog-roman-glassblowing
The text was updated successfully, but these errors were encountered: