NCIOCPL / cgov-digital-platform

The Cancer.gov Digital Communications Platform
GNU General Public License v2.0
11 stars 33 forks source link

Story: Add Audio-Described Files to Video Content Type and Legacy Embedded Video Type #4484

Open andyvanavery31 opened 2 weeks ago

andyvanavery31 commented 2 weeks ago

As a visually-impaired visitor to the site, I need to be able to access an audio-described version of videos put on pages through the Legacy Embedded WYSIWYG so that I can experience the content of the video equivalently to a sighted user.

Specifications

General

Drupal Specifications

Front-End Specifications

Analytics

DoR Tasks

DoD Tasks

Technical Notes

Content Model

Scenarios/Comps

Acceptance Criteria

CMS Experience - Adding AD Link to Video Media Type

Scenario: A content editor adds or edits a video media type on Drupal to add an audio-described link
  Given the user is logged into the CMS as an editor
    And the user is adding or editing a video media type
  When the user is adding or editing a video media type
  Then the user will see the fields for the video media type
    And the "Audio-Described Video Link" field will be added after the Caption field
    And the Audio-Described Video Link field will be optional
    And it will be a text entry field
    And it will have the tooltip text: "Used to provide a link to the audio-described file. Enter the full URL starting with https://"
    And all other fields will remain unchanged

CMS Experience - Adding an Embedded Video to a Page Using the WYSIWYG

Scenario: A content editor adds an embedded video to a page using the WYSIWYG
  Given the user is logged into the CMS as an editor
    And the user is adding an embedded video to a page using the WYSIWYG
  When the user is adding an embedded video to a page using the WYSIWYG
  Then the experience does not change whether the video has an audio-described link or not

Front-End Experience

Scenario: A user views a video with and audio-described link on an applicable page on the platform
  Given the audio-described link has been added to the video media type
    And the video with an audio-described link has been added to an applicable page on the platform
    And the applicable pages for Legacy Embedded WYSIWYG are, Application Page, Article Page, Biography, Blog Post, Cancer Center, Cancer Research List Page, Event, and Press Release
  When the video is embedded at any size
    And it has or does not have a title
    And it has a caption
  Then the audio-described link will appear below the caption with the text, "**Audio-Description:** Watch the audio-described version of this video."
    And it will match the comp
  When the video is embedded at any size
    And it has or does not have a title
    And it does not have a caption
  Then the audio-described link will appear below the video with the text, "**Audio-Description:** Watch the audio-described version of this video."
  When the user clicks on the link for the audio-described link
  Then they will be redirected to the external link for the audio-described video

Related Tickets