app icon indicating copy to clipboard operation
app copied to clipboard

Privacy Policy and Terms should be HTML (not PDF)

Open epicfaace opened this issue 6 years ago • 20 comments

Right now, clicking on "Privacy Policy" or "Terms" leads you to have to download a PDF and open it in a PDF reader. It would be a lot smoother if the user could just view these links in a HTML page, or maybe a modal within the app itself.

epicfaace avatar Apr 01 '20 20:04 epicfaace

I can help with this, if you're open to new collaborators again. :)

purpledrosophila avatar Apr 01 '20 23:04 purpledrosophila

to keep the package size down we can just link to the Google Docs PDF Viewer like so: https://docs.google.com/viewer?url=[URL] e.g. https://docs.google.com/viewer?url=https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/876905/300320_Revised_Guidance.pdf

kassim avatar Apr 02 '20 17:04 kassim

Are the PDFs accessible for people with disabilities? If not, having them in PDF form could be problematic, and people with disabilities are being hit hard by the pandemic already.

On Thu, Apr 2, 2020 at 1:30 PM kassim [email protected] wrote:

to keep the package size down we can just link to the Google Docs PDF Viewer like so:

https://docs.google.com/viewer?url=https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/876905/300320_Revised_Guidance.pdf

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/WorldHealthOrganization/app/issues/812#issuecomment-607986147, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANENNI777AGN5NPBBO2RWODRKTDSNANCNFSM4LZQ572Q .

purpledrosophila avatar Apr 02 '20 19:04 purpledrosophila

Looks like there are quite a few accessibility considerations for PDFs, according to Adobe: https://www.adobe.com/accessibility/pdf/pdf-accessibility-overview.html

A quick sanity check of the accessibility of the privacy.pdf:

  • Acrobat Pro DC found 18 issues: image
  • PAVE (free web-based tool I found) reports 103 issues…

I expect similar results for terms.pdf

Based on this quick look, and again assuming each issue would be compounded by hosting multiple PDFs for each supported language, I would recommend moving this content to HTML for accessibility (and hopefully easier longer-term maintenance).

avkvirtru avatar Apr 03 '20 18:04 avkvirtru

I agree! Let me know when I can help. 🙂👍

On Fri, Apr 3, 2020, 14:46 Arthur Klepchukov [email protected] wrote:

Looks like there are quite a few accessibility considerations for PDFs, according to Adobe: https://www.adobe.com/accessibility/pdf/pdf-accessibility-overview.html

A quick sanity check of the accessibility of the [privacy.pdf]:(server/appengine/src/main/webapp/privacy.pdf)

I expect similar results for terms.pdf https://github.com/WorldHealthOrganization/app/blob/master/server/appengine/src/main/webapp/terms.pdf

Based on this quick look, and again assuming each issue would be compounded by hosting multiple PDFs for each supported language, I would recommend moving this content to HTML for accessibility (and hopefully easier longer-term maintenance).

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/WorldHealthOrganization/app/issues/812#issuecomment-608601024, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANENNIZT32MT7J5UKP6RU2LRKYVGXANCNFSM4LZQ572Q .

purpledrosophila avatar Apr 03 '20 21:04 purpledrosophila

Yes -- @purpledrosophila if you are able to modify the webserver to serve HTML files with the terms / privacy content instead of PDFs, that would be great.

epicfaace avatar Apr 04 '20 01:04 epicfaace

Count me in! I will see what I can do. Should I modify any of the content, or just change the format for now? I think, with my technical writing experience, I could at least do an edit for clarity if needed.

On Fri, Apr 3, 2020, 21:52 Ashwin Ramaswami [email protected] wrote:

Assigned #812 https://github.com/WorldHealthOrganization/app/issues/812 to @purpledrosophila https://github.com/purpledrosophila.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/WorldHealthOrganization/app/issues/812#event-3198528728, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANENNI5KXSP557ZLGB26CKDRK2HEHANCNFSM4LZQ572Q .

purpledrosophila avatar Apr 04 '20 02:04 purpledrosophila

Thanks! Please just change the format for now.

We can deal with the content in a separate PR; that may require input from legal as well.

epicfaace avatar Apr 04 '20 14:04 epicfaace

OK. One last question then -- where are the PDFs? I can't find them in the repository.

On Sat, Apr 4, 2020 at 10:01 AM Ashwin Ramaswami [email protected] wrote:

Thanks! Please just change the format for now.

We can deal with the content in a separate PR; that may require input from legal as well.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/WorldHealthOrganization/app/issues/812#issuecomment-609032922, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANENNI26F6XGGPYL6K3R7MDRK44RZANCNFSM4LZQ572Q .

purpledrosophila avatar Apr 04 '20 16:04 purpledrosophila

Here they are:

  • https://whocoronavirus.org/terms
  • https://whocoronavirus.org/privacy

If you could convert them to Markdown and add them to the docs directory (so that they are published to GitHub Pages), that would be great.

