pulibrary / orangelight

PUL Blacklight Project (Ruby 3.1.0, Rails 7.1.4)
21 stars 7 forks source link

Highlight Search Terms in the Main Entry Fields #3796

Closed kevinreiss closed 10 months ago

kevinreiss commented 11 months ago

User story

As a user I would like to understand the context for my search results better by seeing my search terms highlighted in the main entry fields of records returned in my search result.

Acceptance criteria

Concrete example

Example queries to use in development/tests "Black Teenagers", "White Teenagers".

Implementation notes, if any

Mock-ups: https://www.figma.com/file/tIpQVIoflo4znSX2lMcHt8/Search-%26-Race-Group-2%3A-Highlighting-Mockups?type=whiteboard&node-id=0-1

Fields need to be add here: https://github.com/pulibrary/pul_solr/blob/main/solr_configs/catalog-production-v2/conf/solrconfig.xml#L135.

kevinreiss commented 11 months ago

Update ticket with accessibility checks see ticket #3803

rladdusaw commented 10 months ago

Aside from voiceover not indicating emphasis everything seems to be working.