https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39209 Bug ID: 39209 Summary: Cookie consent banner should be 'focused' on load Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: martin.renvoize@ptfs-europe.com QA Contact: testopia@bugs.koha-community.org We've had an accessibility audit highlight that the cookie consent banner is 'in a strange order' for keyboard navigation.
Issue • The cookie banner current sits in a slightly odd place in the focus order, coming after the ‘Advanced Search’ link • This might be somewhat disorientating for screen reader users. It may also be frustrating for sighted keyboard users who would like want to dismiss this prior to exploring the page
Solution • Review the order of focus (by tabbing through the page) to ensure the journey users take through the page and within elements is the most logical and efficient, and matches the visible order of content • Move the cookie banner so it can be dismissed as the first action on the page • NB – avoid using positive tabindex values to artificially modify the focus order
I've researched this a little and there's evidence that moving the banner to the top is detrimental to engagement. Other research suggests that as soon as a cookie banner appears, it should take the initial keyboard focus. I propose we take the later approach and if the cookie consent banner is present on the page it should take the first focus point until dismissed at which point the focus should be reset. -- You are receiving this mail because: You are watching all bug changes.