epicfaace avatar Apr 04 '20 18:04 epicfaace

To my understanding, converting through Markdown won't ensure that the resulting pages are accessible. I'll start working on this, but is there a way I can preview the pages after conversion, then maybe make further accessibility edits? Hope this isn't a dumb question; I haven't used GitHub Pages before.

On Sat, Apr 4, 2020 at 2:46 PM Ashwin Ramaswami [email protected] wrote:

Here they are:

  • https://whocoronavirus.org/terms
  • https://whocoronavirus.org/privacy

If you could convert them to Markdown and add them to the docs directory (so that they are published to GitHub Pages), that would be great.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/WorldHealthOrganization/app/issues/812#issuecomment-609072361, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANENNI5DG5BIND575KSXTATRK556XANCNFSM4LZQ572Q .

purpledrosophila avatar Apr 04 '20 18:04 purpledrosophila

Committed an initial pull request, let me know what I can do next. :)

On Sat, Apr 4, 2020 at 2:53 PM Jessica Reuter Castrogiovanni < [email protected]> wrote:

To my understanding, converting through Markdown won't ensure that the resulting pages are accessible. I'll start working on this, but is there a way I can preview the pages after conversion, then maybe make further accessibility edits? Hope this isn't a dumb question; I haven't used GitHub Pages before.

On Sat, Apr 4, 2020 at 2:46 PM Ashwin Ramaswami [email protected] wrote:

Here they are:

  • https://whocoronavirus.org/terms
  • https://whocoronavirus.org/privacy

If you could convert them to Markdown and add them to the docs directory (so that they are published to GitHub Pages), that would be great.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/WorldHealthOrganization/app/issues/812#issuecomment-609072361, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANENNI5DG5BIND575KSXTATRK556XANCNFSM4LZQ572Q .

purpledrosophila avatar Apr 04 '20 19:04 purpledrosophila

I'm taking a quick look at #868 from an a11y perspective…

avkvirtru avatar Apr 06 '20 16:04 avkvirtru

@epicfaace @avkvirtru @kassim @hspinks Hi all, still waiting for confirmation on exactly which files need to be converted into HTML and what those files need to look like, in terms of if I need to use a template or create a new one.

purpledrosophila avatar Apr 08 '20 22:04 purpledrosophila

@purpledrosophila It would be great if you could move ahead on this in the best way you can. It's incredibly helpful just to make progress and then we'll adapt if we need something different. A clean, simple design that shows all the text, links and section should be sufficient. The two pages that need conversion are the Privacy Policy and Terms of Service.

https://github.com/WorldHealthOrganization/app/blob/master/docs/legal/PRIVACY.md https://github.com/WorldHealthOrganization/app/blob/master/docs/legal/TERMS.md

The documents should be kept as markdown but be used to automatically generate the html versions. These will replace the PDFs that are currently available here:

https://whocoronavirus.org/privacy https://whocoronavirus.org/terms

brunobowden avatar May 05 '20 05:05 brunobowden

@purpledrosophila - thanks for your previous work on #868

brunobowden avatar May 05 '20 05:05 brunobowden

This is all done and merged. Is there something else that needs to be done at the moment?

On Tue, May 5, 2020, 01:32 Bruno Bowden [email protected] wrote:

@purpledrosophila https://github.com/purpledrosophila - thanks for your previous work on #868 https://github.com/WorldHealthOrganization/app/pull/868

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/WorldHealthOrganization/app/issues/812#issuecomment-623863994, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANENNIZXDDKT62HIP3PUIWTRP6QHBANCNFSM4LZQ572Q .

purpledrosophila avatar May 05 '20 13:05 purpledrosophila

I think we would want:

  • https://whocoronavirus.org/privacy to redirect to https://worldhealthorganization.github.io/app/legal/PRIVACY.html
  • https://whocoronavirus.org/terms to redirect to https://worldhealthorganization.github.io/app/legal/TERMS.html

epicfaace avatar May 13 '20 22:05 epicfaace

I'm confused, didn't I do this by converting to Markdown for conversion with an HTML utility in #868?

On Wed, May 13, 2020, 18:23 Ashwin Ramaswami [email protected] wrote:

I think we would want people to be shown the HTML content instead of being linked to a PDF page when clicking on "Terms of Service" and "Privacy Policy" on the onboarding screen -- right @advayDev1 https://github.com/advayDev1 ?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/WorldHealthOrganization/app/issues/812#issuecomment-628276876, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANENNIZ5UYM74FABZHPZO6DRRMMXZANCNFSM4LZQ572Q .

purpledrosophila avatar May 13 '20 22:05 purpledrosophila

@purpledrosophila When a user clicks on "Terms of Service" in the app, it goes to https://whocoronavirus.org/terms (still the PDF version) rather than the HTML version. I've made a new issue to track the remaining work needed for this, though (#1313).

epicfaace avatar May 13 '20 22:05 epicfaace