Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: ReadSpeaker webreader on articles #4132

Merged
merged 20 commits into from
Jun 10, 2021
Merged

feat: ReadSpeaker webreader on articles #4132

merged 20 commits into from
Jun 10, 2021

Conversation

kksteini
Copy link
Member

@kksteini kksteini commented Jun 9, 2021

What

ReadSpeaker integration on articles, allowing for articles to be read in a natural sounding voice in both english and icelandic.

Why

Accessibility for those who are visually impaired.

Screenshots / Gifs

Note: the video shows island.is as not secure because I spoofed the domain for testing since the webreader is URL locked

vefthula_2.mp4

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Formatting passes locally with my changes
  • I have rebased against main before asking for a review

@cypress
Copy link

cypress bot commented Jun 9, 2021



Test summary

7 0 0 0


Run details

Project island.is
Status Passed
Commit cacb3bb ℹ️
Started Jun 10, 2021 9:16 AM
Ended Jun 10, 2021 9:31 AM
Duration 15:24 💡
OS Linux Ubuntu - 20.04
Browser Electron 87

View run in Cypress Dashboard ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@kksteini kksteini marked this pull request as ready for review June 10, 2021 09:01
@kksteini kksteini requested review from a team as code owners June 10, 2021 09:01
const { activeLocale } = useI18n()

useEffect(() => {
const routeChangestart = (url) => {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do this on routeChanges since the Reader doesn't handle dynamic page changes well, in fact, it breaks otherwise

@kksteini kksteini added the automerge Merge this PR as soon as all checks pass label Jun 10, 2021
@kodiakhq kodiakhq bot merged commit ec4d9ee into main Jun 10, 2021
@kodiakhq kodiakhq bot deleted the feature/webreader branch June 10, 2021 13:01
addi added a commit that referenced this pull request Jun 10, 2021
* main:
  Allow pull requests to be prioritized
  feat: ReadSpeaker webreader on articles (#4132)
  fix(api-domains-endorsement-system): Open endorsement list not working (#4156)
  Revert "fix(tests): Run tests as current user (#4152)"
  feat(party-letter): Bulk upload  (#4098)
  fix(tests): Run tests as current user (#4152)
  feat(party-application): Bulk upload in party application (#4092)
  feat(judicial-system): InvestigationRequest Prosecutors (#4023)
  feat(parental-leave): Implement rights code util (#4103)
  fix: add correct License type (#4145)
  chore(core): Update dockerfile node versions from 14.16 to 14.17 (#4147)
  chore(gjafakort): Update heading text for "Ferðagjöfin þín" (#4141)
  chore: Remove package-lock.json (#4142)
  feat(judicial-system): Change placeholder text is appeal date pickers on SignedVerdictOverview page (#4139)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this PR as soon as all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants