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:05:54 +0000 (10:05 -0400)
commitad1871f0555d8f67cf68c20a601a1eb71780d21e
tree6b3c9ec95c2648fc98d51623d8e5757681ef4b2b
parent18f99a68e67df86cdd1cece2d434f2a351b205b5
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]