https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42898

--- Comment #10 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 208948
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=208948&action=edit
Bug 42898: (follow-up) Fix theme switcher check marks and translatability

* Only show the check mark on the selected theme option; it was
  always visible on all three options as no CSS hid it.
* Make the toggle aria-label and the option labels translatable. The
  dynamic label is built with __x() from the translated option text.
* Correct the attribution in switch-theme.js (the Bootstrap docs script
  is CC BY 3.0) and credit it on the About page.

To test:
1. Apply the patch and rebuild the CSS (yarn css:build)
2. Open the theme dropdown in the staff header
=> Only the active option shows a check mark
3. Switch theme and inspect #bd-theme-toggle
=> aria-label reads "Toggle colour theme (current: <option>)"
4. Visit Administration > About > Licenses
=> The Bootstrap colour modes attribution is listed

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to