[Bug 29065] New: Accessibility: OPAC clear search history link has insufficient contrast
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 Bug ID: 29065 Summary: Accessibility: OPAC clear search history link has insufficient contrast Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: bolshawh@parliament.uk QA Contact: testopia@bugs.koha-community.org The contrast ratio for the OPAC Delete your search history link fails to meet accessibility guidelines. WCAG 2.1 1.4.3 Contrast (Minimum) Level AA: "The visual presentation of text and images of text has a contrast ratio of at least 4.5:1, except for the following: - Large Text: Large-scale text and images of large-scale text have a contrast ratio of at least 3:1; - Incidental: Text or images of text that are part of an inactive user interface component, that are pure decoration, that are not visible to anyone, or that are part of a picture that contains significant other visual content, have no contrast requirement. - Logotypes: Text that is part of a logo or brand name has no contrast requirement." (https://www.w3.org/WAI/WCAG21/quickref/?versions=2.0#contrast-minimum) There are several free websites for checking the contrast ratio, e.g. https://webaim.org/resources/contrastchecker/ You can also use the built-in accessibility functions in Firefox and Chrome, as well as specialist accessibility browser extensions like WAVE (https://wave.webaim.org/) -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 Henry Bolshaw <bolshawh@parliament.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |28188 Status|NEW |ASSIGNED CC| |bolshawh@parliament.uk Keywords| |accessibility Assignee|oleonard@myacpl.org |bolshawh@parliament.uk Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28188 [Bug 28188] Accessibility: OPAC - the contrast ratio for text is insufficient [OMNIBUS] -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 Henry Bolshaw <bolshawh@parliament.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 --- Comment #1 from Henry Bolshaw <bolshawh@parliament.uk> --- Created attachment 125082 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125082&action=edit Bug_29065: Accessibility OPAC clear search history link has insufficient contrast This patch changes the colour of the clear search history link on the OPAC to increase the contrast ratio, improve accessibility and makes the text easier to read. To test: 1. Go to the OPAC homepage 2. Use an accessibility tool (e.g Chrome's Lighthouse tool) to check the contrast ratio 3. Confirm that the clear search history link has insufficient contrast 4. Apply the patch and rebuild css: yarn build --view opac 5. Confirm that the contrast ratio now meets minimum accessibility requirements 6. Check the OPAC still looks ok after the changes -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 --- Comment #2 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 125089 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125089&action=edit Bug 29065: Accessibility OPAC clear search history link has insufficient contrast This patch changes the colour of the clear search history link on the OPAC to increase the contrast ratio, improve accessibility and makes the text easier to read. To test: 1. Go to the OPAC homepage 2. Use an accessibility tool (e.g Chrome's Lighthouse tool) to check the contrast ratio 3. Confirm that the clear search history link has insufficient contrast 4. Apply the patch and rebuild css: yarn build --view opac 5. Confirm that the contrast ratio now meets minimum accessibility requirements 6. Check the OPAC still looks ok after the changes Signed-off-by: Owen Leonard <oleonard@myacpl.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #125082|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #125089|0 |1 is obsolete| | --- Comment #3 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Created attachment 125277 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125277&action=edit Bug 29065: Accessibility OPAC clear search history link has insufficient contrast This patch changes the colour of the clear search history link on the OPAC to increase the contrast ratio, improve accessibility and makes the text easier to read. To test: 1. Go to the OPAC homepage 2. Use an accessibility tool (e.g Chrome's Lighthouse tool) to check the contrast ratio 3. Confirm that the clear search history link has insufficient contrast 4. Apply the patch and rebuild css: yarn build --view opac 5. Confirm that the contrast ratio now meets minimum accessibility requirements 6. Check the OPAC still looks ok after the changes Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 Martin Renvoize <martin.renvoize@ptfs-europe.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.renvoize@ptfs-europe | |.com Status|Signed Off |Passed QA --- Comment #4 from Martin Renvoize <martin.renvoize@ptfs-europe.com> --- Brill. PQA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to master Version(s)| |21.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 --- Comment #5 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Pushed to master for 21.11, thanks to everybody involved! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29065 Kyle M Hall <kyle@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|21.11.00 |21.11.00,21.05.05 released in| | CC| |kyle@bywatersolutions.com Status|Pushed to master |Pushed to stable --- Comment #6 from Kyle M Hall <kyle@bywatersolutions.com> --- Pushed to 21.05.x for 21.05.05 -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org