LP1970946 Adjust color contrast in result highlights
authorStephanie Leary <stephanie.leary@equinoxOLI.org>
Mon, 9 Jan 2023 19:46:53 +0000 (13:46 -0600)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 19 Apr 2023 14:09:53 +0000 (10:09 -0400)
commitd03163166979d246cc25096f4f8f9546bfae5a61
tree91fbd61ad3346cadf427110895e9485cb0d8be19
parent653d15ba63acfd156fe578990031068064d0d4d5
LP1970946 Adjust color contrast in result highlights

Lowers the contrast on search result match highlights in the staff
catalog, and changes the highlight tag from <b> (PostgreSQL's default),
to <mark> (new in HTML5).

As an additional consequence, the color contrast for highlighted
search terms in the Bootstrap OPAC (using default styles) improves
from 4.38 to 17.12.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/share/catalog/bib-display-field.component.css
Open-ILS/src/sql/Pg/300.schema.staged_search.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.mark-tag-for-match-highlights.sql [new file with mode: 0644]