OregonDigital / OD2

Next generation of Oregon Digital ( https://oregondigital.org ) digital collections platform, built on Samvera Hyrax ( https://github.com/samvera/hyrax/ )
18 stars 1 forks source link

Content Warnings on Collection and Work Showpages #3078

Open KevinJonesMeta opened 5 months ago

KevinJonesMeta commented 5 months ago

Descriptive summary

Oregon Digital needs content warnings on potentially harmful content to inform users before they view works or collections.

Expected behavior

-Tab with Content Warning fields is available in form for Collections and Works (see wireframes) -Content Warning metadata can be ingested through bulkrax on Collections and Works -Default content warning text on warning banner is selectable in absence of content warning field text value

-Thumbnails on identified works are blurred in search results list. -Content in universal viewer is not visible to user until they click 'I agree' button on warning banner covering UV on workshow page for relevant works and collections (see wireframes) -Content Warning text displays in warning banner above 'I Agree' button on workshow pages (see wireframes)

Related work

Link to Content Warnings Wireframes

3094

3095

3096

3097

3098

3099

Accessibility Concerns

Content warning text will need to be recognizable for screen readers

KevinJonesMeta commented 5 months ago

Metadeities found/created and added predicates to MAP. Can meet with Features if/when needed to address any questions.

KevinJonesMeta commented 3 months ago

@straleyb two questions: In the form, can the warning text radio button start in the default text position? It would reduce the number of conscious decisions users need to make in the form to setup image blur on the showpage and avoid accidental blank warnings with just the button.

2nd question: when doing bulk ingest is there a value that will trigger the default text or do we need to populate the value with the entire default text?

straleyb commented 3 months ago

I can look into the first one for this.

For the second question: The Bulk ingest would be two values. For the mask_content: "Item Show Page" and "Search Results Page" are the values you would need to use. content_alert can be populated with text, so I would assume using the default text provided to me would be the text you would use on ingest.

KevinJonesMeta commented 3 months ago

QA Pass.

@straleyb Great. If it can be done that would be helpful on our end. Do you want me to leave the ticket open?

KevinJonesMeta commented 3 months ago

Added mask_content values to MAP example values column.

straleyb commented 3 months ago

@KevinJonesMeta We got the first one fixed so now it should start in the default position.