Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Longdesc file & link is lost in cnxml --> html transform #172

@brittweinstein

Description

@brittweinstein

Scenario

Description
This collection - https://cnx.org/contents/pkNZr_pp - includes a longdesc description for all three images. Per Phil S., the longdesc is lost in the cnxml --> html transformation. We need this to be preserved in the transformation. It must be accessible by screenreaders.

Steps to Reproduce

  • Product: [ ] Tutor [ ] Concept Coach [ ] OS Web [ ] Content Production Toolkit [x] CNX

  • How many times were you able to reproduce the issue? Phil S. produced the issue in the content linked above.

  • Images or Screenshots Included: [ ] Yes [x] No (attach below)

Environment:

  • Instance: [x] production [ ] qa [ ] staging [ ] dev [ ] content
  • OS: [x] Mac OSX [ ] Windows [ ] iOS [ ] Android
  • Browser: [x] Chrome [ ] Firefox [ ] Safari [ ] Opera [ ] IE [ ] Edge

Impact

  • Severity: [ ] High [x] Medium [ ] Low
  • Frequency of Occurrence: [x] High [ ] Medium [ ] Low

Phil's comment:
The gist is that we need to:

pass the longdesc="filename.txt" attribute from cnxml into XHTML
treat the longdesc attribute the same way we treat elements and translate it throughout the epub process

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions