Skip to content

Backport accessibility improvements#6322

Closed
microstudi wants to merge 465 commits intorelease/0.22-stablefrom
feat/accessibility-improvements
Closed

Backport accessibility improvements#6322
microstudi wants to merge 465 commits intorelease/0.22-stablefrom
feat/accessibility-improvements

Conversation

@microstudi
Copy link
Copy Markdown
Contributor

🎩 What? Why?

Backport #5263 to the 0.22 release. Due the amount of files changed it will require custom modifications.

📌 Related Issues

  • Related to #?
  • Fixes #?

📋 Subtasks

  • Add CHANGELOG upgrade notes, if required
  • If there's a new public field, add it to GraphQL API
  • Add documentation regarding the feature
  • Add/modify seeds
  • Add tests
  • Another subtask

📷 Screenshots (optional)

Description

ahukkanen added 30 commits May 18, 2020 00:35
When the saving of a proposal fails, it wasn't showing the
correct title on the page.

Original commit: 3fb67d2
After the changes described at [TAC019], the participatory space
title was written twice for the screen readers.
Fix typo in the previous re-commit.

Original commit: 1dd9438
Fix a typo in the original re-commit.

Original commit: 2da7fe9
Revert the locale files back to commit:
204758a

This is needed for Decidim core pull requests.
The border was spanning too wide because of the before element on
the link also on desktop widths.
This change makes the form fields better distinguished from each
other when they have the help text after them.
decidim-bot and others added 27 commits July 10, 2020 13:36
* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)
* Opening commit 🚧

* Make comments length configurable

* Add missing translation

* Normalize locales
* Add migration to fix fields

* Improve code
* Move meeting services to their own model

* Split in two migrations

* Fix seeds and factories

* Fix specs

* Simplify code

* Fix specs
# Conflicts:
#	decidim-comments/app/assets/javascripts/decidim/comments/bundle.js
#	decidim-comments/app/frontend/comments/comment.component.tsx
* Add a migration to migrate data from legacy surveys' tables

* Do not run the migration if Rails env is test

* Do not run the migration in the CI either

* Explain implementors how to migrate the data

* Add decidim_surveys_tasks.rake again

* Rubocopify
* Migrate comments body to an i18n JSONB column

* Handle i18n body

* Fix rubocop lints

* Fix specs

* Properly translate body
* [FIX] consultation queries don't result in exception

* [FIX] added tests

* [FIX] updated changelog

* [FIX] refactored conditional style

* [FIX] consultation followers not being captured correctly

* Fixed changelog

* Added component_ids as an alias for question_ids

* Run rubocop

* Fix changelog

* Remove ajax methods and component factories

* Refactor conditional structure and flatten result

* CChange map in order to not modify original object

* Add questition to consultation in order to improve coverage

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-authored-by: Ivan Vergés <ivan@platoniq.net>
Co-authored-by: Gemma <gemmatm@coditramuntana.com>
This avoids querying the cache to check the `#managed_user` every time
`#current_user` is called.

This reduces the count of these cache checks in the default homepage
from 229 to 195 in development, which results in a ~100ms shorter
response time.
* Add --profiling flag to configure to dev app

This configures bullet and rack-mini-profiler for development apps to
perform all sorts of profiling: analyze memory, database, and call stack
with flamegraphs.

More details:
* https://github.com/flyerhzm/bullet,
* https://github.com/MiniProfiler/rack-mini-profiler.

* Replace gem list with decidim's gem name pattern

Bullet treats `stacktrace_includes` as a pattern to match against
backtrace lines so there's no need to specify all gems. This works
already.
* New translations en.yml (German)

* New translations en.yml (Czech)

* New translations en.yml (Basque)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (French)

* New translations en.yml (Romanian)

* New translations en.yml (Catalan)

* New translations en.yml (Spanish)

* New translations en.yml (Arabic)

* New translations en.yml (Portuguese, Brazilian)

* New translations en.yml (Turkish)

* New translations en.yml (Galician)

* New translations en.yml (Indonesian)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (French, Canada)

* New translations en.yml (Spanish, Mexico)

* New translations en.yml (Italian)

* New translations en.yml (Dutch)

* New translations en.yml (Finnish)

* New translations en.yml (Hungarian)

* New translations en.yml (Slovak)

* New translations en.yml (Swedish)

* New translations en.yml (Swedish)

* New translations en.yml (Norwegian)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Polish)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Russian with many plural form)

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Finnish (plain))

* New translations en.yml (Ukrainian with many plural form)

* New translations en.yml (Spanish, Paraguay)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Czech)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Bulgarian)

* New translations en.yml (Portuguese)

* Rebuild JS bundle

* Rebuild JS bundle

Co-authored-by: Ramon Costa <ramon.costa@gmail.com>
* create sanity validator

* add sanitize validator to initiative form

* sanitize first char for proposal create form

* light update sanitize validator
* New translations en.yml (Spanish)

* New translations en.yml (Finnish)

* New translations en.yml (Portuguese)

* New translations en.yml (Portuguese)

* New translations en.yml (Dutch)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Spanish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Finnish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Spanish)

* New translations en.yml (Portuguese)
# Conflicts:
#	decidim-comments/app/assets/javascripts/decidim/comments/bundle.js
@microstudi microstudi changed the title Feat/accessibility improvements Backport accessibility improvements Jul 20, 2020
@microstudi microstudi closed this Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.