Summary: | Accessibility: OPAC Purchase Suggestions on search results page has insufficient contrast | ||
---|---|---|---|
Product: | Koha | Reporter: | Henry Bolshaw <bolshawh> |
Component: | OPAC | Assignee: | Henry Bolshaw <bolshawh> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | minor | ||
Priority: | P5 - low | CC: | jonathan.druart, kyle |
Version: | Main | Keywords: | accessibility |
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
21.11.00,21.05.05
|
|
Circulation function: | |||
Bug Depends on: | |||
Bug Blocks: | 28188 | ||
Attachments: |
Bug 29070: Accessibility OPAC Purchase suggestions box on search results page has insufficient contrast
Bug 29070: Accessibility OPAC Purchase suggestions box on search results page has insufficient contrast Bug 29070: Accessibility OPAC Purchase suggestions box on search results page has insufficient contrast Bug 29070: Use a variable to store the #666666 color |
Description
Henry Bolshaw
2021-09-20 23:35:41 UTC
Created attachment 125127 [details] [review] Bug 29070: Accessibility OPAC Purchase suggestions box on search results page has insufficient contrast This patch changes the text colour for the purchase suggestion box on the OPAC search results page to make the text easier to read and improve accessibility. To test: 1. Log in to the OPAC and search for something 2. Use an accessibility tool (e.g. Chrome's Lighthouse tool) to check the contrast ratio 3. Confirm that the Purchase suggestion text fails to meet accessibility requirements 4. Apply the patch and rebuild CSS: yarn build --view opac 5. Confirm the text contrast ratio now meets minimum accessibility requirements 6. Check that the OPAC still looks ok after the changes. Created attachment 125136 [details] [review] Bug 29070: Accessibility OPAC Purchase suggestions box on search results page has insufficient contrast This patch changes the text colour for the purchase suggestion box on the OPAC search results page to make the text easier to read and improve accessibility. To test: 1. Log in to the OPAC and search for something 2. Use an accessibility tool (e.g. Chrome's Lighthouse tool) to check the contrast ratio 3. Confirm that the Purchase suggestion text fails to meet accessibility requirements 4. Apply the patch and rebuild CSS: yarn build --view opac 5. Confirm the text contrast ratio now meets minimum accessibility requirements 6. Check that the OPAC still looks ok after the changes. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Created attachment 125325 [details] [review] Bug 29070: Accessibility OPAC Purchase suggestions box on search results page has insufficient contrast This patch changes the text colour for the purchase suggestion box on the OPAC search results page to make the text easier to read and improve accessibility. To test: 1. Log in to the OPAC and search for something 2. Use an accessibility tool (e.g. Chrome's Lighthouse tool) to check the contrast ratio 3. Confirm that the Purchase suggestion text fails to meet accessibility requirements 4. Apply the patch and rebuild CSS: yarn build --view opac 5. Confirm the text contrast ratio now meets minimum accessibility requirements 6. Check that the OPAC still looks ok after the changes. Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Created attachment 125402 [details] [review] Bug 29070: Use a variable to store the #666666 color To prevent repetition Hi Henry, As we are reusing the same HTML color code (#666666) it seems better to create a variable to reuse, instead of copying the same code everywhere. Better for maintainability if we need to modify it later on. Pushed to master for 21.11, thanks to everybody involved! Pushed to 21.05.x for 21.05.05 |